Finding your IP address in Windows
The quickest way to see your IP address on Windows is through the Command Prompt. Open the Start menu, type cmd into the search box, and press Enter. A black window will open.
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 (something like 192.168.1.5) is your local IP address. If you see Default Gateway listed below it, that is your router's address, not your own.
If you want to see your public IP address instead — the one your internet provider assigns to your whole household — scroll down in the same window or search "what is my IP" in any web browser. The browser will show you the public address immediately.
Finding your IP address on Mac
On a Mac, click the Apple menu in the top-left corner and select System Settings (or System Preferences on older versions). Then click Network on the left side.
You will see your connected network listed — Wi-Fi or Ethernet. Click it, and your local IP address appears in the window on the right, labeled IPv4 Address. This is the address your router assigned to your Mac.
For your public IP address, open any web browser and search "what is my IP address". The result will show the address your internet provider assigned to your home network.
Finding your IP address on iPhone or iPad
On an iPhone or iPad, go to Settings, then tap Wi-Fi. Find the network you are connected to and tap the information icon (a small circle with an "i" inside it) next to the network name.
Scroll down and you will see IPv4 Address listed. That number is your local IP address on that Wi-Fi network. If you switch to a different Wi-Fi network, this address will change.
To find your public IP address on your phone, open Safari or any browser and search "what is my IP". The result shows the address assigned by your internet provider.
Finding your IP address on Android
On Android, open Settings and go to About phone (the exact name varies by manufacturer). Scroll down and tap IP address. The number shown is your local IP address on your current Wi-Fi network.
Some Android phones put this information under Network or Wi-Fi instead. If you cannot find it in About phone, go to Settings, tap Wi-Fi, hold down on your connected network name, and select Manage or View details. Your local IP address will appear there.
For your public IP address, open Chrome or your default browser and search "what is my IP address". The first result will show the address your internet provider assigned to your home.
Key Takeaways
- Your local IP address is assigned by your router and changes only when you switch networks or your router restarts; on Windows use Command Prompt and type ipconfig, on Mac use System Settings and click Network, and on phones go to Wi-Fi settings and tap the network details.
- Your public IP address is assigned by your internet provider to your entire household and is the same on all your devices; you can see it by searching "what is my IP" in any web browser.
- Local IP addresses usually start with 192.168 or 10.0, while public IP addresses are the four-number sets you see when you search online.
- If you need your IP address for troubleshooting or to set up a device on your network, you are looking for the local address, not the public one.
Why you might need to know your IP address
You may need your local IP address to set up a printer on your home network, to log into your router's settings, or to troubleshoot a connection problem with a specific device. Knowing which address belongs to which device helps you tell your router to prioritize one device over another or to block a device from the network.
Your public IP address is less often needed, but some services ask for it for security reasons — for example, to whitelist your home network so only you can access a work account from that location. Your public address can also change if your internet goes down and your router restarts, so it is not reliable for permanent settings.
What to do if you cannot find your IP address
If you typed ipconfig on Windows and saw an error, make sure you opened Command Prompt as an administrator. Right-click the Command Prompt icon and select Run as administrator, then type ipconfig again.
On Mac, if you do not see an IPv4 Address listed, your device may not be connected to Wi-Fi or Ethernet. Click the Wi-Fi icon in the top-right corner and make sure you are connected to a network. If you are connected and still see no address, restart your Mac and try again.
On phones, if the Wi-Fi settings do not show an IP address, disconnect from the network and reconnect. If the address still does not appear, restart your phone. If you still cannot see it, your phone may not have a valid connection to that network — try moving closer to the router or forgetting and rejoining the network.
Frequently Asked Questions
Is my IP address the same on all my devices?
Your local IP address is different on each device because your router assigns a separate address to each one. Your public IP address is the same across all your devices at home because it belongs to your internet connection, not to individual devices. When you search "what is my IP" on your phone and your computer, you will see the same public address.
Can someone find me using my IP address?
Your public IP address can be traced to your internet provider and your general location (usually your city or region), but not to your exact street address. Your local IP address only works on your home network and is not visible to anyone outside your house. If you are concerned about privacy online, a VPN masks your public IP address.
Why does my IP address keep changing?
Your local IP address changes when you restart your router or switch to a different Wi-Fi network. Your public IP address changes when your internet connection drops and reconnects, or when your internet provider reassigns addresses (usually every few months). If you need a stable public address, contact your internet provider about a static IP option.
What is the difference between IPv4 and IPv6?
IPv4 addresses are the older format with four numbers separated by periods (like 192.168.1.5). IPv6 addresses are the newer format with letters and numbers separated by colons (like 2001:0db8:85a3:0000). Most home networks still use IPv4, but IPv6 is becoming more common. Both serve the same purpose — identifying your device on a network.
Do I need to write down my IP address?
You do not need to memorize or save your local IP address unless you are setting up a device that needs a permanent address (like a printer). For most everyday use, you can look it up whenever you need it using the steps above. If you set up a device with a specific local IP address and later forget what it was, you can find it again the same way.