What an IP address is and why you might need it

An IP address is a number that identifies your device on a network. It looks like four numbers separated by periods — for example, 192.168.1.5 — and every device connected to the internet or a local network has one. You might need to find yours to troubleshoot a connection problem, set up a printer or router, access a device remotely, or give technical support to someone helping you fix something.

There are two types. Your local IP address is what your device uses inside your home or office network. Your public IP address is what websites and services see when you connect to the internet — it's assigned by your internet provider. Most people need their local IP address to fix network problems, but sometimes you need the public one instead.

Key Takeaways

  • Your local IP address appears in your network settings on Windows, Mac, iPhone, or Android, and is usually a number starting with 192.168 or 10.
  • On Windows, open Settings > Network & Internet > WiFi, click your network name, and scroll to IPv4 address.
  • On Mac, open System Settings > WiFi, click Details, and look for the IP Address field.
  • Your public IP address shows on websites like whatismyipaddress.com or by searching "what is my IP" in any browser.
  • If you cannot find your IP address in settings, restart your device and reconnect to your network, then check again.

Finding your IP address on Windows

On Windows 10 or 11, the fastest way is through Settings. Click the Start button, type "Settings," and open it. Go to Network & Internet, then select WiFi if you are on wireless or Ethernet if you are plugged in with a cable. Click the name of your network (the one you are currently connected to), then scroll down. You will see "IPv4 address" — that is your local IP address.

If you prefer the command line, you can also open Command Prompt (search for "cmd" in the Start menu) and type ipconfig, then press Enter. Look for "IPv4 Address" in the results — it will be under the network adapter you are using.

Finding your IP address on Mac

On macOS, open System Settings (or System Preferences on older versions) and click WiFi in the sidebar. Click Details next to the network you are connected to. The IP Address field appears near the top of the window — that is your local address.

You can also use the terminal if you prefer. Open Terminal (search for it in Spotlight), type ifconfig, and press Enter. Look for "inet" followed by a number — that is your local IP address. You will see several results; look for the one under the network adapter you are using, usually labeled "en0" or "en1" for WiFi.

Finding your IP address on iPhone or iPad

Open Settings and tap WiFi. Find the network you are connected to and tap the information icon (a circle with an "i" inside it) next to the network name. Your IP address appears under the "IPv4 Address" field.

If you are using cellular data instead of WiFi, your IP address is your public one, and you cannot see it in Settings. Instead, open a web browser and search for "what is my IP" or visit a site like whatismyipaddress.com to see it.

Finding your IP address on Android

Open Settings and go to About Phone (or About Device on some phones). Scroll down and tap Status or Network. Your IP address appears under "IP Address." On some Android versions, you may need to go to Settings > System > About Phone > Status instead.

If this path does not work on your phone, try Settings > WiFi, tap and hold the network you are connected to, and select Modify Network. Your IP address may appear in the advanced options. If you still cannot find it, search for "what is my IP" in your browser to see your public address.

The difference between local and public IP addresses

Your local IP address is only visible to devices on your home or office network. It stays the same most of the time, though it can change if you restart your router or your device reconnects after being offline. You use it to access printers, cameras, or other devices on your network, or to give tech support someone who needs to reach your computer remotely over your local network.

Your public IP address is what the outside internet sees. Websites log it, your internet provider assigns it, and it can change if you restart your modem or move to a different location. You need it if someone outside your network needs to reach you, or if you are troubleshooting an internet connection problem with your provider. To find it, search "what is my IP" in any browser or visit whatismyipaddress.com.

What to do if you cannot find your IP address

If your device is not showing an IP address in settings, it is usually not connected to the network. Restart your device first — turn it off completely, wait 10 seconds, and turn it back on. Then reconnect to your WiFi network or plug in your ethernet cable and wait 30 seconds for the connection to establish.

If you still see no IP address after reconnecting, restart your router. Unplug it for 30 seconds, plug it back in, and wait two minutes for it to fully restart. Then check your device settings again. If the problem continues, your network adapter may need attention — contact your internet provider or the device manufacturer for next steps.

Frequently Asked Questions

Is my IP address the same as my MAC address?

No. Your MAC address is a different identifier that only works on your local network, while your IP address works both locally and on the internet. MAC addresses look like six pairs of letters and numbers (for example, 00:1A:2B:3C:4D:5E), while IP addresses are four numbers separated by periods.

Can someone find me using my public IP address?

Your public IP address shows your general location (usually your city or region), but not your exact home address. Websites and services can see it, but most cannot pinpoint you more precisely than that. Your local IP address is only visible to devices on your own network.

Why does my IP address keep changing?

Your local IP address usually stays the same, but can change if you restart your router or your device reconnects after being offline. Your public IP address changes when you restart your modem or your internet provider reassigns it, which can happen every few days or weeks depending on your provider.

Do I need to write down my IP address?

You only need to write it down if you are setting up a device (like a printer) or giving it to someone for remote support. For most everyday use, you can look it up again whenever you need it using the steps above.