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

MethodWhat It ShowsPublic or PrivateCommand / Path
Visit whatsmyipnow.comYour public IPv4 and IPv6PublicOpen any browser
Command Prompt - IpconfigAll network adapters and their private IPsPrivateipconfig
ipconfig /allPrivate IP, subnet, gateway, DNS, MAC addressPrivateipconfig /all
PowerShellStructured IP info per adapterPrivateGet-NetIPAddress
Settings → NetworkConnected adapter IP, subnet, gatewayPrivateSettings → Network & Internet → your adapter → Properties
Task Manager → PerformanceQuick IP per adapter (Windows 11)PrivateTask 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 /release followed by ipconfig /renew requests 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.