What an IP address is and why you might need it

An IP address is a string of numbers that identifies your device on a network — like a mailing address for your computer or phone. Your device has two: a local IP address that only works inside your home or office network, and a public IP address that the wider internet sees. You might need to find either one to troubleshoot a connection problem, set up a printer on your home network, access a device remotely, or give technical support someone the information they need to help you.

The method you use depends on which address you need and what device you are using. Finding your local IP takes about 30 seconds on any device. Finding your public IP takes even less time — you can look it up on a website without opening any settings at all.

Key Takeaways

  • Your local IP address appears in your device settings or network preferences and is different from your public IP address, which the internet sees.
  • On Windows, open Settings > Network & Internet > Wi-Fi, select your network, and look for "IPv4 address" in the details.
  • On Mac, go to System Settings > Wi-Fi, click Details, and find the IP address listed under TCP/IP.
  • To find your public IP address, visit a website like whatismyipaddress.com or search "what is my IP" in any browser.
  • On phones and tablets, the local IP address is in Wi-Fi settings under network details, though the exact path varies by device.

Finding your local IP address on Windows

On Windows 10 or 11, open Settings and go to Network & Internet. Click Wi-Fi in the left sidebar, then select the network you are currently connected to. A panel will open showing network details. Scroll down to find IPv4 address — that is your local IP address. It will look something like 192.168.1.105.

If you are using a wired Ethernet connection instead of Wi-Fi, go to Settings > Network & Internet > Ethernet instead, select your connection, and the IPv4 address will appear in the same place.

An older method that still works on any Windows version is to open Command Prompt and type ipconfig, then press Enter. Your local IP address appears next to "IPv4 Address" in the output. This method is faster if you use it often.

Finding your local IP address on Mac

On Mac, click the Apple menu and open System Settings. Go to Wi-Fi in the sidebar and make sure you are connected to your network. Click the Details button next to your network name. A window opens showing network information. Look for IP Address under the TCP/IP section — that is your local IP address.

If you prefer the command line, open Terminal and type ifconfig, then press Enter. Look for the section labeled with your network interface (usually en0 or en1 for Wi-Fi). Your local IP address appears next to "inet" and will start with 192.168 or 10.

Finding your local IP address on iPhone and iPad

On iPhone or iPad, open Settings and tap Wi-Fi. Tap the network you are connected to. A details screen appears showing your local IP address next to "IP Address." The address will look like 192.168.1.50 or similar.

This method works on any recent iOS or iPadOS version. If you do not see the IP address listed, make sure you are tapping the network name itself, not just viewing the list of available networks.

Finding your local IP address on Android

On Android, the path varies slightly by manufacturer, but the general route is Settings > Wi-Fi. Tap the network you are connected to and hold it, or look for an info icon next to the network name. A menu or details screen will show your local IP address, usually labeled "IP address" or "IPv4 address."

On some Android phones, you may need to go to Settings > About Phone > Status to find network information. If you cannot locate it in Wi-Fi settings, try that path instead.

Finding your public IP address

Your public IP address is what websites and services on the internet see when you connect to them. To find it, open any web browser and search for "what is my IP" or visit a site like whatismyipaddress.com. The page will display your public IP address immediately — usually a four-part number like 203.45.67.89.

You do not need to log into anything or change any settings. The information is public by design — your internet service provider assigns it to you, and it changes periodically depending on your provider and connection type.

The difference between local and public IP addresses

Your local IP address only works inside your home or office network. It is assigned by your router and lets devices on the same network find each other — for example, so your phone can print to your home printer. Local addresses usually start with 192.168 or 10.

Your public IP address is what the outside internet sees. It is assigned by your internet service provider and is unique across the entire internet. Websites, email servers, and online services use this address to send information back to you. It changes when you restart your router or after a period of time, depending on your provider's settings.

If you are troubleshooting a home network problem, you need your local IP. If you are setting up remote access or giving someone technical support information, you need your public IP.

Frequently Asked Questions

Why does my IP address keep changing?

Your public IP address changes because your internet service provider assigns it temporarily rather than permanently. Restarting your router often triggers a new assignment. Local IP addresses can also change if your router restarts or if you reconnect to the network, though many routers are set to give the same device the same local IP each time.

Is it safe to share my IP address?

Sharing your public IP address is generally safe — it is already visible to every website you visit. Sharing your local IP address is safe only with people on your own network. Never share either address with someone you do not trust, as it could be used to attempt unauthorized access to your devices or network.

What if I cannot find my IP address in the places you described?

Make sure you are connected to the network before looking for the address. If you are using a VPN, your public IP address will show the VPN provider's address instead of your real one. If you still cannot locate it, restart your device and try again, or check your router's manual for your specific model.

Can I change my IP address?

You can request a new public IP by restarting your router and waiting a few minutes for your internet service provider to assign a new one. Local IP addresses are assigned by your router and can sometimes be changed in your router's settings, though this is rarely necessary for normal use.