Your IP address is in your network settings, and the fastest way to find it depends on your device
Your IP address is a string of numbers assigned to your device whenever it connects to the internet. It looks like 192.168.1.5 (private, used on your home network) or 203.45.67.89 (public, visible to websites you visit). You need to know it to troubleshoot network problems, set up port forwarding, or configure devices on your home network.
Where you find it depends on whether you want your private IP (the one your router assigns) or your public IP (the one your internet provider assigns). Most of the time you need the private one — it's what you use to talk to your printer, security camera, or gaming console at home.
Key Takeaways
- On Windows, open Settings > Network & Internet > Wi-Fi, select your network, and scroll to IPv4 address.
- On Mac, go to System Settings > Network, select your connection, and look for the IP address field.
- On iPhone or iPad, open Settings > Wi-Fi, tap the network name, and read the IP Address line.
- On Android, go to Settings > About Phone > Status, or Settings > Network & Internet > Wi-Fi > Advanced on newer versions.
- To find your public IP, search "what is my IP" in any browser — the first result will show it.
Finding your private IP on Windows
Open the Settings app and go to Network & Internet. On the left sidebar, click Wi-Fi if you're connected wirelessly, or Ethernet if you're plugged in with a cable. The next screen shows your current network name.
Click the network name to open its details. Scroll down until you see IPv4 address — that's your private IP. It usually starts with 192.168 or 10.0. You'll also see your subnet mask and default gateway on the same screen, which you may need for advanced network setup.
If you prefer the command line, open Command Prompt (search for "cmd" in the Start menu) and type ipconfig, then press Enter. Look for "IPv4 Address" in the output — it's the same number you'd find in Settings, just faster if you're comfortable with text commands.
Finding your private IP on Mac
Click the Apple menu and select System Settings (or System Preferences on older macOS versions). Go to Network on the left sidebar. Select your active connection — either Wi-Fi or Ethernet depending on how you're connected.
The right panel shows your connection details. Look for the IP Address field — that's your private IP. Below it you'll see your subnet mask and router address if you need them for network troubleshooting.
From the Terminal app, you can also type ifconfig and press Enter. Find the section for your active connection (usually en0 for Ethernet or en1 for Wi-Fi) and look for "inet" followed by your IP address.
Finding your private IP on iPhone and iPad
Open the Settings app and tap Wi-Fi. Find the network you're currently connected to — it has a checkmark next to it. Tap the network name or the info icon (circle with an i) next to it.
The next screen shows your connection details. Scroll down to find IP Address — that's the number you need. You'll also see your subnet mask, router, and DNS settings on the same screen.
There's no way to find your private IP on cellular data from the Settings app. If you need it while using mobile data, you'll have to switch to Wi-Fi first or use a third-party app from the App Store.
Finding your private IP on Android
The location varies depending on your Android version and phone manufacturer. On most recent phones, open Settings and go to Network & Internet > Wi-Fi. Tap the network you're connected to, then tap Advanced or the gear icon.
Look for IP address in the list — that's your private IP. If you don't see an Advanced option, try tapping and holding the network name, or look for a details button.
On older Android phones or some Samsung devices, go to Settings > About Phone > Status and scroll to find IP address. If neither path works on your phone, search your device's settings for "IP address" — Android's search function will take you directly to it.
Finding your public IP address
Your public IP is what websites see when you visit them. It's assigned by your internet provider and changes periodically. To find it, open any web browser and search for "what is my IP" or "my IP address".
The first result will show your public IP in large text. You can also visit sites like whatismyipaddress.com or ipinfo.io directly. All three methods show the same information — your public IP and sometimes your general location and internet provider.
Your public IP is different from your private IP. Websites cannot see your private IP (192.168.x.x or 10.0.x.x), and devices outside your home network cannot reach your private IP directly. This is why port forwarding exists — it tells your router to send traffic from your public IP to a specific private IP on your home network.
When you need each type of IP address
Use your private IP when you're setting up devices on your home network. If you're configuring a printer, security camera, smart speaker, or game console, you need the private IP of that device. You also need your own device's private IP if you're troubleshooting network problems or setting up remote access within your home.
Use your public IP when you're troubleshooting internet connectivity with your provider, checking if you're being blocked by a website, or setting up remote access from outside your home network. Your public IP is also what appears in your router's logs and what websites log when you visit them.
If you're port forwarding to run a server or game from home, you need both: your public IP (so people know where to reach you) and the private IP of the device running the service (so your router knows where to send the traffic).
Frequently Asked Questions
Why does my IP address keep changing?
Your public IP changes because your internet provider reassigns it periodically — usually every few days or weeks. Your private IP can also change if your router restarts or if you reconnect to Wi-Fi. If you need a stable private IP for a device like a printer or camera, you can set a static IP in your router's settings, which locks that device to the same private IP.
Is my private IP address the same as my MAC address?
No. Your MAC address is a hardware identifier that never changes, while your IP address is assigned by your network and can change. They serve different purposes — your MAC address identifies your device on the local network, while your IP address routes traffic to it. You need both for some network troubleshooting, but they're completely different numbers.
Can someone hack me if they know my public IP?
Knowing your public IP alone is not enough to hack you — it's like knowing someone's mailing address. They would also need to find an open port and a vulnerability in software running on that port. A firewall blocks most ports by default, and keeping your operating system and software updated closes most vulnerabilities. Your private IP is safe to share because it only works on your home network.
What if I can't find the IP address in my settings?
Make sure you're looking in the right place for your device type — the steps differ between Windows, Mac, iPhone, and Android. If you're on a corporate or school network, your device might not show the IP address in settings. Try the command line method instead: ipconfig on Windows, ifconfig on Mac, or search your settings for "IP address" on mobile devices.