What an IP address is and why you need to find yours

An IP address is a set of numbers that identifies your device on a network — like a mailing address for your computer, phone, or tablet. 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 on your home network, access your router settings, or give technical support someone the information they need to help you.

There are two types. Your public IP address is what the outside internet sees — your internet service provider assigns this, and it's the same for all devices in your home. Your private IP address is what devices use to talk to each other inside your home network — this one is different for each device. Most of the time, you'll need your private IP address.

Key Takeaways

  • Your private IP address is what you need most often, and the steps to find it are different on Windows, Mac, iPhone, and Android.
  • On Windows, open Command Prompt and type ipconfig to see your private IP address listed as "IPv4 Address".
  • On Mac, go to System Settings, click Network, select your connection, and look for "IP Address" in the details.
  • On iPhone or iPad, open Settings, tap Wi-Fi, select your network, and the IP address appears under the network name.
  • To find your public IP address, search "what is my IP" in any web browser and the number appears at the top of the results.

Finding your IP address on Windows

The fastest way on Windows is to use Command Prompt. Right-click the Start button, select "Command Prompt (Admin)" or "Windows PowerShell (Admin)", and a black window opens. Type ipconfig and press Enter. A list of information appears.

Look for the section labeled with your connection type — usually "Ethernet adapter" if you're plugged in with a cable, or "Wireless LAN adapter" if you're on Wi-Fi. Under that section, find the line that says "IPv4 Address". The number next to it (something like 192.168.1.5) is your private IP address. Write it down or take a screenshot if you need it for later.

If you prefer not to use Command Prompt, you can also find it through Settings. Open Settings, go to Network & Internet, select Wi-Fi or Ethernet depending on how you're connected, then click on your active connection. Scroll down and you'll see "IPv4 address" listed there.

Finding your IP address on Mac

On Mac, open System Settings and click Network in the left sidebar. You'll see your current connection listed — either Wi-Fi or Ethernet. Click on it, and a panel opens on the right side showing connection details. Your private IP address appears next to "IP Address" near the top of that panel.

If you're connected to Wi-Fi, you can also click the Wi-Fi icon in the menu bar at the top of the screen, hold down the Option key, and click on your network name. A dropdown menu shows your IP address along with other network information.

Finding your IP address on iPhone or iPad

Open the Settings app and tap Wi-Fi. Find the network you're currently connected to — it has a checkmark next to it. Tap the network name or the information icon (the small "i" in a circle) next to it. The IP address appears on the next screen under "IP Address".

This only works when you're connected to Wi-Fi. If you're using cellular data, your device doesn't have a private IP address on your home network, so this step won't apply.

Finding your IP address on Android

Open Settings and go to Wi-Fi. Long-press (hold down) the network you're connected to, then tap "Manage" or the gear icon. The IP address appears on the next screen, usually labeled "IP address" or "IPv4 address".

On some Android phones, the path is slightly different — you might need to go to Settings, then About Phone, then Status, and scroll down to find "IP address". If you're not sure which path your phone uses, search "IP address" in your Settings app's search bar and it will take you directly there.

Finding your public IP address

Your public IP address is what websites and services on the internet see. To find it, open any web browser and search for "what is my IP". The number appears at the top of the search results, usually in large text. You can also visit websites like whatismyipaddress.com or ipinfo.io, which display your public IP as soon as the page loads.

Your public IP address changes less often than you might think — most people keep the same one for weeks or months. However, if you restart your modem or your internet service provider assigns a new one, it will change. You don't usually need to do anything about this; it happens automatically.

What to do once you have your IP address

If you're troubleshooting a network problem, write down your private IP address and give it to whoever is helping you. If you're setting up a device on your network — like a printer or security camera — you might need to enter your IP address into its setup screen or access your router's settings page using your IP address in a web browser.

If you're trying to access your router's settings, open a web browser and type your router's IP address into the address bar. This is usually something like 192.168.1.1 or 192.168.0.1, but check your router's manual or the sticker on the back of the device to be sure. You'll be asked for a username and password — again, check your router's documentation for these.

Frequently Asked Questions

Why do I have two different IP addresses?

Your private IP address is used only within your home network to communicate with other devices like your printer or smart TV. Your public IP address is what the internet sees when you browse websites or send emails. Both are normal and necessary — you need the private one for local devices and the public one for internet services.

Will my IP address change if I restart my device?

Your private IP address usually stays the same when you restart, but it can change if you turn off your device for a long time or if your router reassigns addresses. Your public IP address rarely changes unless you restart your modem or your internet service provider updates it. If you need a permanent private IP address for a device, you can set a static IP in your router settings.

Is it safe to share my IP address?

Sharing your private IP address is generally safe — it only works within your own network. Sharing your public IP address is also usually safe, though it does tell someone your approximate location and internet provider. Never share your router's username and password, which is different from your IP address.

What if I can't find my IP address using these steps?

Make sure you're connected to the network first — you can't have an IP address if you're not connected to Wi-Fi or Ethernet. If you're still stuck, restart your device and try again. On Windows, make sure you opened Command Prompt as an administrator. If the problem continues, restart your router by unplugging it for 30 seconds and plugging it back in.

Can I change my IP address?

Your public IP address is assigned by your internet service provider and changes on its own schedule — you can't manually change it. Your private IP address can be changed through your router settings if you set a static IP, but this is usually only necessary for devices like printers that need a permanent address. For most devices, letting your router assign an address automatically works fine.