What an IP address is and why you need it

Your Internet Protocol address (IP address) is a unique number assigned to your device whenever it connects to the internet. It looks like four numbers separated by periods — for example, 192.168.1.5 — and it works like a mailing address for your device. Websites, apps, and services use it to send data back to you.

You might need to find your IP address to troubleshoot a connection problem, set up a printer or security camera on your home network, log into your router, or help a tech support person diagnose an issue. There are two types: your local IP address (used only inside your home network) and your public IP address (how the outside internet sees you). Most of the time, you need the local one.

Key Takeaways

  • Your local IP address is found in your device settings and starts with 192.168 or 10.0 in most home networks.
  • Windows users can open Command Prompt and type ipconfig to see it in seconds; Mac users open Terminal and type ifconfig.
  • On phones and tablets, the IP address appears in Wi-Fi settings under the network you are connected to.
  • Your public IP address (what websites see) can be found by searching "what is my IP" in any browser.
  • If you cannot find your IP address, restart your device and reconnect to Wi-Fi, then check again.

Finding your IP address on Windows

On Windows, the fastest way is through Command Prompt. Press the Windows key and type cmd, then press Enter. A black window opens. Type ipconfig and press Enter. You will see a list of information. Look for the line that says "IPv4 Address" — the number next to it is your local IP address.

If you prefer not to use Command Prompt, you can find it through Settings instead. Open Settings, go to Network & Internet, then Wi-Fi. Click the network name you are connected to. Scroll down and you will see "IPv4 address" listed there. Both methods show the same number; use whichever feels easier to you.

Finding your IP address on Mac

On Mac, open Terminal (search for it using Spotlight by pressing Command and Space). Type ifconfig and press Enter. A block of text appears. Look for the section labeled en0 or en1 (these are your network connections). Find the line that starts with "inet" — the number after it is your local IP address.

Alternatively, click the Apple menu, go to System Settings, then Network. Click Wi-Fi on the left side. Your IP address appears on the right side of the screen under "Wi-Fi" details. Like Windows, both methods work; choose the one you find simpler.

Finding your IP address on iPhone and iPad

On an iPhone or iPad, open Settings and tap Wi-Fi. Find the network you are currently connected to and tap the information icon (a small circle with an "i" inside it) next to the network name. Your IP address appears on the next screen labeled "IP Address." Write it down if you need it for later.

This only works when you are connected to Wi-Fi. If you are using cellular data, you do not have a local IP address on your home network, so this step will not apply.

Finding your IP address on Android

On Android, open Settings and look for a section called Network or Connections (the exact name varies by phone brand). Tap Wi-Fi, then tap the network you are connected to. Hold down on the network name until a menu appears, or look for a settings icon next to it. Your IP address should appear in the details that pop up, usually labeled "IP address."

If you cannot find it this way, try opening Settings, scrolling to About Phone, and looking for Status or Device Information. Some Android phones list the IP address there instead. If you are still stuck, search your phone's model number plus "how to find IP address" — the exact steps vary between manufacturers.

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 "my IP address." The search results will show your public IP address at the top. You can also visit websites like whatismyipaddress.com or ipinfo.io, which display it immediately.

Your public IP address changes periodically (usually when you restart your router or after several days of use), so do not be surprised if it is different the next time you check. Your local IP address, by contrast, usually stays the same as long as you stay connected to the same Wi-Fi network.

What to do if you cannot find your IP address

If the steps above do not show your IP address, first check that you are actually connected to Wi-Fi or ethernet. On Windows or Mac, look at the network icon in the corner of your screen — it should show a connected status. On phones, check that Wi-Fi is turned on and you see the Wi-Fi symbol in the status bar.

If you are connected but still cannot find it, restart your device and try again. Sometimes a connection glitch prevents the IP address from displaying correctly. After restart, reconnect to your Wi-Fi network and repeat the steps for your device type. If it still does not appear, your router may need to be restarted — unplug it for 30 seconds, plug it back in, wait two minutes for it to fully restart, and try once more.

Frequently Asked Questions

Is my IP address the same on all my devices?

No. Each device connected to your network gets its own local IP address. Your phone, laptop, and tablet will all have different numbers. However, they all share the same public IP address when they connect to the internet through your home router.

Can I change my IP address?

Your local IP address can sometimes be changed through your router settings, but most people do not need to. Your public IP address changes on its own over time and cannot be controlled without special equipment. If you need a different local IP address for a specific device, contact your internet provider or a tech support person.

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

You may have multiple network connections (Wi-Fi, ethernet, virtual networks). Look for the one labeled as your active connection — usually the one with "Wi-Fi" or "Ethernet" in the name. That is the IP address you need. Ignore the others unless you are specifically troubleshooting a different connection.

Is it safe to share my IP address?

Sharing your local IP address is generally safe — it only works inside your home network. Your public IP address is already visible to every website you visit, so sharing it is not a security risk by itself. However, do not share either one with someone you do not trust, as they could use it to attempt unauthorized access to your devices or network.

What if my IP address starts with a different number than 192.168?

Some routers use different starting numbers, such as 10.0 or 172.16. This is normal and depends on how your router is configured. As long as you see four numbers separated by periods, you have found your IP address correctly.