How to Find Your IP Address (Easy Steps)
In this article
Your IP address is a unique number assigned to your device when it connects to the internet. You might need it for setting up a printer, troubleshooting network issues, or allowing remote access. The quickest way to find it is to check your device's network settings. Below are step-by-step instructions for Windows, Mac, iPhone/iPad, Android, and your router.
What You'll Need
- Your device (computer, phone, or tablet) connected to the network.
- For the router method: access to your router's admin page (usually via a web browser).
Step-by-Step
On Windows 10 or 11
- Click the Start button (Windows logo) and type "cmd" (Command Prompt) in the search bar.
- Press Enter to open Command Prompt.
- Type ipconfig and press Enter.
- Look for the section labeled "Ethernet adapter" (if using a wired connection) or "Wireless LAN adapter" (if using Wi-Fi).
- Find the line that says "IPv4 Address" — the numbers next to it (e.g., 192.168.1.5) are your local IP address.
Note: Menu labels can differ slightly by Windows version, but the ipconfig command works on all recent versions.
On Mac (macOS)
- Click the Apple menu (top-left corner) and select System Settings (or System Preferences on older versions).
- Click Network.
- Select your active connection: Wi-Fi or Ethernet (on the left sidebar).
- Your IP address is displayed on the right side, often labeled "IP Address".
On iPhone or iPad (iOS)
- Open the Settings app.
- Tap Wi-Fi.
- Find the network you are connected to and tap the "i" icon next to it.
- Your IP address is shown under "IP Address".
On Android (varies by model)
- Open the Settings app.
- Tap Network & internet (or Connections on some Samsung devices).
- Tap Wi-Fi.
- Tap the network you are connected to (or the gear icon next to it).
- Scroll down to find "IP address" — it may be under "Advanced" or "View more".
Using Your Router (for any device)
- Open a web browser on any device connected to your network.
- Type your router's default gateway address into the address bar (common ones are 192.168.1.1, 192.168.0.1, or 192.168.2.1). You can find this by running ipconfig on Windows and looking for the "Default Gateway" line.
- Log in with your router's admin username and password (often printed on a sticker on the router).
- Look for a section called "Connected Devices", "Device List", or "DHCP Clients" — your device's IP address will be listed there.
Finding Your Public IP Address
- Open a web browser on any device.
- Go to a search engine like Google and type "what is my IP" — the result at the top shows your public IP address.
- Alternatively, visit a site like whatismyip.com — it displays your public IP immediately.
Common Mistakes
- Mixing up local and public IP: The IP you see in your device settings is your local (private) IP, used only within your home network. Your public IP is what websites see, and it's the same for all devices in your home.
- Looking at the wrong adapter: If you have both Ethernet and Wi-Fi active, you might see multiple IP addresses. Make sure you're reading the one for the connection you're actually using.
- Using the default gateway as your IP: The default gateway (e.g., 192.168.1.1) is your router's address, not your device's. Your device's IP will be different, like 192.168.1.5.
- Typing "ipconfig" incorrectly: It's ipconfig (no space, all lowercase). Common typos like "ip config" or "ipconfig.exe" may not work.
Tips
- Your local IP address usually starts with 192.168. or 10. — if you see something else, double-check you're looking at the right connection.
- If you need a static IP (one that doesn't change), you can set it in your device's network settings, but it's easier to reserve an IP in your router's DHCP settings.
- For remote access or hosting a server, you'll need your public IP, but note that it can change unless you pay for a static IP from your ISP.
- Write down your local IP if you frequently need it for network configuration — it can change after a router restart.
Troubleshooting
If the ipconfig command shows "Media disconnected": This means your device is not connected to the network. Check your Wi-Fi or Ethernet cable connection.
If you can't find the IP address on your phone: On some Android models, the IP address is hidden under "Advanced" or "View more" — tap those to expand the menu. On iPhones, make sure you're looking at the correct network (the one with a checkmark).
If you can't log into your router: Try the default credentials (often "admin" for both username and password). If they don't work, check the router's manual or look for a sticker on the router itself. If you've changed the password and forgotten it, you may need to reset the router to factory settings (this will erase your Wi-Fi name and password, so have them ready to reconfigure).
If the "what is my IP" search doesn't show anything: Make sure your browser is connected to the internet. Try a different search engine or visit a dedicated IP-checking site directly.
Frequently Asked Questions
What's the difference between IPv4 and IPv6?
IPv4 is the older, most common format (like 192.168.1.1). IPv6 is newer and looks like a long string of numbers and letters (e.g., fe80::1). Most devices have both, but you usually only need the IPv4 address for everyday tasks.
Can my IP address change?
Yes. Your local IP can change if you reconnect to the network or restart your router. Your public IP can change if your ISP assigns dynamic addresses (most home connections do).
Is my IP address private?
Your local IP is private and only visible inside your network. Your public IP is visible to websites you visit, but it doesn't reveal your exact location — usually just your city or region.
Why do I need my IP address?
You might need it for setting up a printer, allowing remote desktop access, or configuring port forwarding on your router. It's also useful for troubleshooting network problems.
Can I find my IP address without a computer?
Yes, you can use your phone or tablet. Just follow the steps for iPhone/iPad or Android above. You can also ask your router's admin page from any device with a browser.
What does 127.0.0.1 mean?
That's the loopback address — it always points to your own device. It's used for testing network software, but it's not your actual IP address.