The quickest way to find your IP address
On Windows, open the Command Prompt and type ipconfig, then press Enter. Look for the line labeled "IPv4 Address" — that is your local IP address. On Mac, open System Preferences, click Network, select your connection, and your IP address appears in the window. Both methods take about 30 seconds.
You will see two different IP addresses: your local IP address (the one your router assigns to your computer, usually starting with 192.168 or 10.0) and your public IP address (the one your internet provider assigns, which the outside world sees). Most of the time you need the local one. If you need your public IP, visit a site like whatismyipaddress.com in any browser.
Key Takeaways
- Windows users can find their local IP address by opening Command Prompt, typing ipconfig, and looking for the IPv4 Address line.
- Mac users can find their local IP address in System Preferences under Network, which shows it immediately in the connection details.
- Your local IP address (192.168.x.x or 10.0.x.x) is different from your public IP address, which you can see on any IP-checking website.
- You need your local IP address for connecting to printers, routers, and other devices on your home network.
Finding your IP address on Windows
The Command Prompt method is the most direct. Click the Windows Start button, type cmd, and press Enter. A black window opens. Type ipconfig and press Enter. The output shows several lines of information. Find the section for your active connection (usually labeled "Ethernet adapter" or "Wireless LAN adapter") and look for "IPv4 Address" — the number next to it is your local IP address.
If you prefer not to use Command Prompt, you can also find it through Settings. Open Settings, go to Network & Internet, select your connection type (Wi-Fi or Ethernet), and scroll down to "IP address." This method shows the same information in a graphical window instead of text.
Finding your IP address on Mac
Open System Preferences (or System Settings on newer macOS versions). Click the Network icon. On the left side, select the connection you are currently using — either Wi-Fi or Ethernet. Your IP address appears in the main panel labeled "IPv4 Address." Write it down if you need it for later.
If you use multiple networks, check which one you are connected to before looking up the address. Each network connection gets its own local IP address, so the number changes depending on which Wi-Fi network or Ethernet cable you are using.
What your local IP address is used for
Your local IP address is how devices on your home network find each other. When you print a document, your computer sends it to your printer using the printer's local IP address. When you connect to your router to change the Wi-Fi password, you use the router's local IP address (usually 192.168.1.1 or 192.168.0.1). If you set up a network drive or stream video between computers at home, you need local IP addresses.
Local IP addresses never leave your home network. They are not visible to websites you visit or to your internet provider. Only your public IP address is visible outside your network.
Understanding the difference between local and public IP addresses
Your local IP address is assigned by your router to your specific computer. It only works inside your home network. Every device connected to your router gets its own local IP address. These addresses follow patterns like 192.168.1.100 or 10.0.0.50. They are private and never routed across the internet.
Your public IP address is assigned by your internet service provider. It is the address the outside world sees when you visit a website or send an email. Websites log your public IP address, not your local one. To find your public IP address, visit whatismyipaddress.com, iplocation.net, or any similar site in your browser. The page displays your public IP within seconds. Your public IP can change if you restart your modem or if your provider reassigns it.
Why you might need to know your IP address
You need your local IP address when you are setting up a device on your home network. If you buy a network printer, you may need to enter your computer's local IP address during setup. If you want to access your computer remotely from another device on the same network, you need the local IP address. Some games and applications that run across multiple computers also require local IP addresses.
You might need your public IP address if you are troubleshooting internet problems with your provider, setting up remote access to your home network, or checking whether your location is being blocked by a website. Some services also log your public IP for security reasons, so you may need it if you are investigating unusual account activity.
Frequently Asked Questions
Does my IP address change?
Your local IP address usually stays the same as long as you stay connected to the same network, though it can change if you restart your router or if your router is set to reassign addresses. Your public IP address can change when you restart your modem, and it changes automatically over time depending on your internet provider's policies.
Is my IP address the same on Wi-Fi and Ethernet?
No. If you connect to the same router using both Wi-Fi and Ethernet, your router assigns a different local IP address to each connection. Your public IP address stays the same because it comes from your internet provider, not from which cable or wireless connection you use.
Can I change my IP address?
You can change your local IP address by restarting your router or by manually configuring your network settings, though most people never need to. Your public IP address changes automatically over time, but you cannot directly control it — it is assigned by your internet provider.
What if I see multiple IP addresses when I run ipconfig?
You see multiple addresses because you may have multiple network connections active at once — for example, both Wi-Fi and Ethernet, or a virtual network adapter. Look for the connection you are actually using. The one labeled "Wireless LAN adapter" is your Wi-Fi address; "Ethernet adapter" is your wired connection.