The quickest way depends on your device

Your IP address is a number that identifies your device on a network — like a mailing address for data. Finding it takes less than a minute and requires no special tools. The method changes slightly depending on whether you use Windows, Mac, iPhone, Android, or a web browser.

Most people need their IP address to troubleshoot network problems, set up a printer or smart home device, or configure router settings. You may see two different numbers: your local IP address (the one inside your home network) and your public IP address (the one the internet sees). Both are useful for different reasons.

Key Takeaways

  • On Windows, open Command Prompt and type ipconfig to see your local IP address instantly.
  • On Mac, go to System Settings, click Network, and your local IP appears next to "IP Address".
  • On iPhone or iPad, open Settings, tap Wi-Fi, and select your network to see the IP address listed.
  • On Android, open Settings, go to About Phone, and look for the IP address under Network or Device Information.
  • To find your public IP address, search "what is my IP" in any web browser or visit a site like whatismyipaddress.com.

Finding your local IP on Windows

Open the Start menu and type Command Prompt into the search box. Click the Command Prompt app when it appears. A black window will open with a blinking cursor.

Type ipconfig and press Enter. The window will display several lines of information. Look for the section labeled with your network connection name (usually "Ethernet" if you use a cable, or "Wireless LAN adapter" if you use Wi-Fi). Next to "IPv4 Address" you will see a number like 192.168.1.100 — that is your local IP address.

If you see multiple network adapters listed, find the one that shows a real address (not 0.0.0.0). That is the one currently connected to your network.

Finding your local IP on Mac

Click the Apple menu in the top-left corner and select System Settings. On older Macs, this is called System Preferences.

Click Network in the left sidebar. You will see a list of network connections on the left side. Click the one you are currently using (usually "Wi-Fi" or "Ethernet"). On the right side, your local IP address appears next to "IP Address" — it will look something like 192.168.1.50.

If you do not see the IP address field, make sure the connection shows "Connected" in green text. Disconnected networks will not display an address.

Finding your local IP on iPhone or iPad

Open the Settings app and tap Wi-Fi. You will see a list of available networks. Tap the name of the network you are currently connected to (it will have a checkmark next to it).

A details screen appears. Scroll down and look for IP Address. The number displayed there — usually starting with 192.168 or 10.0 — is your local IP address on that network.

This method only works for Wi-Fi connections. If you are using cellular data, your device does not have a local IP address on a home network.

Finding your local IP on Android

Open Settings and scroll down to find About Phone (on some devices this is under System or Device Information). Tap it.

Look for a section called Network, IP Address, or Device Information. The exact name varies by manufacturer. Your local IP address will be listed there, usually as a number starting with 192.168 or 10.0.

If you cannot find it in About Phone, go back to Settings and look for Wi-Fi. Tap your connected network and hold it until a details menu appears — the IP address often shows there instead.

Finding your public IP address

Your public IP address is what websites see when you visit them. To find it, open any web browser and search for "what is my IP". Google will display your public IP address at the top of the search results in large text.

Alternatively, you can visit a dedicated site like whatismyipaddress.com, ipchicken.com, or myip.com. These sites show your public IP instantly, along with other information like your approximate location and internet service provider.

Your public IP address changes periodically — sometimes daily, sometimes monthly, depending on your internet provider. Your local IP address (the one inside your home network) usually stays the same unless you restart your router or change your network settings.

Why you might need each type

Use your local IP address when you are setting up devices on your own network. If you need to configure a printer, smart speaker, security camera, or access your router's settings, you will enter the local IP address into your browser or app. You also need it if you are troubleshooting why a device cannot connect to your network.

Use your public IP address if someone outside your network needs to reach a device you are hosting, or if a website is blocking your location. Some services also ask for your public IP for security or logging reasons. However, most everyday tasks only require your local IP.

Frequently Asked Questions

What does the number in an IP address mean?

An IP address is four numbers separated by periods, like 192.168.1.100. Each number can range from 0 to 255. The first numbers identify your network, and the last number identifies your specific device. Local addresses starting with 192.168 or 10.0 are reserved for home and office networks and cannot be used on the public internet.

Why do I see two different IP addresses?

Your local IP address is assigned by your router and only works inside your home network. Your public IP address is assigned by your internet provider and is what the outside world sees. They serve different purposes — local IPs help devices find each other at home, while public IPs route data across the internet.

Will my IP address change if I restart my router?

Your local IP address usually stays the same after a restart, but it may change if you leave your router off for a long time or if your router's settings change. Your public IP address is more likely to change after a restart, though some internet providers keep it stable. If you need a permanent address, you can set a static IP in your router settings.

Is it safe to share my IP address?

Sharing your local IP address is safe — it only works inside your own network. Sharing your public IP address carries minor risk but is generally not dangerous by itself. Your public IP is already visible to every website you visit. However, do not share it with strangers or use it to identify yourself online.