Finding your IP address in Windows
The fastest way to see your IP address on Windows is through the Command Prompt. Open the Start menu, type cmd, and press Enter. A black window will open. Type ipconfig and press Enter.
Look for the line that says IPv4 Address. The number next to it — something like 192.168.1.5 — is your local IP address, the one your devices use inside your home or office network. If you see multiple IPv4 addresses listed, you likely have multiple network connections. The one under "Ethernet adapter" or "Wireless LAN adapter" is the one you need.
If you want to see your public IP address instead (the one your internet provider assigns to your whole network), stay in Command Prompt and type curl ifconfig.me and press Enter. This shows the address the rest of the internet sees when you connect to websites.
Finding your IP address on Mac
On a Mac, open System Preferences and click Network. Select your connection type — either Wi-Fi or Ethernet — from the list on the left. Your local IP address appears on the right side of the window, labeled IP Address.
To find your public IP address on Mac, open Terminal (search for it in Spotlight), type curl ifconfig.me, and press Enter. The number that appears is what the outside world sees.
Finding your IP address on iPhone or iPad
Open Settings and tap Wi-Fi. Find the network you are connected to and tap the information icon (a small circle with an "i" inside it). Scroll down to see IP Address listed under the network details.
This shows only your local IP address on your home or office network. To see your public IP address from an iPhone or iPad, open Safari, go to a website like whatismyipaddress.com, and the site will display it for you.
Finding your IP address on Android
Open Settings and go to About Phone or About Device (the exact name varies by phone maker). Look for IP Address in the list. This is your local address on your current Wi-Fi network.
Some Android phones show the IP address under Network or Wi-Fi settings instead. If you cannot find it in About Phone, go to Settings, tap Wi-Fi, hold down on your connected network, and select Manage or View Details. Your local IP address will be listed there.
To see your public IP address on Android, open Chrome or your default browser and visit whatismyipaddress.com or myip.com. The site displays your public address immediately.
Key Takeaways
- Your local IP address (like 192.168.1.5) is what your device uses inside your home or office network, and you find it in Network or Wi-Fi settings on any device.
- Your public IP address is what the internet sees when you connect to websites, and you can find it by typing curl ifconfig.me on Windows or Mac, or by visiting a website like whatismyipaddress.com on any device.
- Windows users should open Command Prompt and type ipconfig to see the local address; Mac users should go to System Preferences and click Network.
- On phones and tablets, check Wi-Fi settings or the network details page to find your local IP address without needing a separate tool.
Why you might need to know your IP address
You may need your local IP address to set up a printer on your network, connect to a security camera system, or troubleshoot a device that is not connecting properly. Knowing it helps you tell your router or network administrator exactly which device is having the problem.
Your public IP address matters if you are setting up remote access to your computer, hosting a game server, or troubleshooting why a website is blocking you. Some services also use it to detect your location or to enforce restrictions based on geography.
The difference between local and public IP addresses
A local IP address is assigned by your router to each device on your network. It starts with 192.168 or 10.0 in most home networks. This address only works inside your network — the outside internet cannot reach your device using it.
A public IP address is assigned by your internet service provider to your router. Every device in your home shares this one address when it connects to the outside world. Websites and online services see this public address, not the local ones. When you move to a different network, your local address changes, but your public address stays the same until your provider reassigns it (which can take weeks or months).
Frequently Asked Questions
Why does my IP address keep changing?
Your local IP address can change if you restart your router or if your device reconnects to the network. Your public IP address changes less often — usually only when your internet service provider reassigns it, which might happen after a power outage or after several months of inactivity. If you need a stable public address, you can contact your provider about a static IP, though this usually costs extra.
Is it safe to share my IP address?
Sharing your public IP address carries minimal risk on its own — websites already see it every time you visit. Sharing your local IP address is safe as long as you trust the person you are sharing it with. Never share either address with someone you do not know, and be cautious if someone asks for it unsolicited.
Can I change my IP address?
You can change your local IP address by restarting your router or by manually assigning a new one in your device settings, though this is rarely necessary. Your public IP address changes automatically over time, but you cannot force it to change immediately. Restarting your modem may eventually trigger a new one, but this is not may provide.
What if I cannot find my IP address using these steps?
Make sure you are looking in the right place for your device type — Settings on phones, System Preferences on Mac, Network settings on Windows. If the address is not showing up, your device may not be connected to the network. Reconnect to Wi-Fi or Ethernet and try again. If you still cannot find it, restart your device and check once more.