The fastest way to find your IP address on Windows is to press Windows+R, type cmd, and run ipconfig. The line labeled "IPv4 Address" under your active adapter is your local address. For the public address the internet sees, run curl ifconfig.me in the same window — it works on Windows 10 (version 1803 and later) and Windows 11 without installing anything. Windows ships at least four more ways to surface the same numbers, and each one shows something slightly different.

Why Windows Has Three Addresses Called "IP" and Which One You Need

Windows can report a local IPv4 address, an IPv6 address, and a public address, and they serve different jobs. The local address — usually starting 192.168.x.x, 10.x.x.x, or 172.16–31.x.x — identifies your PC on your own network. The public address identifies your whole connection to the internet. If you're setting up a printer or port forwarding, you need the local one; if a game server or support agent asks, they want the public one.

The private ranges come from RFC 1918, the standards document that reserved them for home and office networks. Anything in 192.168.0.0 to 192.168.255.255, 10.0.0.0 to 10.255.255.255, or 172.16.0.0 to 172.31.255.255 is non-routable on the open internet. That's why two households can both have a 192.168.1.10 device without conflict.

IPv6 addresses (eight groups of four hex digits, often starting fe80:: for link-local) appear alongside IPv4 in Windows. Most home networks assign both. If a support agent asks for "your IP" without specifying, give them the IPv4 address unless told otherwise — it's the one every tool still displays first.

A quick rule: run ipconfig for local, use a website or curl command for public. The gap between them is your router or carrier. That gap also means your public address is shared with everyone on your home network, so changing one device's local address doesn't change what the internet sees.

The Win+R to ipconfig Route Most People Actually Use

Press Windows+R, type cmd, hit Enter, and at the black prompt type ipconfig then Enter. Windows lists every network adapter with its IPv4 Address, Subnet Mask, and Default Gateway. You want the adapter with a filled-in Default Gateway — that's the one currently connected. The gateway number also tells you your router's login address.

If the list is long and cluttered with disconnected adapters, type ipconfig /all instead. That version also shows your MAC address ("Physical Address"), DHCP server, DNS servers, and lease times. The lease line matters because your local address is temporary: it's assignable by your router's DHCP server and can change after a reboot or lease expiry unless you've set a static reservation.

Watch for these failure cases. If the output shows 169.254.x.x, Windows failed to reach a DHCP server and self-assigned a fallback address — you're not properly connected even if Wi-Fi shows bars. If ipconfig prints nothing useful, run it from an elevated prompt or check that the adapter isn't disabled in Settings under Network & Internet.

The whole sequence takes under ten seconds with the keyboard. Don't type ipconfig into the Run box itself — Windows will flash a window and close it before you can read anything. Launching cmd first keeps the window open.

How to Open Command Prompt Three Ways When Win+R Fails

Some managed work laptops disable the Run dialog, and some keyboards lack a Windows key. Try these instead. First, click Start, type cmd, and press Enter. Second, press Ctrl+Shift+Esc for Task Manager, choose Run new task, and type cmd. Third, press Windows+X (or right-click Start) and pick Terminal or Windows PowerShell — both accept ipconfig and curl exactly the same.

In Windows 11, Windows Terminal replaced the old console host as the default, so a Start-menu search for "cmd" may open Terminal with a Command Prompt tab. The commands behave identically. On Windows 10, PowerShell is the default right-click Start option on newer builds, and ipconfig still runs inside it.

For a scriptable version, press Windows+R and type cmd /k ipconfig — the /k switch keeps the window open after the command finishes. That's a small trick worth remembering if you're walking someone through it over the phone and their screenshots keep vanishing.

If group policy blocks cmd.exe entirely (common in some enterprise setups), open Settings > Network & Internet > Properties on the active connection. The IPv4 address appears there in the graphical interface, no console required.

Settings and Taskbar Routes That Show the Local IP Without a Console

Open Settings (Windows+I), go to Network & Internet, and click Properties next to your active connection name. The IPv4 address sits in a list under the connection details. On Windows 11, the same panel labels it "IPv4 address" and also shows IPv6, DNS servers, and the physical MAC address. This route works on every Windows 10 and 11 edition, including Home.

