The fastest way to find your IP address on a PC is to open Command Prompt, type ipconfig, and look for the “IPv4 Address” listed under your active network adapter — it usually looks like 192.168.1.x. That gives you your private (local) IP. If you need your public IP — the one the rest of the internet sees — just search “what is my IP” in Google and it appears at the top of the results.

A desktop computer on a home office desk with network settings on screen
Your PC actually has two IP addresses: a private one for your home network and a public one for the internet.

That’s genuinely all there is to it for most people. But the reason this question confuses so many folks is that your PC has two different IP addresses, and which one you need depends entirely on what you’re trying to do. Let’s sort out both, then walk through every way to find them.

Private vs. Public IP: Why You Have Two

Think of it like a apartment building. Your private IP address (like 192.168.1.42) is your apartment number — it identifies your PC inside your home or office network so your router knows where to send data. Your public IP address (like 73.114.208.9) is the building’s street address — it’s what websites, game servers, and everyone else on the internet sees.

Your router translates between the two automatically. When you’re setting up a printer, sharing files between computers, or configuring a local media server, you need the private IP. When you’re checking whether your VPN is working, troubleshooting a game server ban, or whitelisting your connection somewhere, you need the public IP.

Method 1: Command Prompt (Fastest)

This works on every version of Windows and takes about ten seconds:

  1. Press Windows key + R, type cmd, and press Enter.
  2. Type ipconfig and press Enter.
  3. Find your active connection — “Wireless LAN adapter Wi-Fi” if you’re on Wi-Fi, or “Ethernet adapter” if you’re wired.
  4. The IPv4 Address line is your private IP.

If you see several adapters (including virtual ones from VPNs or virtual machines), look for the one that matches how you’re actually connected. Ignore anything labeled “Media disconnected.” Jot the address down if you’ll need it for printer setup or port forwarding — you’ll be pasting it into another device’s settings shortly.

Method 2: Windows Settings

If the command line isn’t your thing, the Settings app gets you the same information:

  1. Open Settings (Windows key + I) and go to Network & internet.
  2. Click Wi-Fi (or Ethernet), then click your connected network’s name.
  3. Scroll down to find the IPv4 address listed under your connection details.

On Windows 10 the path is nearly identical: Settings > Network & Internet > Wi-Fi (or Ethernet) > click the network name. Microsoft’s Windows support pages document both layouts if your menus look different.

Method 3: PowerShell (For Scripting Folks)

Open PowerShell and run:

Get-NetIPAddress -AddressFamily IPv4 | Where-Object {$_.InterfaceAlias -notlike “*Loopback*”}

This lists IPv4 addresses across all interfaces. It’s overkill for a one-time lookup, but handy if you’re writing a script or troubleshooting remotely.

How to Find Your Public IP Address

Your PC doesn’t store its public IP anywhere — it belongs to your router and your internet provider. The easiest way to see it:

  • Google it. Search “what is my IP” and Google displays it at the top of the results page. No clicks needed.
  • Use a lookup site. Sites like whatismyipaddress.com or ipchicken.com show your public IP plus your approximate location and ISP.
  • Check your router. Log into your router’s admin page (usually at 192.168.1.1 or 192.168.0.1) and look at the WAN or internet status page.

One caveat: if you’re running a VPN, the public IP you see will be the VPN server’s address, not your real one. That’s the whole point — but it trips people up when they’re trying to whitelist their home connection. Quick sanity check: look up your IP once with the VPN on and once with it off. If the two addresses differ, the VPN is genuinely routing your traffic.

When Do You Actually Need Your IP Address?

Most people never need it. But when you do, you really do:

  • Setting up a network printer or NAS: private IP, so your PC can find the device directly.
  • Port forwarding for games or servers: private IP of your PC, entered in your router’s settings.
  • Remote desktop: private IP on the same network; public IP (plus port forwarding or a VPN) from outside.
  • Checking a VPN connection: public IP — if it still shows your home location, the VPN isn’t working.
  • Getting unbanned from a game or forum: public IP, to check whether it’s actually your address that’s flagged or a shared one from your ISP.

FAQs

Does my IP address change?

Your private IP can change when devices reconnect to your router (unless you’ve set a static IP). Your public IP changes on your ISP’s schedule — days, weeks, or months depending on the provider. Both are usually dynamic for home connections.

Can two devices have the same IP address?

Not on the same network — that causes an “IP conflict” and breaks connectivity for both. Every device on your home network gets a unique private IP from the router. Public IPs are unique across the internet (with some carrier-grade NAT exceptions on mobile networks).

Is it safe to share my IP address?

Your private IP (192.168.x.x, 10.x.x.x) is meaningless outside your network — sharing it is harmless. Your public IP reveals your ISP and rough location (usually city-level), so don’t post it publicly, but there’s no need to panic about it either. If you’re concerned about privacy while browsing, that’s a separate topic from keeping your PC itself running smoothly — a VPN is the standard answer.

What does 192.168.1.1 mean?

That’s most likely your router’s own address on your home network, not your PC’s. Typing it into a browser opens your router’s admin login page. Your PC’s address will be something nearby, like 192.168.1.5.

Why does ipconfig show multiple IPv4 addresses?

Because you have multiple network interfaces — Wi-Fi, Ethernet, VPN adapters, virtual machine bridges, and so on. Each gets its own address. Look at the adapter matching your active connection and ignore the rest. If your Start menu is acting strange while you troubleshoot network issues, by the way, here’s how to fix a floating Start menu on Windows 11.