How to find computer IP address on Windows 11

Windows 11 includes several built-in tools for checking your computer's IP address, identifying your router, and troubleshooting network connections.

Windows 11 interface displaying the process of checking an IP address. The Command Prompt window is open, showing IP configuration details.
Windows 11 check IP address / Image: Mauro Huculak
  • Windows 11 lets you find your computer’s local IP address through Settings, Command Prompt, and PowerShell.
  • Run ipconfig in Command Prompt to view your IPv4 address, IPv6 information, and default gateway.
  • Open Settings and navigate to “Network & internet” to check your Wi-Fi or Ethernet address and view additional connection properties.
  • Find your public IP address using a browser or commands such as nslookup myip.opendns.com. resolver1.opendns.com in Command Prompt.

On Windows 11, I often need to quickly check my device’s IP address when troubleshooting network issues, setting up file sharing, or connecting to other devices on the same network. The good news is that Windows 11 makes it easy to find both your local (LAN) and public (WAN) IP address using several built-in tools.

Your LAN IP address identifies your device within your home or office network. I usually rely on it when I’m configuring network discovery, mapping shared folders, or resolving connectivity issues between computers, printers, or NAS devices for file sharing. Your WAN IP address, on the other hand, is the one your Internet Service Provider (ISP) assigns to your router, and it’s useful for diagnosing external connectivity issues or setting up remote access.

Whatever the reason, Windows 11 offers several ways to find your computer’s, router’s, or internet connection’s IP address using the Settings app, Command Prompt, PowerShell, and even your browser.

This guide will teach you how to find your external and local IP addresses on Windows 11.

Find your computer’s IP address on Windows 11

On Windows 11, you can find your computer’s TCP/IP address in many ways using commands or the Settings app.

Option 1: Check IP from Command Prompt

To find the IP address on Windows 11 with CMD, follow these steps:

  1. Open Start.

  2. Search for Command Prompt and click the top result to open the app.

  3. Type the following command to find your IP address on Windows 11 and press Enter:

    ipconfig
  4. Confirm the IPv4 and IPv6 (if applicable) addresses.

    Command Prompt find IP address

Once you complete the steps, the TCP/IP address configuration will be displayed under the active adapter name, such as “Ethernet adapter Ethernet” or “Wireless LAN adapter Wi-Fi.”

Get the Pureinfotech newsletter

Expert Windows guides, practical tips, and the latest updates that make your PC easier to use, delivered to your inbox

The “Default Gateway” information is the router’s IP address.

Option 2: Check IP from PowerShell

To find your IP address with PowerShell commands, follow these steps:

  1. Open Start.

  2. Search for PowerShell and click the top result to open the app.

  3. Type the following command to find your Windows 11 IP address and press Enter:

    Get-NetIPConfiguration -detailed
  4. Confirm the IPv4Address and IPv6LinkLocalAddress (if applicable) addresses.

    PowerShell find IP address

After you complete the steps, the network settings will appear for each active adapter.

The “IPv4DefaultGateway” shows the address of your local network router.

Option 3: Check IP from Settings app

To see your IP address configuration from the Settings app, follow these steps:

  1. Open Settings.

  2. Click on Network & internet.

  3. Click the Ethernet or Wi-Fi tab.

  4. Select the wireless properties setting (if applicable).

    Wireless properties

  5. Confirm the IP address configuration at the bottom of the page.

    Settings find IP address

After you complete these steps, you will see your computer’s local IP (IPv4 and IPv6) address. However, the adapter properties don’t show the Default Gateway, DNS, or DHCP server addresses.

Check full IP configuration

To view the full IP configuration on Windows 11, follow these steps:

  1. Open Settings.

  2. Click on Network & internet.

  3. Click the “Advanced network settings” tab.

    Advanced network settings

  4. Click the “Hardware and connection properties” setting under the “More settings” section.

    Hardware and connection properties

  5. Confirm the IP address (versions 4 and 6) of your computer.

    Settings full IP address configuration

After you complete these steps, the Settings app will display the full network configuration for all adapters, including Wi-Fi and Ethernet.

The “IPv4 default gateway” shows the address of your local network router.

Find your internet IP address on Windows 11

The WAN (external or public) IP address configuration differs from the LAN (local) IP address configuration. The local address is the configuration assigned by the router (or DHCP server) to enable the computer to connect to other devices on the local network. The external address, on the other hand, is assigned by your internet provider to the router to provide internet connectivity at your location.

Besides searching “What’s my IP” on Google or Bing, you can find your external (public) IP address using a web browser, Command Prompt, or PowerShell.

Option 1: Check public IP from Web browser

To find your internet IP address on Windows 11, follow these steps:

  1. Open Edge, Chrome, or Firefox.

  2. Open the ifconfig.me online tool.

  3. Confirm your external IP address under the “Your Connection” section.

    ifconfig.me command find public IP

After you complete these steps, you will see the public IP address your internet provider assigned to your location.

Option 2: Check public IP from Command Prompt

To find your public IP address with Command Prompt, follow these steps:

  1. Open Start.

  2. Search for Command Prompt and click the top result to open the app.

  3. Type the following command to find the internal IP address configuration and press Enter:

    nslookup myip.opendns.com. resolver1.opendns.com
  4. Confirm your external IP address.

    Command Prompt find public IP address

After you complete the steps, the external IP address will be listed under the “Non-authoritative answer” section.

Option 3: Check public IP from PowerShell

To find your public IP address with PowerShell, follow these steps:

  1. Open Start.

  2. Search for PowerShell and click the top result to open the app.

  3. Type the following command to find the public IP address configuration and press Enter:

    (Invoke-WebRequest ifconfig.me/ip).Content.Trim()
  4. Confirm the public IP address for your internet connection.

    PowerShell check public IP

After you complete the steps, the public IP address will appear without opening a web browser.

Wrap up

Once you find your IP address, you can use it to troubleshoot network connections, configure file sharing, or connect to other devices on your network.

Remember, your local IP address identifies your device on your local network, while your public IP address is what external services see when you connect to the internet. If you use a VPN, an online lookup may show the public address of your VPN connection instead of your regular internet connection.

Thank you for your feedback!
About the author

Mauro Huculak is a Windows How-To Expert and founder of Pureinfotech in 2010. With over 23 years as a technology writer and IT Specialist, Mauro specializes in Windows, software, and cross-platform systems such as Linux, Android, and macOS.

Certifications: Microsoft Certified Solutions Associate (MCSA), Cisco Certified Network Professional (CCNP), VMware Certified Professional (VCP), and CompTIA A+ and Network+.

Mauro is a recognized Microsoft MVP and has also been a long-time contributor to Windows Central.

You can follow him on YouTube, Threads, BlueSky, X (Twitter), LinkedIn and About.me. Email him at [email protected].

Comments

Join In