Guide

How to find your IP address on Windows 11 and 10

Step-by-step ways to find your private and public IP address on Windows 11 and Windows 10 — through Settings, Command Prompt (ipconfig) and PowerShell.

Updated 21 November 2026 · 1 min read

Windows shows your private IP (the address on your local network). To see your public IP — the one websites see — open our home page on that computer.

Method 1: Settings (Windows 11)

  1. Press Windows + I to open Settings.
  2. Select Network & internet.
  3. Click Wi-Fi (or Ethernet), then the name of your connection.
  4. Scroll to IPv4 address — that is your private IP. Your IPv6 address is listed just above it if you have one.

Method 2: Settings (Windows 10)

  1. Open Settings → Network & Internet.
  2. Click Properties under your current connection (or View hardware and connection properties).
  3. Look for IPv4 address.

Method 3: Command Prompt

  1. Press Windows + R, type cmd and press Enter.
  2. Type ipconfig and press Enter.
  3. Under your active adapter ("Wireless LAN adapter Wi-Fi" or "Ethernet adapter"), find:
    • IPv4 Address — your private IP, e.g. 192.168.1.24
    • Default Gateway — your router's IP, e.g. 192.168.1.1

Run ipconfig /all to also see your MAC address ("Physical Address") and DNS servers.

Method 4: PowerShell (public IP too)

Open PowerShell and run:

Get-NetIPAddress -AddressFamily IPv4 | Where-Object PrefixOrigin -ne 'WellKnown'

To print your public IP from the same window, run:

curl.exe https://ipclarify.com

It returns just your IP as plain text.

Which IP do I need?

  • Setting up port forwarding, a printer or a game server on your network? Use the private IPv4 address.
  • Giving someone access from outside, whitelisting a server or checking a VPN? Use your public IP from our home page.
  • Opening your router settings? Use the default gateway — see how to find your router's IP.

Troubleshooting

If ipconfig shows an address starting with 169.254, Windows could not get an address from your router. Restart the router, then run ipconfig /release followed by ipconfig /renew in Command Prompt.

All tools

Look up

Privacy & VPN

Network tools

More