The taskbar flyout is even quicker. Click the network icon in the system tray, click the connected network's name, and the details card on Windows 11 lists the IPv4 address directly. On Windows 10, you'll need one extra click into Network & Internet settings. Either way, nothing to type.

Desktop users on Ethernet should right-click the network icon and choose Network & Internet settings, then click Ethernet > your connection name. The Properties panel loads the same data.

If the Settings app misbehaves — it happens after certain cumulative updates — fall back to Control Panel. Run ncpa.cpl from the Run dialog, double-click the adapter, click Details, and read "IPv4 Address" from the list. That legacy dialog has stayed stable since Windows Vista.

Five Ways to Read Your Public IP Compared Side by Side

For the address the internet sees, you have more ways than most people realize. The table below compares them on speed, dependency, and what they actually return.

Method Exact input Extra software Shows IPv6? Works behind corporate proxy
curl command curl ifconfig.me None (curl ships with Windows 10 1803+) Yes if you use curl -6 ifconfig.me Usually blocked
PowerShell (Invoke-RestMethod ifconfig.me/ip) None With -6 switch variations Often blocked
Web browser Search "what is my IP" or visit ipinfo.io None Depends on site Yes, returns proxy address
Router admin page Log in to gateway address from ipconfig None Usually no Yes, shows WAN address
Third-party app Installed utility Yes Varies No

The curl method is the cleanest on Windows 11 because curl has been a shipped component since Windows 10 version 1803 (released April 2018). On older Windows 10 builds, curl may not exist, so PowerShell is the fallback there. The ifconfig.me service has run since 2011 and returns a plain address with no HTML.

The web browser route has a caveat worth naming: search engines and IP-lookup websites show you the address of the connection reaching them, which is your proxy or VPN exit node if you're using one. That's not a bug — it's the correct public address from the site's perspective — but it can confuse a support agent expecting your home address. Turn off the VPN before checking if the number needs to match what your ISP assigned you.

The router admin page is the honest source. Log in to your gateway (usually 192.168.1.1 or 192.168.0.1), look for a "WAN" or "Internet" status page, and read the address there. If it shows a carrier-grade NAT range (100.64.x.x to 100.127.x.x), your ISP is sharing one public address across many customers, and no website or command will show you a unique public IP.

The curl and PowerShell Commands That Return One Number

For a single-line answer, use the Command Prompt: type curl ifconfig.me and press Enter. You'll see one address, no labels. If it fails with "not recognized," curl isn't on that build — use powershell -Command "Invoke-RestMethod ifconfig.me/ip" instead, which works on Windows 7 through 11.

To test for an IPv6 public address, run curl -6 ifconfig.me. If your ISP and router support it, you'll get an eight-group hex address. If it hangs and times out, you have no working IPv6 route — common enough that Microsoft still ships a Windows update that can disable IPv6 if mismisconfigured.

For a recorded history, use curl -w "\n" ifconfig.me (the -w "\n" prints a clean line break for pasting into a ticket). The old standby nslookup myip.opendns.com resolver1.opendns.com returns an answer only if your router is configured for it, so don't rely on it off the shelf.

One failure to expect: if curl returns nothing and exits immediately, a corporate firewall likely blocked the request. Try a browser to ipinfo.io to confirm, and if that also fails or returns a corporate address, you'll need IT to confirm the external address from the gateway side.

Why Your IP Shows 169.254 or 0.0.0.0 and What to Do Next

An address beginning 169.254 is an APIPA (Automatic Private IP Addressing) fallback. Windows tried to lease an address from your router and couldn't reach the DHCP server, so it assigned itself a link-local address from the reserved 169.254.0.0/16 range. You can usually ping other devices on the same segment but nothing beyond.

The usual culprits are a router that's rebooting, an Ethernet cable that's half-seated, or a Wi-Fi password change that disconnected the device. Restart the router first, then the PC. If it persists, open an admin prompt and type ipconfig /release followed by ipconfig /renew — those commands drop and re-request the lease.

0.0.0.0 shows up on inactive adapters or VPN virtual adapters like TAP drivers. It means the adapter has no address assigned, which is normal for a VPN tunnel that isn't connected. Ignore it unless you expected that adapter to be live.

