Find IP Address in Windows 7, 10, or 11

Learn how to quickly find your IPv4 and IPv6 addresses on Windows 7, Windows 10, and Windows 11 using both GUI and command-line tools.

Using Settings and Control Panel

On Windows 10 and 11, you can find your IP address from the Settings app. Open Settings, go to Network & Internet, choose Wi‑Fi or Ethernet, and select your active connection. Scroll down to view IPv4 and IPv6 address details.

On Windows 7, open the Control Panel, navigate to Network and Sharing Center, and click your active connection. Choose Details to see the IPv4 and IPv6 addresses assigned to your adapter.

Using Command-Line Tools (IPCONFIG)

Command-line tools provide a fast, script-friendly way to inspect your IP settings. Open Command Prompt and run ipconfig to see the IPv4 address, subnet mask, and default gateway for each adapter.

For more detail, use ipconfig /all. This shows DHCP information, DNS servers, and other useful fields when troubleshooting network issues or documenting your configuration.

Command examples
Windows — Show IP configuration

Run these in Command Prompt or PowerShell.

ipconfig
ipconfig /all
        

Finding Your Public IP Address

The IP addresses shown in Windows are typically private addresses used on your local network. To find the public IP that websites see, visit an IP-checking site in your browser or use tools like curl or PowerShell to query external services.

Remember that all devices behind the same router often share a single public IP, so the address you see externally may be the same for multiple computers on your network.