Your computer has two IP addresses you might need to find
Your computer has a local IP address (used only on your home or office network) and a public IP address (how the internet sees you). Most of the time when you need to find an IP address, you want the local one — it's what you use to connect to your printer, security camera, or router settings. Your public IP is what websites see when you visit them, and it changes periodically unless you pay for a static one.
The steps to find each one are different, and which one you need depends on what you're trying to do. If you're setting up a device on your home network, you need the local address. If you're troubleshooting why a website sees you from the wrong location, you need the public one.
Key Takeaways
- Your local IP address is a number like 192.168.1.5 and only works on your home or office network; your public IP is what the internet sees and changes periodically.
- On Windows, open Command Prompt and type ipconfig to see your local IP address instantly.
- On Mac, go to System Settings > Network and look for the IP address listed under your active connection.
- To find your public IP address, visit a site like whatismyipaddress.com or type "what is my IP" into a search engine.
- Your local IP address usually starts with 192.168 or 10.0; if it starts with something else, check your router settings to understand your network.
Finding your local IP address on Windows
Open Command Prompt by pressing the Windows key, typing cmd, and pressing Enter. Type ipconfig and press Enter. You'll see a list of network adapters. Look for the one labeled "Ethernet" (if you're plugged in with a cable) or "Wireless LAN adapter Wi-Fi" (if you're on wireless). Next to "IPv4 Address" you'll see a number like 192.168.1.105 — that's your local IP address.
If you see multiple adapters listed, ignore the ones labeled "Bluetooth" or "Virtual." The one you want is the adapter you're actually using to connect to your network right now. If you're unsure which one, look for the adapter that has a number next to "Default Gateway" — that's the one connected to your router.
Finding your local IP address on Mac
Click the Apple menu in the top-left corner and select System Settings. Click Network in the left sidebar. You'll see your active connection (either "Wi-Fi" or "Ethernet") highlighted. Click it, then look for "IP Address" in the details panel on the right. The number shown there — usually something like 192.168.1.42 — is your local IP address.
If you don't see an IP address listed, your connection may not be active. Check that Wi-Fi is turned on or that your Ethernet cable is plugged in, then try again.
Finding your public IP address
Your public IP address is what websites and online services see when you connect to them. The easiest way to find it is to open a web browser and visit whatismyipaddress.com or ipinfo.io. Both sites display your public IP address at the top of the page immediately — no sign-up or download needed.
You can also search "what is my IP" in Google, Bing, or any search engine, and the result will show your public IP address in a box at the top of the search results. This address changes periodically (usually every few days to weeks) unless your internet service provider has assigned you a static IP, which is rare for home internet.
Why you might need each address
Use your local IP address when you're setting up or connecting to devices on your own network. If you're installing a printer and need to enter its IP address, or you want to log into your router to change the Wi-Fi password, or you're troubleshooting why a security camera isn't showing up on your phone, you need the local address. You also need it if someone asks you to "ping" your computer or access it remotely from another device in your home.
Use your public IP address when you're troubleshooting issues with websites or online services. If a website is blocking you or showing content for the wrong country, knowing your public IP helps you understand why. It's also useful if you're setting up remote access to your computer from outside your home network, though that's a more advanced setup.
Understanding what the numbers mean
Local IP addresses almost always start with 192.168 or 10.0. The numbers after that identify your specific device on your network. If your address is 192.168.1.5, the "5" at the end is your computer's identifier on that network. Every device on your home network gets its own number in that range — your phone might be 192.168.1.10, your printer might be 192.168.1.20, and so on.
Public IP addresses can start with almost any number and look similar to local ones, but they're assigned by your internet service provider and routed across the internet. If your public IP doesn't start with 192.168 or 10.0, that's normal — it means you're looking at the right number.
What to do if you can't find your IP address
If ipconfig on Windows shows no IPv4 address, or if Mac's Network settings show no IP address, your device isn't connected to the network. Check that your Wi-Fi is turned on or your Ethernet cable is plugged in. Restart your computer and try again. If you're still seeing nothing, restart your router by unplugging it for 30 seconds, plugging it back in, and waiting two minutes for it to fully restart.
If you see an IP address that starts with 169.254, your device is connected to the network hardware but hasn't received an address from your router yet. This usually fixes itself within a minute or two, but if it persists, restart your router or contact your internet service provider.
Frequently Asked Questions
Is my IP address private information I should hide?
Your local IP address is only visible to devices on your own network, so there's no privacy concern there. Your public IP address is visible to every website you visit, but it only identifies your internet connection, not you personally — it's the same as the address your neighbor sees if they visit the same website. You don't need to hide it, though some people use a VPN for other privacy reasons.
Why does my IP address keep changing?
Your local IP address can change if your router restarts or if you reconnect to the network, though most routers try to give the same address to the same device each time. Your public IP address changes periodically because your internet service provider reassigns addresses to manage their network. If you need a permanent public IP, contact your internet service provider about a static IP option, though this usually costs extra.
Can I change my IP address?
You can change your local IP address by adjusting your router settings, but there's usually no reason to — the default setup works fine. You cannot directly change your public IP address, but you can request a new one from your internet service provider by unplugging your modem for several minutes, or by calling them to ask for a reassignment.
What's the difference between IPv4 and IPv6?
IPv4 addresses are the older format (like 192.168.1.5) and are still the most common. IPv6 is a newer format that uses longer addresses (like 2001:0db8:85a3::8a2e:0370:7334) to support more devices. Most home networks still use IPv4, but some newer ones support both. If you see both listed in your network settings, either one works for connecting to your devices.
Do I need to write down my IP address?
You don't need to memorize it, but writing it down can be helpful if you're setting up a new device or troubleshooting a connection problem. Your local IP address is easy to look up again whenever you need it, so there's no need to keep it stored somewhere.