A local address outside the RFC 1918 ranges that starts with 100.64.x.x means carrier-grade NAT. Your ISP is sharing a public address across customers, and inbound connections won't reach you without port forwarding arranged on their side. For gaming or remote access, ask the ISP about a static public add-on.

How the Three HTTP Lookup Tools Differ on Range, Logging, and Speed

When you use a website to fetch your public IP, you're sending a request to a third party who can log it. The three most-used services behave differently. ifconfig.me is a lightweight open service that returns plain text and is widely cited in documentation; no formal privacy policy is prominent on its site, so treat it as low-privilege for non-sensitive checks.

ipinfo.io pairs the IP with approximate geolocation (city-level, derived from ISP registration) and a privacy policy; its free tier rate-limits lookups. whatismyipaddress.com is a content-heavy ad-supported site — its database cross-references ISP data, and location accuracy varies by carrier. None of them reveal more than the public address already visible to every server you connect to, but all three can log your request, which is worth knowing before you paste in a business-support ticket.

The router admin method avoids this entirely. It's also the only one that distinguishes your assigned WAN address from a shared carrier NAT address. If you have credentials for the gateway, that's the more trustworthy source.

For fastest results with the least imposition: curl first, router second, browser third. The speed difference is fractions of a second; the trust difference isn't.

Reading Your IPv6 and Subnet Details Without Extra Tools

Run ipconfig /all and the output labels IPv6 entries explicitly — look for "IPv6 Address" and "Temporary IPv6 Address." Windows generates a temporary address (privacy extension, defined in RFC 4941) by default, and communicates with outside sites from that temporary address. The permanent link-local address starting fe80:: is what you'd use for local identification.

The Subnet Mask line, typically 255.255.255.0, pairs with your IPv4 address to define your local network's range. In that common case, 192.168.1.0 through 192.168.1.255 are all local, and 192.168.1.255 is the broadcast address. If you're assigning a static IP for a printer, pick a number well outside the DHCP pool (often 100–200 in consumer routers) — the DHCP lease range is listed on most router admin pages.

The Default Gateway line is your router's local address. You'll need it to log in to the admin panel and see your WAN address. If it reads 192.168.1.1, point a browser there. Default credentials vary by manufacturer; check the router's case sticker or manual.

For scripted use, Get-NetIPAddress -AddressFamily IPv4 in PowerShell lists every adapter's address with interface names in a single table — useful if you're pulling this info into a monitoring script.

FAQ

Does finding my IP address require administrator rights?

No — ipconfig, the Settings panel, and curl all run from a standard user account. Only ipconfig /release and /renew may prompt for elevation on domain-joined machines. The read-only commands never do.

Why does my IP address change every time I reconnect?

DHCP leases are typically one to 24 hours on consumer routers, and the router may hand you a different address on reconnection if other devices have claimed your previous one. Outside addresses change even more often because ISPs rotate them; home broadband customers often keep the same WAN address for days or weeks.

Is my local IP the same as my friend's on a different network?

Very often yes — 192.168.1.x and 192.168.0.x are the two most common subnet defaults in consumer equipment. That overlap is harmless because the addresses are non-routable across networks. Only your public address is globally unique.

Can I find someone else's IP address from a message they sent?

No consumer-accessible method gives you a peer's IP from a typical messaging app; the platforms proxy the traffic. If a support portal needs a remote user's address, have them run ipconfig and read the IPv4 line themselves.

How long does it take to check public vs. local IP?

With the two commands above, roughly five seconds each. The website route is about ten seconds including the browser launch. The router login depends on whether credentials are handy.

What range is 127.0.0.1?

That's the loopback address, permanently assigned to "this computer." It never reaches a network. If ipconfig shows it under an adapter, that adapter is a virtual one used for local-only traffic (VPN, virtual machine host).

Do I need to hide my IP address?

Only if you have a specific threat model — public Wi-Fi on a hostile network, or regional content restrictions. Hiding it changes the address a website sees but doesn't make your traffic private by itself. Turn off any VPN before reporting your public IP to a support agent.