Your IP address is a number your device uses to connect to the internet — finding it takes one to three steps depending on your device
Your IP address is a unique identifier assigned to your device whenever it connects to a network. It looks like four numbers separated by periods: 192.168.1.5 or 8.8.8.8. You may need it to troubleshoot connection problems, set up a printer on your home network, or configure security settings. The steps to find it differ slightly between Windows, Mac, iPhone, and Android.
There are two types of IP addresses you might encounter. Your local IP address (also called private IP) is used only within your home or office network — it typically starts with 192.168 or 10.0. Your public IP address is what websites and services see when you connect to the internet — it's assigned by your internet service provider. Most people need their local IP address for home network tasks.
Key Takeaways
- On Windows, open Command Prompt and type ipconfig to see your local IP address listed as "IPv4 Address".
- On Mac, go to System Settings, click Network, select your connection, and your IP address appears under "IP Address".
- On iPhone, open Settings, tap Wi-Fi, select your network, and the IP address shows under "IP Address".
- On Android, go to Settings, tap About Phone, select Status, and scroll to find "IP Address".
- To find your public IP address, search "what is my IP" in any web browser — the first result will show it.
Finding your IP address on Windows
The fastest way on Windows is through Command Prompt. Press the Windows key and type cmd, then press Enter. A black window opens. Type ipconfig and press Enter. Your local IP address appears next to "IPv4 Address" — it will be a number like 192.168.1.100.
If you prefer not to use Command Prompt, you can find it through Settings instead. Open Settings, click Network & Internet, then select Wi-Fi or Ethernet depending on how you're connected. Click on your active connection, and your IP address appears under "IP address".
Finding your IP address on Mac
Open System Settings and click Network in the sidebar. Select your active connection — either Wi-Fi or Ethernet. Your local IP address appears immediately under "IP Address" at the top of the window.
If you're using an older Mac with System Preferences instead of System Settings, the path is the same: open System Preferences, click Network, select your connection, and the IP address is displayed.
Finding your IP address on iPhone
Open Settings and tap Wi-Fi. Find the network you're currently connected to and tap the information icon (a small circle with an "i" inside). Your local IP address appears under "IP Address" on the next screen.
This method only works when you're connected to Wi-Fi. If you're using cellular data, your device doesn't have a local IP address on your home network, though your carrier assigns you a public IP address for internet traffic.
Finding your IP address on Android
Open Settings and scroll down to About Phone. Tap Status or Device Information (the exact name varies by manufacturer). Scroll down until you see "IP Address" — this is your local IP address on your current Wi-Fi network.
Some Android phones place this information in a different location. If you don't find it under Status, try Network or Wi-Fi Settings instead. Look for an option that shows details about your current connection.
Finding your public IP address
Your public IP address is what the outside internet sees. To find it, open any web browser and search for "what is my IP". The first result will display your public IP address prominently — no installation or login required.
Alternatively, you can visit websites like whatismyipaddress.com or ipinfo.io directly. All of these sites show the same information: your public IP address and sometimes additional details like your approximate location and internet service provider.
When you need each type of IP address
Use your local IP address when setting up devices on your home network, such as printers, smart home devices, or security cameras. You also need it if you're troubleshooting network connection problems or configuring your router's settings. Your local IP address only works within your home or office network.
Use your public IP address if a website or service asks for it, or if you're troubleshooting issues with your internet connection itself. Your public IP address changes periodically — usually when you restart your router or after several days of continuous use. This is normal and expected.
Frequently Asked Questions
Why does my IP address keep changing?
Your internet service provider assigns IP addresses dynamically, meaning they change over time. Your local IP address on your home network typically stays the same unless you restart your router or manually change it. Your public IP address changes less frequently but will shift eventually.
Is it safe to share my IP address?
Sharing your local IP address is generally safe — it only works within your own network. Sharing your public IP address carries minimal risk for most people, though it does reveal your approximate location and internet provider. Avoid sharing it with untrusted sources.
What if I can't find my IP address using these steps?
Double-check that you're looking in the right place for your device type. If Command Prompt on Windows shows no results, try restarting your computer. On mobile devices, make sure you're connected to Wi-Fi — you won't see a local IP address on cellular data.
Can I change my IP address?
You can change your local IP address through your router settings, though this requires technical knowledge and isn't necessary for most people. Your public IP address changes automatically over time and cannot be manually changed — it's assigned by your internet service provider.