How to Find the IP Address on a PC: Every Method Explained

Whether you're troubleshooting a network issue, setting up remote access, or configuring a router, knowing how to find your IP address on a PC is a fundamental skill. The tricky part? There's more than one IP address to know about — and which one you need depends entirely on what you're trying to do.

What Is an IP Address, and Why Does It Matter?

An IP address (Internet Protocol address) is a numerical label assigned to every device connected to a network. It's how devices identify and communicate with each other — think of it as a mailing address for your computer.

On a Windows PC, you'll typically deal with two distinct types:

  • Private IP address — the address your router assigns to your PC within your local network (home or office). Other devices on the same Wi-Fi or Ethernet network use this to reach your machine.
  • Public IP address — the address your internet service provider (ISP) assigns to your entire network. Websites and external services see this address when you browse online.

These are genuinely different numbers. Knowing which one you need before you start searching saves a lot of confusion.

How to Find Your Private IP Address on Windows 🖥️

Method 1: Using the Settings App (Windows 10 and 11)

This is the most straightforward approach for most users:

  1. Open Settings (Win + I)
  2. Go to Network & Internet
  3. Click your active connection — Wi-Fi or Ethernet
  4. Scroll down to find the IPv4 address listed under your connection properties

This method shows both your IPv4 and IPv6 addresses. IPv4 looks like four groups of numbers separated by dots (e.g., 192.168.1.x). IPv6 is longer and uses hexadecimal notation — most local network tasks still rely on IPv4.

Method 2: Using Command Prompt (ipconfig)

For users who prefer speed or need more detail:

  1. Press Win + R, type cmd, and hit Enter
  2. In the Command Prompt window, type ipconfig and press Enter
  3. Look for your active adapter (Ethernet or Wi-Fi) and find the IPv4 Address line

The ipconfig command returns results for every network adapter on your system — including virtual adapters from VPN software or virtualization tools like Hyper-V. If you see multiple results, focus on the adapter you're actively using.

For even more detail, run ipconfig /all — this adds your MAC address, default gateway, DHCP server, and DNS server addresses to the output, which is useful for deeper network diagnostics.

Method 3: Through the Network and Sharing Center (Control Panel)

On older Windows builds or for users more comfortable with the classic interface:

  1. Open Control Panel
  2. Navigate to Network and Internet → Network and Sharing Center
  3. Click your active connection name
  4. Click Details in the Status window

Your IPv4 address appears in the list alongside subnet mask and gateway information.

How to Find Your Public IP Address

Your public IP address isn't stored locally on your PC in an accessible way — it's assigned at the network level by your ISP. The fastest way to find it is to visit any IP lookup service through your browser. These sites simply reflect back the address your request came from.

Common approaches include searching "what is my IP" directly in Google, which displays the result at the top of the search page, or using dedicated tools like ipinfo.io or similar utilities.

Important distinction: If you're using a VPN, the public IP shown will belong to the VPN server — not your actual ISP-assigned address. This is by design.

Understanding the Variables That Affect Which IP You See

ScenarioWhat Changes
Connected via Wi-Fi vs. EthernetDifferent adapter, potentially different private IP
VPN activePublic IP changes; private IP may also shift
DHCP vs. static IP configuredPrivate IP may be fixed or change on reconnect
Multiple network adaptersSeveral IP addresses visible in ipconfig
IPv4 vs. IPv6Different formats; not interchangeable for all tasks

DHCP (Dynamic Host Configuration Protocol) is the default on most home networks — your router automatically assigns a private IP each time your PC connects, and that address can change. If you need your PC to always have the same local IP (for port forwarding, for instance), that requires either a static IP configured on your PC or a DHCP reservation set in your router.

IPv4 vs. IPv6: A Quick Clarification

Most guides and tools still default to IPv4 because it's universally understood and supported. IPv6 was developed to address the exhaustion of available IPv4 addresses globally and offers a vastly larger address pool. Your PC likely has both assigned simultaneously — this is called a dual-stack configuration.

For typical home networking tasks, port forwarding, or connecting to another device locally, IPv4 is what you'll reference. IPv6 becomes relevant in more specific scenarios, such as certain ISP configurations or modern enterprise environments. 🌐

When Your IP Address Isn't What You Expect

A few situations that commonly cause confusion:

  • 169.254.x.x address — This is an APIPA address, assigned automatically when your PC can't reach a DHCP server. It usually signals a network connectivity problem, not a valid working address.
  • Multiple IPs on one adapter — Possible if IPv4 and IPv6 are both active, or if additional IP addresses have been manually configured.
  • 127.0.0.1 — This is the loopback address, referring to your own machine. It's not your network IP.

What Determines Which Method Works Best for You

The right approach depends on factors specific to your setup: your Windows version, whether you're more comfortable in GUI settings or the command line, whether you're dealing with a simple home network or a more complex environment with VPNs and virtual adapters, and whether you need the private or public address in the first place.

A user troubleshooting a home printer connection needs something different than an IT professional auditing network adapters on a managed workstation — and the same ipconfig output can mean different things in each context. 🔍