How to find your IP address in Windows 10

To find the IP (Internet Protocol) address assigned to your Windows 10 PC, run ipconfig in PowerShell or Command Prompt and read the IPv4 address for the adapter you use. To see the public IP that a website observes, check separately in a browser on the same PC. These addresses commonly differ on a home network.

Find the PC’s IP address with ipconfig

  1. Right-click Start and open Windows PowerShell. If it is absent, search Start for Command Prompt. Administrator privileges are unnecessary for this command.
  1. Type the command below and press Enter.
ipconfig
  1. Find IPv4 Address under Wi-Fi for a wireless connection or Ethernet for a wired one. Skip disconnected adapters. Default Gateway is the address of the device that forwards traffic to other networks, usually your router.

This example shows a PC connected by Ethernet. Your numbers will differ.

IPv4 Address: 192.168.1.24
Default Gateway: 192.168.1.1

The PC’s IPv4 address in the example is 192.168.1.24. The default gateway is 192.168.1.1. If you are asked for IPv6, check that field on the same adapter.

Microsoft Learn’s ipconfig command reference

Find the active connection’s IP in Settings

  1. Press Windows+I and open Network & Internet.
  2. On Status, select Properties for the active connection. If your version lacks that button, select Wi-Fi or Ethernet on the left and open the connected network.
  3. Read IPv4 address under Properties. If both connections are active, compare the same adapter in Settings and ipconfig.

Microsoft Support’s Windows network settings guide

Check the public IP that websites see

In a browser on the same PC, search for “my IP address” and check the address shown by a lookup service. That is the address seen for that particular connection. A service reached over IPv6 can display an IPv6 address.

A PC and phone on the same home connection can have different private IPv4 addresses and appear under the same public IPv4 address. An example for illustration is 203.0.113.24, an address reserved for documentation.

RFC 5737 on IPv4 addresses reserved for documentation

Why the PC and router addresses may differ

A virtual private network (VPN) or proxy can make the browser lookup show the service’s exit address. When comparing your lookup with the router’s internet-facing (WAN) address, check both at the same time and use the same IP version.

If your router’s WAN IPv4 is in 100.64.0.0/10, your provider may use carrier-grade network address translation (CGNAT) to share public IPv4 addresses between customers. The router’s WAN address can then differ from what an internet service sees.

RFC 6598 on the shared IPv4 address range