What an IP address is and why you might need it

An IP address is a unique number assigned to your device on a network. It looks like four numbers separated by periods — for example, 192.168.1.5 — and it tells other devices and servers where to send information back to you. You might need to find yours to troubleshoot a connection problem, set up a printer or router, access your device remotely, or provide it to technical support.

Every device connected to the internet or a local network has an IP address. Your computer, phone, tablet, and smart home devices all have them. There are two types: a local IP address that identifies your device within your home or office network, and a public IP address that identifies you to the wider internet. Most of the time, you'll need your local IP address.

Key Takeaways

  • Your local IP address appears in your network settings on Windows, Mac, iPhone, or Android — the exact steps depend on your device type.
  • On Windows, open Settings, go to Network & Internet, and select your connection to see your IP address listed there.
  • On Mac, open System Preferences, click Network, select your connection, and your IP address appears in the window.
  • On iPhone or iPad, go to Settings, tap Wi-Fi, select your network, and your IP address is shown under the network name.
  • To find your public IP address, search "what is my IP" in any web browser and the result will display at the top of the page.

Finding your IP address on Windows

On a Windows computer, the fastest way is through Settings. Click the Start button, type "Settings" into the search box, and open the Settings app. Then select "Network & Internet" from the left menu.

Next, look at the right side of the window. If you're connected by Wi-Fi, click "Wi-Fi" and then click the name of your network. Your local IP address will appear next to "IPv4 address". If you're using an ethernet cable instead, click "Ethernet" and your IP address will be listed there the same way.

If you prefer the command line, you can also open Command Prompt (search for "cmd" in the Start menu), type ipconfig, and press Enter. Your local IP address appears next to "IPv4 Address" in the results.

Finding your IP address on Mac

On a Mac, open System Preferences by clicking the Apple menu in the top-left corner and selecting "System Preferences" (or "System Settings" on newer versions). Then click "Network".

Select your connection from the list on the left — either "Wi-Fi" if you're wireless or "Ethernet" if you're using a cable. Your local IP address appears in the main window next to "IP Address".

You can also use Terminal if you prefer. Open Terminal (search for it in Spotlight), type ifconfig, and press Enter. Look for the section labeled with your connection type and find the line that starts with "inet" — that's your local IP address.

Finding your IP address on iPhone or iPad

On an iPhone or iPad, open the Settings app and tap "Wi-Fi". Find the network you're currently connected to and tap the information icon (the small "i" in a circle) next to the network name. Your local IP address appears under "IP Address" in the window that opens.

This shows only your local IP address on your home or office network. If you need your public IP address on your phone, open Safari or any web browser, search for "what is my IP", and the result will display at the top of the page.

Finding your IP address on Android

On an Android phone or tablet, open Settings and look for "Network" or "Connections" (the exact name varies by manufacturer). Tap "Wi-Fi" and select the network you're connected to. Your local IP address appears under "IP address" in the details window.

Some Android devices show this information differently. If you don't see it in Wi-Fi settings, try going to Settings, then "About phone" or "About tablet", and look for "IP address" there. To find your public IP address, open Chrome or your default browser, search "what is my IP", and it will appear at the top of the results.

Finding your public IP address

Your public IP address is what websites and internet services 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 result will appear at the very top of the search results in large text.

Alternatively, you can visit websites like whatismyipaddress.com or ipinfo.io directly. These sites display your public IP address as soon as the page loads. Your public IP address is assigned by your internet service provider and may change periodically, especially if you restart your modem.

Frequently Asked Questions

What's the difference between my local IP and public IP?

Your local IP address identifies your device within your home or office network — it's used by your router and other devices on the same Wi-Fi or ethernet connection. Your public IP address is assigned by your internet service provider and identifies your entire network to the outside internet. You usually need your local IP for home troubleshooting and your public IP for remote access or when contacting support about your internet connection.

Why does my IP address keep changing?

Local IP addresses can change if your device reconnects to the network or if your router restarts. Public IP addresses change when your modem restarts or after a certain period set by your internet service provider. If you need a stable local IP address for a device like a printer, you can set a static IP in your router settings, but this requires accessing your router's admin panel.

Is it safe to share my IP address?

Sharing your local IP address is generally safe — it only works within your own network. Your public IP address is visible to every website you visit, so it's not a secret, but you should still be cautious about sharing it with unknown people. Never share your router's admin password, which is different from your IP address.

What if I can't find my IP address in settings?

Make sure you're connected to the network first — check that Wi-Fi is turned on or your ethernet cable is plugged in. If you're still not seeing it, try restarting your device. On Windows or Mac, you can also try the command-line methods (ipconfig or ifconfig) as a backup way to view the information.