Your IP address is a number assigned to your device by your internet provider, and it lives in two places: one visible to the internet, one only on your home network

When you connect to the internet, your internet service provider gives your modem a public IP address — a number like 203.0.113.45 that identifies your entire household to websites and services you visit. That same modem also creates a private IP address for each device on your home network — your laptop, phone, printer, security camera — so those devices can talk to each other without going through the internet. A device might have a private address like 192.168.1.5 while your public address is something completely different.

The confusion happens because "your IP address" actually means two different things depending on who is asking. A website sees only your public IP. Your router sees only your private IPs. Understanding which is which matters when you are troubleshooting a network problem, setting up port forwarding, or checking what the outside world can see about your location.

Key Takeaways

  • Your public IP address is assigned by your internet provider to your modem and is visible to every website you visit.
  • Your private IP address is assigned by your router to each device and is only visible within your home network.
  • You can find your public IP by searching "what is my IP" in any browser, and your private IP in your device's network settings.
  • Your public IP can change when you restart your modem, but your private IP usually stays the same unless you manually change it.

Finding your public IP address

The easiest way to see your public IP is to open any web browser and search for "what is my IP" or "my IP address". Within seconds, a website will display the number your internet provider assigned to your modem. This is the address that websites, email services, and streaming platforms see when you connect to them. It is also the address that could reveal your approximate location to someone who looks it up.

You can also find your public IP by logging into your modem's admin page. Open a browser, type 192.168.1.1 or 192.168.0.1 into the address bar, and log in with the username and password printed on your modem (usually "admin" and "admin" or "admin" and the modem's serial number). Once inside, look for a section called "WAN Status" or "Internet" — it will show the public IP your provider assigned. This method is slower than a web search but confirms what your modem actually sees.

Finding your private IP address on Windows

On a Windows computer, the fastest way is to open the Command Prompt and type a single command. Click the Start button, type "cmd" into the search box, and press Enter. In the black window that opens, type ipconfig and press Enter. Look for the line that says "IPv4 Address" under your network adapter — that number (usually starting with 192.168 or 10.0) is your private IP on your home network.

If you prefer not to use Command Prompt, you can find it in Settings instead. Open Settings, go to Network & Internet, then Status. Scroll down and click "View your network properties". You will see your IPv4 address listed there. Both methods show the same number — the command line is just faster if you need to check it repeatedly.

Finding your private IP address on Mac

On a Mac, open System Preferences (or System Settings on newer versions), then click Network. Select your active connection — usually "Wi-Fi" if you are wireless or "Ethernet" if you are plugged in — and your private IP address appears in the window under "Status". It will look something like 192.168.1.12. If you have multiple network connections, check each one to see which is currently active.

You can also find it faster through the terminal if you are comfortable with that. Open Terminal (search for it in Spotlight), type ifconfig | grep inet, and press Enter. Look for the line that starts with "inet" under your active connection — that is your private IP. The terminal method is quicker once you know the command, but the graphical method works just as well.

Finding your private IP address on phones and tablets

On an iPhone or iPad, go to Settings, tap Wi-Fi, and look for the network you are connected to. Tap the information icon (the small "i" in a circle) next to the network name. Your private IP address appears under "IP Address". This is the address your router assigned to that specific device.

On an Android phone, open Settings, go to Network & Internet or Connections, tap Wi-Fi, and select the network you are connected to. Your private IP address appears in the connection details, sometimes labeled "IP address" or "IPv4 address". The exact path varies slightly between Android versions and manufacturers, but the information is always in the Wi-Fi settings.

Why your IP address changes and when it matters

Your public IP address can change whenever you restart your modem, and your internet provider may change it periodically even without a restart. Most home internet plans use dynamic IP addresses

Your private IP addresses usually stay the same because your router assigns them based on the device's MAC address (a unique identifier built into the network hardware). However, if you restart your router or if a device has been offline for a long time, the router may assign it a different private IP. If you are setting up port forwarding or a security rule that depends on a specific private IP, you can lock a device to a permanent private address in your router's settings — this is called a static private IP or DHCP reservation.

What to do if you cannot find your IP address

If the command or settings path does not show an IP address, your device is not connected to the network. Check that Wi-Fi is turned on, that you are connected to the correct network name, and that the password is correct. Restart the device and try again. If you are using Ethernet, make sure the cable is plugged into both the device and the router.

If you see an address starting with 169.254, your device is connected to the network hardware but not receiving an address from the router. Restart both the device and the router, wait two minutes, and check again. If the problem persists, restart the modem as well — sometimes the modem needs to reset its connection to the internet provider before it can assign addresses to devices.

Frequently Asked Questions

Can someone find my home address from my IP address?

Not your exact address, but your approximate location — usually your city or neighborhood. Your internet provider knows your full address because they bill you, but websites and services see only what an IP lookup database shows, which is typically accurate to within a few miles. A VPN hides your public IP from websites, showing them a different address instead.

Why do I have so many IP addresses?

You have one public IP (shared by your whole household) and one private IP per device. If you have five devices on your network, your router assigns five different private IPs so each device can be identified within your home. The modem translates between them — devices talk to each other using private IPs, and the modem forwards their internet traffic using the public IP.

Is my private IP address secret?

Your private IP is only visible within your home network, so it is not a security risk in the way your public IP is. However, if someone gains access to your Wi-Fi, they can see all the private IPs on your network. This is one reason keeping your Wi-Fi password strong matters — it prevents strangers from connecting and seeing your device list.

What if my router keeps assigning the same private IP to the wrong device?

This usually happens when two devices have the same name or when the router's memory is full. Restart the router, wait two minutes, and reconnect devices one at a time. If a device keeps getting the wrong address, you can set a static private IP in your router's settings by finding the device's MAC address and telling the router to always assign it a specific private IP.