To find your IP address in Windows, open the Command Prompt and run the ipconfig command. This displays all network adapter configurations, including IPv4 and IPv6 addresses. No special tools or admin rights are required—just basic access to Windows.

What You'll Need

  • A Windows PC or laptop (Windows 10 or 11)
  • Basic user access (no administrator privileges needed)
  • Physical or Wi-Fi network connection (for local IP); internet access required only for public IP checks

Step-by-Step

  1. Press Windows + R to open the Run dialog box.
  2. Type cmd and press Enter to open Command Prompt.
  3. In the Command Prompt window, type ipconfig and press Enter.
  4. Scroll through the output and locate your active network adapter (e.g., Wireless LAN adapter Wi-Fi or Ethernet adapter Ethernet).
  5. Under the relevant adapter section, find the line labeled IPv4 Address. The number following it (e.g., 192.168.1.15) is your local IP address.
  6. To see more details—including subnet mask, default gateway, and DNS servers—type ipconfig /all and press Enter, then review the full output.

Common Mistakes

  • Looking for the wrong adapter: if you’re on Wi-Fi, ignore the Ethernet section, and vice versa. Confirm which adapter is in use by checking Connection-specific DNS Suffix or Media State (should say Media connected).
  • Confusing IPv4 with IPv6: IPv4 addresses are in the familiar x.x.x.x format (e.g., 10.0.0.5), while IPv6 addresses contain colons and letters (e.g., fe80::1c2e:...). Most home networks use IPv4 for local addressing.
  • Using ipconfig without /all when you need extra details: the basic command shows only essential info. Use /all if you need the physical (MAC) address or DHCP server details.
  • Running the command in PowerShell without realizing ipconfig works there too—but the output is identical to Command Prompt, and PowerShell doesn’t add useful context for this task.

Tips

  • To copy the output: right-click inside the Command Prompt window, choose Edit > Select All, then press Enter. The text is copied to your clipboard and can be pasted into Notepad.
  • For a quick public (internet-facing) IP address, open a browser and search for what is my ip. Google and Bing display your public IP at the top of the results. This is separate from your local IP and is assigned by your ISP.
  • Use ipconfig /release followed by ipconfig /renew to refresh your local IP (requires an active DHCP server, like your router). Only do this if you suspect an IP conflict or connection issue.
  • Save time by pinning Command Prompt to your taskbar or Start menu for one-click access.
  • On laptops, ensure the Wi-Fi adapter is enabled—some have a physical switch or Fn + F-key toggle. If Media State shows Media disconnected, the adapter won’t display an IP.

Troubleshooting

If ipconfig returns no IPv4 address, or shows 169.254.x.x (a link-local address), your device failed to obtain an IP from the router’s DHCP server. Try these steps:

  1. Restart your router and modem. Unplug both, wait 30 seconds, plug in the modem first, wait until its lights stabilize, then plug in the router.
  2. Renew your IP address by opening Command Prompt as a regular user and running: ipconfig /release (wait for confirmation), then ipconfig /renew.
  3. Check physical connections. Ensure Ethernet cables are firmly plugged into both the PC and router. For Wi-Fi, confirm you’re connected to the correct network and the Wi-Fi switch is on.
  4. Reset the network stack in Command Prompt (run as administrator if renewal fails): netsh int ip reset, then netsh winsock reset. Restart your PC afterward.
  5. Verify DHCP is enabled in your router settings. Log in to your router’s admin page (commonly at 192.168.1.1 or 192.168.0.1) and confirm DHCP is turned on for your LAN.
  6. Check for third-party firewalls or security software blocking network communication. Temporarily disable them to test—if the IP appears, adjust the firewall rules or reinstall the software.

If none of these work, your network adapter drivers may be outdated. Open Device Manager (Right-click Start > Device Manager), expand Network adapters, right-click your Wi-Fi or Ethernet device, and select Update driver.

Frequently Asked Questions

Why does my IP address change?

Local IP addresses are usually assigned dynamically via DHCP and can change when your device reconnects, the lease expires (often every 24 hours), or the router reboots. To get a static local IP, configure a reservation in your router’s settings using your device’s MAC address.

Is my public IP the same as my local IP?

No. Your local IP (e.g., 192.168.x.x) is used only inside your home network. Your public IP is assigned by your ISP and visible to websites and online services. Use a browser search or curl ifconfig.me (in Windows Subsystem for Linux or PowerShell with Invoke-WebRequest) to see your public IP.

Can I find my IP address without Command Prompt?

Yes. In Windows 10/11: go to Settings > Network & Internet > Wi-Fi/Ethernet > Properties and scroll to Properties to see your IP under IPv4 address. Alternatively, open Control Panel > Network and Sharing Center > Change adapter settings, right-click your connection, choose Status > Details.

Why do I see multiple IPv4 addresses?

This usually means you have multiple active network adapters (e.g., Wi-Fi and Ethernet connected simultaneously). Each adapter has its own local IP. Only the one actively routing traffic (with a Default Gateway listed) is used for internet access.

Does ipconfig show my MAC address?

Yes. In the ipconfig /all output, look for Physical Address under your network adapter. It’s your device’s unique hardware identifier (e.g., A1-B2-C3-D4-E5-F6), often needed for router MAC address filtering or device reservations.

Can I use PowerShell instead of Command Prompt?

Yes. Open PowerShell and run Get-NetIPAddress (for newer Windows versions) or ipconfig directly. PowerShell offers more filterable output (e.g., Get-NetIPAddress -InterfaceAlias "Wi-Fi"), but ipconfig is simpler and universally recognized for quick checks.