How to Find Your IP Address on Windows 10 & 11
Windows provides several ways to find both your public IP address (visible to the internet) and your private IP address (your local network address assigned by your router). Knowing both is essential for network troubleshooting, port forwarding, and understanding your privacy posture.
Method Comparison
| Method | What It Shows | Public or Private | Command / Path |
|---|---|---|---|
| Visit whatsmyipnow.com | Your public IPv4 and IPv6 | Public | Open any browser |
| Command Prompt - Ipconfig | All network adapters and their private IPs | Private | ipconfig |
| ipconfig /all | Private IP, subnet, gateway, DNS, MAC address | Private | ipconfig /all |
| PowerShell | Structured IP info per adapter | Private | Get-NetIPAddress |
| Settings → Network | Connected adapter IP, subnet, gateway | Private | Settings → Network & Internet → your adapter → Properties |
| Task Manager → Performance | Quick IP per adapter (Windows 11) | Private | Task Manager → Performance → Wi-Fi or Ethernet |
Using Command Prompt (ipconfig)
Press Win + R, type cmd, press Enter. In the Command Prompt window, type ipconfig and press Enter. Look for the adapter you are using (Wi-Fi or Ethernet). The IPv4 Address line shows your private IP (e.g. 192.168.1.100). The Default Gateway is your router's IP. For more detail including your MAC address and DNS servers, run ipconfig /all.
Using PowerShell
Open PowerShell (search "PowerShell" in the Start menu). Run Get-NetIPAddress -AddressFamily IPv4 for a table of all IPv4 addresses. Run Get-NetIPConfiguration for a comprehensive view including gateway and DNS per adapter.
Key Facts About Windows IP Addresses
- Your private IP (shown by ipconfig) starts with 192.168, 10., or 172.16–31 - It is never visible to external websites.
- Your public IP is assigned by your ISP and shared by all devices on your home network through NAT.
- Running
ipconfig /releasefollowed byipconfig /renewrequests a new private IP lease from your router via DHCP. - Windows 10 and 11 support IPv6 natively - If your router provides it, you will see an IPv6 address in ipconfig output.
- To set a static private IP, go to Settings → Network & Internet → your adapter → Edit → Manual.