Your IP address is in your device settings, and the fastest way to find it depends on what you're using

Your IP address is a number assigned to your device by your internet provider. It looks like four numbers separated by periods — for example, 192.168.1.5 — and it's stored in your device's network settings. You don't need special software or a service to find it. Windows, Mac, iPhone, and Android all show it in a few clicks, and you can also see it instantly on a website that displays it for you.

Where you look depends on whether you want your local IP address (the one your home router assigns to your device) or your public IP address (the one your internet provider assigns to your whole household). Most people need the public one, which is easier to find. If you need the local one — to set up a printer or connect devices on your home network — you'll look in your device settings instead.

Key Takeaways

  • Your public IP address appears instantly on websites like whatismyipaddress.com or ipchicken.com, and this is the fastest way to find it.
  • Your local IP address (used only on your home network) is in your device settings: Settings > Network on Windows, System Preferences > Network on Mac, and Settings > Wi-Fi on iPhone and Android.
  • Windows users can also open Command Prompt and type ipconfig to see both local and public information at once.
  • Mac and Linux users can open Terminal and type ifconfig to see local network details.
  • Your public IP address changes when your modem restarts, but your local address usually stays the same unless you manually change it.

Finding your public IP address on any device

The easiest way to find your public IP address is to visit a website that displays it. Open any web browser — Chrome, Safari, Firefox, Edge — and go to whatismyipaddress.com or ipchicken.com. Your public IP address appears at the top of the page within seconds. You don't need to enter anything or sign in. This works the same way on Windows, Mac, iPhone, and Android.

This is the address your internet provider assigned to your household. Every device in your home shares this same public IP address when it connects to the internet. If you're troubleshooting a connection problem, reporting abuse, or setting up a service that needs to know where you're connecting from, this is the number you need.

Finding your local IP address on Windows

Your local IP address is the one your home router assigns to your specific device. To find it on Windows, go to Settings > Network & Internet > Wi-Fi (if you're on Wi-Fi) or Settings > Network & Internet > Ethernet (if you're plugged in with a cable). Click the network you're connected to, scroll down, and look for IPv4 address. That's your local IP address.

Alternatively, open Command Prompt by pressing Windows key + R, typing cmd, and pressing Enter. Type ipconfig and press Enter. Look for the line that says IPv4 Address under your active connection. This method shows you more network details at once, including your gateway (your router's address) and your DNS servers.

Finding your local IP address on Mac

On Mac, go to System Preferences > Network (or System Settings > Network on newer versions). Click the network you're connected to in the left sidebar. Your local IP address appears on the right side of the window, labeled IP Address.

You can also open Terminal (find it in Applications > Utilities) and type ifconfig, then press Enter. Look for the section labeled with your connection type — en0 for Ethernet or en1 for Wi-Fi. Your local IP address appears next to inet.

Finding your IP address on iPhone and Android

On iPhone, go to Settings > Wi-Fi, tap the network you're connected to, and scroll down. Your local IP address appears next to IP Address. To find your public IP address, open Safari and visit whatismyipaddress.com.

On Android, go to Settings > Wi-Fi, tap the network you're connected to (you may need to tap an info icon or gear icon), and look for IP Address. Like iPhone, you can find your public IP address by opening your browser and visiting a site that displays it.

Why you might need each type of IP address

Your public IP address is what you need when you're setting up remote access to your computer, reporting a problem to your internet provider, or troubleshooting why a website is blocking you. It's also what websites see when you visit them — though they don't automatically know who you are, just roughly where your internet connection is located.

Your local IP address is what you need when you're connecting devices on your home network. If you're setting up a printer, security camera, or smart home device, you often need to enter the local IP address of that device into your browser or app. You also need it if you want to give a device a permanent address so it always gets the same number when it connects to your router.

What to do if your IP address changes

Your public IP address can change when your modem restarts or when your internet provider reassigns addresses. This usually happens automatically and you don't need to do anything. If you need a permanent public IP address — for example, to run a server from home — you can contact your internet provider about a static IP, though this often costs extra per month.

Your local IP address usually stays the same unless you restart your router or manually change it in your device settings. If you need a device to always have the same local address, you can set up a DHCP reservation in your router settings. This tells your router to always give that device the same number. The steps vary by router model, but you'll usually find this option in your router's admin panel under DHCP or Reserved Addresses.

Frequently Asked Questions

Is my IP address the same as my MAC address?

No. Your MAC address is a different number that identifies your device on your local network. Your IP address identifies your device on the internet. Both are useful for different purposes — your MAC address is what your router uses to find your device at home, while your IP address is what the internet uses to send data to you.

Can someone find out who I am from my IP address?

Your IP address shows your internet provider and roughly where your connection is located, but not your name or home address. Your internet provider has records linking your IP address to your account, but they won't share that information without a legal request. Websites can see your IP address, but they can't identify you personally from it alone.

Why do I have two different IP addresses?

One is your local IP address (assigned by your router) and one is your public IP address (assigned by your internet provider). Your device uses the local one to talk to other devices at home and your router. Your router uses your public IP address to send and receive data from the internet on behalf of all your devices.

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

Make sure you're connected to the network first — if you're not connected to Wi-Fi or Ethernet, your device won't have an IP address. If you're connected and still don't see it, try restarting your device or router. If you're still stuck, visiting whatismyipaddress.com will always show you your public IP address, which works on any device with a browser.