What your IP address is and why you might need it
Your IP address is a set of numbers that identifies your device on a network — like a mailing address for your computer or phone. Every device connected to the internet has one. You might need to know it to troubleshoot a connection problem, set up a printer on your home network, access your router's settings, or give it to technical support.
There are two kinds: your public IP address is what the wider internet sees when you connect, and your private IP address is what devices use to talk to each other inside your home or office network. Most of the time, if someone asks for your IP address, they mean the private one.
Key Takeaways
- On Windows, open Command Prompt and type ipconfig to see your private IP address listed as "IPv4 Address".
- On Mac or Linux, open Terminal and type ifconfig or ip addr to find your private IP address.
- On iPhone or iPad, go to Settings > Wi-Fi, tap the network name, and look for "IP Address" in the details.
- On Android, go to Settings > About Phone > Status to find your IP address, though the exact path varies by manufacturer.
- To find your public IP address, visit a website like whatismyipaddress.com or search "what is my IP" in any browser.
Finding your IP address on Windows
The fastest way on Windows is through Command Prompt. Press the Windows key, type cmd, and open Command Prompt. Type ipconfig and press Enter. Look for the line that says "IPv4 Address" — that is your private IP address on your network. It usually starts with 192.168 or 10.
If you prefer not to use Command Prompt, you can also find it through Settings. Go to Settings > Network & Internet > Wi-Fi (or Ethernet if you are wired), click your network name, and scroll down to "IP address".
Finding your IP address on Mac or Linux
On a Mac, open Terminal (search for it in Spotlight or find it in Applications > Utilities). Type ifconfig and press Enter. Look for the section labeled with your connection type — usually "en0" for Wi-Fi or "en1" for Ethernet. Your private IP address is listed next to "inet".
On Linux, open a terminal and type ip addr or ifconfig depending on your distribution. The output will show your private IP address next to "inet" for each network connection.
Finding your IP address on iPhone or iPad
Go to Settings and tap Wi-Fi. Find the network you are currently connected to and tap the information icon (the small circle with an "i") next to the network name. Your private IP address appears in the details under "IP Address".
This method only works when you are connected to Wi-Fi. If you are using cellular data, your device does not have a private IP address on a local network — it only has a public IP address assigned by your carrier, which you cannot see in Settings.
Finding your IP address on Android
The path varies depending on your phone's manufacturer, but the general route is Settings > About Phone > Status. Look for "IP Address" in the list. Some phones put it under Settings > Network & Internet > Wi-Fi instead — tap your connected network and the details will appear.
If you cannot find it in those locations, try Settings > System > About Phone or Settings > Device Info. Android manufacturers customize these menus, so the exact wording and location may differ from phone to phone.
Finding your public IP address
Your public IP address is what websites and services on the internet see when you connect. To find it, open any web browser and search for "what is my IP" or visit a site like whatismyipaddress.com, iplocation.net, or myip.com. The page will display your public IP address immediately — no installation or setup needed.
Your public IP address changes periodically depending on your internet service provider. Most home connections get a new one every few days or weeks, though some providers assign static addresses that stay the same. If you need a permanent public IP address for remote access or hosting, contact your internet provider to ask about static IP options.
Understanding the difference between private and public addresses
Your private IP address only works within your local network — your home Wi-Fi, office network, or the devices directly connected to your router. Other people on the internet cannot reach you using this address. It is what your printer, smart speakers, and other devices use to communicate with each other and your router.
Your public IP address is assigned by your internet service provider and is visible to every website and service you visit. It is how the internet knows where to send data back to you. You cannot choose it, and it may change without warning unless you pay for a static address.
If someone asks for your IP address for technical support, ask whether they need the private one (for local network troubleshooting) or the public one (for internet-wide services). Most of the time, support staff want the private address to help you configure your home network.
Frequently Asked Questions
Is it dangerous to share my IP address?
Sharing your public IP address carries minimal risk on its own — websites already know it when you visit them. However, do not share it with strangers or post it publicly, as it could be used to target you with attacks or to look up your approximate location. Your private IP address is safe to share with people helping you troubleshoot your network.
Why do I have multiple IP addresses listed?
If you see several addresses when you run ipconfig or ifconfig, each one belongs to a different network connection. You might have one for Wi-Fi, one for Ethernet, one for a virtual network, or one for a VPN. The one you need depends on which connection you are using at that moment.
Can I change my IP address?
Your private IP address can be changed through your router's settings, though most people never need to. Your public IP address is assigned by your internet provider — you cannot change it directly, but you can restart your modem to request a new one, or contact your provider about a static address if you need one that does not change.
What if I cannot find my IP address using these steps?
Make sure you are connected to the network first — a device not connected to Wi-Fi or Ethernet will not have a private IP address. If you are connected and still cannot find it, restart your device and try again. If the problem continues, restart your router and reconnect.