How to Find Your IP Address on Windows 11

Your Windows 11 PC has two addresses that people call "my IP". The local IP is the one your router gave the PC, usually starting with 192.168 or 10. The public IP is the one websites see, and it belongs to your router, not your PC. This guide shows five ways to find the local one, one way to find the public one, and how to read what you see.

Advertisement

Method 1: Settings (easiest)

  1. Press Windows + I to open Settings.
  2. Select Network & internet.
  3. Select Wi-Fi, then the network you are connected to. On a cable connection, select Ethernet.
  4. Scroll down to the properties list.

You will see IPv4 address (your local IP), IPv6 address if your network has one, IPv4 DNS servers, and Physical address (MAC), which identifies the network adapter itself.

Method 2: Command Prompt (fastest)

Press Windows + R, type cmd and press Enter. Then run:

ipconfig

Find the adapter you are using, "Wireless LAN adapter Wi-Fi" or "Ethernet adapter Ethernet". The line IPv4 Address is your local IP. Default Gateway is your router's address, which you type into a browser to open the router's settings.

For more detail, including the MAC address, DNS servers and when the address lease expires, run ipconfig /all.

Method 3: PowerShell or Terminal

Right-click the Start button and choose Terminal. For a short list of IPv4 addresses on every adapter:

Get-NetIPAddress -AddressFamily IPv4

For one tidy summary per connection, with address, gateway and DNS together:

Get-NetIPConfiguration

Method 4: Task Manager

Press Ctrl + Shift + Esc, open the Performance tab and select Wi-Fi or Ethernet. The IPv4 and IPv6 addresses are shown under the graph. This is handy when you already have Task Manager open to check a slow connection.

Method 5: Control Panel (classic view)

Press Windows + R, type ncpa.cpl and press Enter. Double-click your connection, then select Details. This older window still works in Windows 11 and lists the address, subnet mask, gateway, DNS servers and lease times in one place.

How to find your public IP

None of the methods above show your public IP, because Windows does not know it. Your router holds that address. To see it, open our IP checker, which shows the address along with your provider and approximate location.

If you prefer the command line, this PowerShell command asks a public service for it:

Invoke-RestMethod https://api.ipify.org

How to read what you found

  • 192.168.x.x, 10.x.x.x or 172.16 to 172.31: a normal private address from your router. See public vs private IP addresses.
  • 169.254.x.x: Windows gave itself an address because it could not reach the router's DHCP service. You are not properly connected. See what a 169.254 address means.
  • 100.64.x.x to 100.127.x.x on the router's internet side: your provider shares one public address among many customers (carrier-grade NAT).
  • A long address with colons: that is IPv6. You can have IPv4 and IPv6 at the same time. Our IPv6 test shows whether yours works.

Which address do you need?

  • Setting up a printer, a shared folder or Remote Desktop inside your home: the local IP.
  • Logging in to the router: the Default Gateway.
  • Port forwarding or hosting a game: the local IP for the rule in the router, the public IP for the people connecting from outside.
  • A support agent asks for "your IP": usually the public IP. Ask if unsure.

Why your local IP changes

By default the router lends your PC an address for a limited time and may hand out a different one later. That is DHCP, and it is fine for most uses. If a device needs to keep the same address, such as a printer or a PC you forward ports to, reserve it in the router's DHCP settings. You can also set it in Windows under Settings > Network & internet > your connection > IP assignment > Edit, but a reservation in the router avoids address conflicts. To plan address ranges, use the subnet calculator.

Advertisement