Finding your IP address in Windows

The quickest way on Windows is to open Command Prompt and type one command. Press the Windows key, type cmd, and press Enter. A black window opens. Type ipconfig and press Enter.

Look for the line that says "IPv4 Address" — that is your local IP address, the one your device uses on your home network. It usually starts with 192.168 or 10.0. If you see multiple IPv4 addresses listed (one for each network connection), the one under "Ethernet" is your wired connection, and the one under "Wireless LAN" or "Wi-Fi" is your wireless connection.

If you want to see your public IP address — the one the internet sees when you browse — do not use ipconfig. Instead, open any web browser, go to a site like whatismyipaddress.com or icanhazip.com, and it displays immediately. These sites show what your internet service provider assigned to your home network.

Finding your IP address on Mac

On Mac, open System Preferences (or System Settings on newer versions), click Network, and select your connection — either Wi-Fi or Ethernet depending on how you are connected. Your local IP address appears in the window under "Status" or "IP Address." It usually starts with 192.168.

To find your public IP address on Mac, use the same method as Windows: open a web browser and visit whatismyipaddress.com or icanhazip.com. Both work identically on any device.

Finding your IP address on iPhone or iPad

Open Settings, tap Wi-Fi, and find the network you are connected to. Tap the information icon (a small circle with an "i") next to the network name. Your local IP address appears under "IP Address." This is the address your phone uses on your home Wi-Fi network.

To see your public IP address on iPhone or iPad, open Safari or any browser app and visit whatismyipaddress.com. The page shows your public address immediately.

Finding your IP address on Android

Open Settings, tap Wi-Fi, and hold down on the network name you are connected to. A menu appears with network details. Tap "Manage" or "Advanced" (the exact wording varies by phone). Your local IP address appears under "IP Address" or "IPv4 Address."

For your public IP address, open Chrome or any browser and go to whatismyipaddress.com. The page displays it right away.

Key Takeaways

  • Your local IP address (usually starting with 192.168) is what your device uses on your home network, and you find it in network settings or Command Prompt on Windows.
  • Your public IP address is what websites see when you browse, and you find it by visiting a site like whatismyipaddress.com in any browser.
  • On Windows, type ipconfig in Command Prompt to see your local address; on Mac, go to System Preferences and click Network.
  • On phones and tablets, open Wi-Fi settings, tap your network name, and look for "IP Address" in the details that appear.

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 — a printer, security camera, or router settings page. You type the address into a web browser to reach that device's control panel. Knowing your local address also helps when troubleshooting network problems or when a technician asks for it over the phone.

Your public IP address matters less often, but you may need it if you are setting up remote access to your computer, troubleshooting why a website is blocking you, or checking whether your internet service provider has changed your address. Some people also check their public IP to confirm they are connected through a VPN, since a VPN changes what address websites see.

The difference between local and public IP addresses

Your local IP address is private — it only works inside your home network. Your router assigns it to your device, and other devices on your Wi-Fi use it to find you. If you move to a different network, your device gets a different local address. These addresses always fall into a few ranges: 192.168.x.x, 10.x.x.x, or 172.16.x.x.

Your public IP address is assigned by your internet service provider and is visible to every website you visit. It is the same for all devices in your home because they all go through the same router to reach the internet. When you move to a different location or restart your modem, your public IP may change — some providers assign permanent addresses, while others change them regularly.

Frequently Asked Questions

Why do I see multiple IP addresses when I run ipconfig?

You see one for each network connection your computer has. Most devices have at least two: one for Wi-Fi and one for Ethernet (wired). You only use the one for the connection you are actually using right now. If you are on Wi-Fi, ignore the Ethernet address.

Is my IP address the same as my MAC address?

No. Your MAC address is a hardware identifier that only works on your local network. Your IP address is what devices use to find you on the internet. They serve different purposes and look completely different — MAC addresses are formatted like 00:1A:2B:3C:4D:5E, while IP addresses are formatted like 192.168.1.100.

Can someone find my home address from my IP address?

Not your street address. Your public IP shows your general location (usually your city or region), but not your home. Your internet service provider knows which customer owns each IP address, but they do not share that information publicly. Websites can see your public IP, but they cannot use it to find your physical location.

Does my IP address change?

Your local IP address usually stays the same as long as you stay on the same network, though it can change if you restart your router or if your router reassigns addresses. Your public IP address may change when you restart your modem, or it may stay the same for months — it depends on your internet service provider's settings.