How to Find Your IP and MAC Addresses in Windows

Locate an IP address using these easy steps

Illustration of a laptop connecting to the world wide web

Mohamed Hassan /

There are a few ways to find the IP address and MAC address of a computer running Microsoft Windows.

You might need to know these details when setting up software, diagnosing a network problem, configuring MAC address filtering, etc.

These directions are for finding the local IP address Windows is using. See How to Find Your IP Address for directions on locating the IP address on other operating systems like macOS, or for finding your public IP address.

Use the ipconfig Command

The ipconfig utility is accessible from Command Prompt and is really easy to use. It displays address information for all active network adapters.

  1. In Windows 10, open the Start menu and search for cmd. Windows 8 users can open the Apps screen to find Command Prompt in the Windows System section.

    For older versions of Windows like Windows 7, Vista, and XP, open the Start menu and go to All Programs > Accessories to open Command Prompt.

  2. Type this command and then press Enter.

    ipconfig /all
    screenshot ipconfig /all command and result in Command Prompt via Windows 10
  3. Locate Physical Address to see the network adapter's MAC address. The IPv4 address is listed beside IPv4 Address, while Link-local IPv6 Address shows the IPv6 address.

Many Windows PCs include more than one network adapter (such as separate adapters for Ethernet and Wi-Fi support) and hence can report several active IP or MAC addresses.

Open the Network Adapter's Properties

Another way to find the MAC address in Windows or to see the IP address, is through the network adapter's properties window, something you can do through Control Panel.

  1. Select Network and Internet. If you don't see that option, go to Network and Sharing Center instead, and then skip down to Step 4.

    Windows XP users need to select Network and Internet Connections or Network Connections. If you choose the latter option, skip down to Step 5.

    Control Panel in Windows 10 screenhot
  2. Choose Network and Sharing Center, or Network Connections in Windows XP.

    Network and Internet screen in Windows 10 Control Panel
  3. Select Change adapter settings on the left side, or Manage network connections if you're using Windows Vista. XP users can skip this step.

    Network and Sharing Center screen in Windows 10
  4. Double-click or double-tap the adapter for which you want to see the MAC address and local IP address.

    Windows 10 network connections screenshot
  5. Choose Details. If you're using XP, you can find this button in the Support tab.

    Ethernet0 Status window in Windows 10
  6. Locate IPV4 Address or Link-local IPv6 Address for the IP address, or Physical Address to see the MAC address for that adapter.

    Network Connection Details screen in Windows 10

Virtual adapters used in virtual machines and other virtualization software, usually possess software-emulated MAC addresses and not the actual physical address of the network interface card.