How to Find Your Windows IP Address
In this article
To find your Windows IP address, open Command Prompt and type ipconfig, then press Enter. Your IPv4 address is listed under the active network adapter. For a faster method, use ipconfig /all to see both IPv4 and IPv6 addresses along with more details. This guide covers all built-in Windows methods, including Settings and Control Panel, so you can find your IP whether you need it for networking, troubleshooting, or setting up a printer.
What You'll Need
- A Windows PC (Windows 10 or Windows 11; steps are similar on older versions)
- Administrator access is not required for basic IP lookup, but some details may need it
- An active network connection (Wi-Fi or Ethernet) to see a valid IP address
Step-by-Step
Method 1: Using Command Prompt (Fastest)
- Press Windows key + R to open the Run dialog.
- Type
cmdand press Enter. This opens Command Prompt. - Type
ipconfigand press Enter. - Look for the section labeled Ethernet adapter or Wireless LAN adapter (depending on your connection).
- Find the line that says IPv4 Address (e.g., 192.168.1.10). That is your local IP address.
- If you need more details like subnet mask and default gateway, type
ipconfig /allinstead.
Method 2: Using Windows Settings (GUI)
- Open Settings (Windows key + I).
- Go to Network & Internet.
- Select Wi-Fi or Ethernet depending on your connection.
- Click on the active network name (for Wi-Fi) or the connection icon (for Ethernet).
- Scroll down to the Properties section. Your IP address is listed as IPv4 address.
Method 3: Using Control Panel
- Open Control Panel (search for it in the Start menu).
- Click Network and Sharing Center.
- Click on Change adapter settings on the left sidebar.
- Right-click your active network adapter (Wi-Fi or Ethernet) and select Status.
- Click the Details button. Your IP address appears next to IPv4 Address.
Method 4: Using PowerShell (Alternative)
- Right-click the Start button and select Windows PowerShell or Terminal.
- Type
Get-NetIPAddress -AddressFamily IPv4and press Enter. - Look for the interface with a status of Up and note the IPAddress value.
Common Mistakes
- Looking at the wrong adapter: If you have both Wi-Fi and Ethernet, you might see multiple IP addresses. Check which one is active (usually the one with a connected status).
- Confusing public and private IP: The IP you find with these methods is your local (private) IP. Your public IP (seen by the internet) is different and not shown in ipconfig.
- Using the wrong command: Typing
ipconfigwith a typo (likeipconfigs) will give an error. Double-check spelling. - Assuming the IP is static: Most home networks use DHCP, so your IP can change over time. Recheck if you have connection issues.
Tips
- Use
ipconfig /allto see additional details like DHCP server, DNS servers, and MAC address. - If you need your public IP, simply search “what is my IP” in a web browser, or use a website like whatismyip.com.
- For a quick copy of the IP, select it in Command Prompt and press Enter to copy it to the clipboard.
- If you’re troubleshooting, ping your IP or use
ipconfig /renewto get a new IP from the router.
Troubleshooting
If you don't see an IPv4 address
This usually means your network adapter isn't getting an IP from the router. Try these steps in order:
- Restart your router and PC.
- In Command Prompt, type
ipconfig /releasethenipconfig /renewto request a new IP. - Check if your Wi-Fi is turned on and connected to the correct network.
- If you're using Ethernet, try a different cable or port.
- Run the Windows network troubleshooter: Settings > Network & Internet > Status > Network troubleshooter.
If the IP looks like 169.254.x.x
This is an Automatic Private IP Address (APIPA). It means your PC couldn't reach the DHCP server. Check the router connection and restart both devices.
If you have multiple adapters and don't know which is active
In Command Prompt, look for the adapter with a “Media State” that says “Media disconnected” – that one is not active. The active adapter will show an IPv4 address.
If you can't open Command Prompt
Use PowerShell instead (right-click Start > Windows PowerShell). Or use the Settings method – it doesn't require any command line.
Frequently Asked Questions
What is the difference between IPv4 and IPv6?
IPv4 is the traditional 32-bit address (like 192.168.1.1). IPv6 is the newer 128-bit format (like fe80::1). Most networks use both; your local IP is usually IPv4.
Is my IP address the same as my public IP?
No. The IP you find with ipconfig is your local IP on your home network. Your public IP is assigned by your ISP and is what websites see. You can find it by searching “what is my IP” online.
Why does my IP address change?
Most routers use DHCP to assign IPs dynamically. Your IP can change when you reconnect to the network, after a reboot, or when the lease expires. To get a static IP, you'd need to configure it manually in your adapter settings.
Can I find my IP address without using commands?
Yes. Use Windows Settings (Network & Internet > Wi-Fi or Ethernet > Properties) or Control Panel (Network and Sharing Center > Change adapter settings > Status > Details).
What should I do if I see an IP like 0.0.0.0?
That usually means the adapter has no valid IP. Try ipconfig /release and ipconfig /renew, or restart your router.
Does my IP address reveal my exact location?
No. Your local IP is only used within your network. Your public IP can give a general idea of your city or region, but not your exact address.