Where to find your IP address depends on your device and whether you need the local or public version
Your IP address is a number that identifies your device on a network. Every device connected to the internet or a local network has one. You may need to find it to troubleshoot connection problems, set up a printer, access a router, or configure network settings.
There are two types: your local IP address (what your device uses on your home or office network) and your public IP address (what websites see when you connect to the internet). The method to find each one is different, and which one you need depends on what you're trying to do.
Key Takeaways
- Your local IP address appears in your network settings on Windows, Mac, or mobile devices, and you need it to access your router or connect devices on the same network.
- Your public IP address is what the internet sees, and you can find it instantly by searching "what is my IP" in any browser or visiting a site like whatismyipaddress.com.
- On Windows, open Settings > Network & Internet > Wi-Fi or Ethernet, then select your connection to see your local IP address.
- On Mac, go to System Settings > Network, select your connection, and look for the IP address field on the right side.
- On iPhone or Android, open Settings > About Phone (or About Device) and scroll to find your IP address, or check your Wi-Fi settings.
Finding your local IP address on Windows
On Windows 10 or 11, the quickest route is through Settings. Click the Start button, then type "Settings" and open it. Go to Network & Internet, then select either Wi-Fi or Ethernet depending on how you're connected. Click the name of your current network, and scroll down to find "IPv4 address" — that's your local IP address.
If you prefer the command line, open Command Prompt (search "cmd" in the Start menu), type ipconfig, and press Enter. Look for "IPv4 Address" under your active connection. This method shows more detail and is useful if Settings doesn't display the information clearly.
Finding your local IP address on Mac
On macOS, open System Settings and click Network on the left sidebar. Select your active connection (Wi-Fi or Ethernet) from the list. On the right side, you'll see "IP Address" displayed directly — that's your local IP address. The process is the same whether you're on an Intel or Apple Silicon Mac.
Alternatively, open Terminal (search "Terminal" in Spotlight), type ifconfig, and press Enter. Look for "inet" followed by a number under your active connection. Terminal shows additional network details if you need them for troubleshooting.
Finding your IP address on iPhone and Android
On iPhone, open Settings, tap Wi-Fi, and select the network you're connected to. Scroll down and you'll see "IP Address" listed along with other network details. This shows your local IP address on that specific network.
On Android, the location varies by manufacturer, but the general path is Settings > About Phone (or About Device) > scroll down to find "IP Address." Some Android phones also show it in Settings > Network & Internet > Wi-Fi > select your network. If you can't find it in those places, check your phone's help documentation, as the menu structure differs between Samsung, Google Pixel, and other brands.
Finding your public IP address
Your public IP address is what websites see when you visit them. The fastest way to find it is to open any web browser and search "what is my IP." Google will display your public IP address at the top of the results page in seconds.
Alternatively, visit a dedicated IP lookup site like whatismyipaddress.com, iplocation.net, or similar services. These sites display your public IP address and sometimes additional information like your approximate location and internet service provider. All of these methods work on any device — phone, tablet, or computer — as long as you have internet access.
Why you might need each type of IP address
You need your local IP address when you're working within your own network. Common reasons include accessing your router's settings (usually by typing the IP address into a browser), connecting a printer or smart home device, setting up port forwarding, or troubleshooting why a device isn't connecting. Your local IP address typically starts with 192.168 or 10.0, depending on your router's configuration.
You need your public IP address when you're setting up remote access to your computer, running a server, or troubleshooting why a website is blocking you. Your public IP address changes periodically unless your internet service provider has assigned you a static one (which usually costs extra). If you're having trouble accessing a service and support asks for your IP, they almost always mean your public IP.
What to do if you can't find your IP address
If your device shows no IP address in network settings, it usually means the connection failed. Restart your device first — this resolves most connection issues. Then check that you're connected to the correct network and that the network itself is working by testing another device.
If restarting doesn't work, restart your router by unplugging it for 30 seconds, then plugging it back in. Wait a few minutes for it to fully restart, then check your device's network settings again. If you still see no IP address after these steps, contact your internet service provider or network administrator, as the problem may be with the network itself rather than your device.
Frequently Asked Questions
Is my IP address the same on every network?
No. Your local IP address changes depending on which network you connect to — your home Wi-Fi, your office network, and a coffee shop's Wi-Fi will each assign you a different local IP address. Your public IP address also changes when you switch networks, unless your internet service provider has assigned you a static public IP (which is uncommon for home users).
Can I change my IP address?
Your local IP address can sometimes be changed through your router's settings, but most people don't need to. Your public IP address changes automatically over time, and you can force a change by restarting your modem. If you need a specific public IP address for security or access reasons, contact your internet service provider about static IP options.
Why do I need to know my IP address?
Common reasons include accessing your router to change Wi-Fi settings, connecting devices like printers or security cameras to your network, troubleshooting connection problems, or setting up remote access to your computer. Support staff may also ask for your public IP when diagnosing internet issues.
Is it safe to share my IP address?
Sharing your public IP address is generally safe — websites already see it every time you visit. Sharing your local IP address is also usually safe within your own network. However, avoid sharing either with untrusted sources, as someone with your IP address could attempt to access your devices or network.