How to Find IP and MAC Addresses in Microsoft Windows

Locate an IP address using these easy steps

Laptop connecting to the world wide web

Mohamed Hassan/pxhere.com/CC0

Use the ipconfig command to find the Internet Protocol and Media Access Control addresses of a computer running Microsoft Windows 10 or previous versions.

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.

The ipconfig Command

Open a shell window by right-clicking on the Start menu and selecting Windows PowerShell. In older versions of Windows, open the Command Prompt. Execute the command:

ipconfig /all

to run ipconfig for all network adapters on your computer.

The ipconfig utility displays address information for all active network adapters. You'll see the results broken into several categories. The first outlines the configuration of the IP protocol on the computer. After that, each networking device appears in sequence, offering a wealth of diagnostic information including the MAC address (listed as physical address and both the IPv4 and IPv6 addresses.

screenshot of the command prompt for ipconfig
Jason Gillikin

Virtual adapters like those used with virtual private networks generally show a private IP address rather than an actual internet address. Virtual adapters also possess software-emulated MAC addresses and not the actual physical address of the network interface card.