How to Find MAC Address in Windows 11 (and Change It)

Mudin Saiful

A cartoon pet collar with a bone-shaped ID tag, illustrating how to find your MAC address in Windows 11

Tested on Windows 11 version 26H2 (OS Build 26300.9974), Pro edition.

Every network card in your PC carries a fixed ID called a MAC address. Your router uses it to recognize the PC, hand it the same IP address every day, or let it through a “trusted devices only” list. Most of the time you never see it, and that’s fine.

There are times when someone asks for it, though. Your campus Wi-Fi wants you to register the device, your ISP’s support line asks for the “physical address”, or you want to reserve an IP for this PC on your router. You open Settings, and nothing on the first screen says MAC anywhere. Even worse, if you open the command line, you get a wall of numbers that all look alike.

In this article, we’ll cover seven ways to find your MAC address in Windows 11, from Settings to getmac and PowerShell, plus how to see the MAC addresses of other devices on your network. After that, I’ll show you how to change the MAC address with Device Manager and PowerShell, what happened to my IP when I did, one change Windows accepted but quietly ignored, and how I put the original address back.

What a MAC Address Looks Like Before You Start

A MAC address is six pairs of characters, like 00-0C-29-97-EC-1C. Each pair is a hexadecimal number, so you’ll only ever see 0 to 9 and A to F. Windows writes it with dashes in most tools and with colons in Settings and System Information. Your router might show it without any separators. It’s the same address in every case, so don’t let the format confuse you.

The first three pairs are called the OUI. They tell you which company made the network chip, which is why two PCs with the same brand of card often start the same way. The last three pairs are unique to that card. One more thing before we start: every adapter has its own MAC. Your Wi-Fi card and your Ethernet port have different addresses, so make sure you copy the one for the connection you actually use. My test PC only has a wired Ethernet adapter, so all screenshots below show that one.

How to Find Your MAC Address in Windows 11 Settings

This is the easiest way, and it’s the one I’d suggest if you just need to copy the address once. Settings shows only the adapters that are present and enabled, which makes it less confusing than the command line.

On a laptop on Wi-Fi, the path is the same, except you click “Wi-Fi” and then “Hardware properties” instead of “Ethernet”. Here’s how that should go:

Open Network & internet

The Network and internet menu in Windows 11 Settings, the first step to find the MAC address

Press Windows + I to open Settings and click on “Network & internet” (number 1) in the left menu.

Open your connection

The Network and internet page with the Ethernet option in Windows 11

At the top you’ll see your current connection. Click on “Ethernet” (number 1). If you’re on Wi-Fi, click “Wi-Fi” further down and then “Hardware properties”.

Scroll to the properties list

The Ethernet connection properties list with the Copy button in Windows 11 Settings

Scroll down past the network profile and metered connection options. You’ll reach a list that starts with link speed, IP and DNS details. The “Copy” button (number 1) copies the whole list, not just the MAC, so it’s handy if a support agent wants everything at once.

Read the Physical address (MAC)

The Physical address MAC line in the Ethernet properties in Windows 11 Settings

At the bottom of the list is “Physical address (MAC):” (number 1). On my PC it was 00:0C:29:97:EC:1C. You can select it with the mouse and press Ctrl + C to copy only the address.

How to Find the MAC Address in Network Connections (Control Panel)

The old Network Connections window is still in Windows 11, and it’s useful because it lists every adapter, including disabled ones that Settings hides. If you’ve got a USB Wi-Fi dongle or a second network card, this is a good place to see them side by side.

The Details window here also shows the MAC together with the IP, gateway, and DHCP server, all in one small box. The process has several steps:

Open ncpa.cpl from Run

Typing ncpa.cpl in the Run box to open Network Connections

Press Windows + R, type “ncpa.cpl” (number 1) and click on “OK” (number 2). This opens Network Connections directly, without going through Control Panel.

Open the adapter’s status

The Ethernet0 adapter in the Network Connections window in Windows 11

Double-click the adapter you want (number 1). Mine is called “Ethernet0”. A grayed-out icon means the adapter is disabled.

Click Details

The Ethernet0 Status window with the Details button

The “Ethernet0 Status” window opens. Click on “Details…” (number 1).

Find Physical Address

The Physical Address line with the MAC address in Network Connection Details

In “Network Connection Details”, the line “Physical Address” (number 1) holds the MAC, written with dashes: 00-0C-29-97-EC-1C. Click on the line and press Ctrl + C to copy it.

How to Find the MAC Address with ipconfig /all and getmac

If you like the command line, two built-in tools show the MAC in a second. Neither one needs administrator rights, so a normal Command Prompt, PowerShell, or Terminal window works.

The catch is that “ipconfig /all” prints a lot, and the MAC shows up in more than one place. “getmac” is shorter but cuts off names unless you ask for the list format. Here’s what you do:

Run ipconfig /all

ipconfig /all output showing the Physical Address and the DHCPv6 Client DUID

Type the command below and press Enter. Under your adapter’s name, look for “Physical Address” (number 1). Notice the “DHCPv6 Client DUID” line (number 2): its last six pairs are the same MAC. That line is an ID Windows uses for IPv6, so don’t copy it by mistake.

ipconfig /all

Run getmac /v

getmac /v and getmac /v /fo list output showing the MAC address

The plain “getmac /v” command prints a table (number 1), but the columns get cut off in a narrow window. Add “/fo list” and you get one clean block per adapter with “Physical Address” (number 2). An adapter that’s unplugged shows “Media disconnected” in the Transport Name line instead of a long device path.

getmac /v /fo list

How to Find the MAC Address with PowerShell Get-NetAdapter

PowerShell gives you the same information, but in a form you can filter or copy into a script. This is the method I’d use if you manage several PCs, because the output is the same on every one of them.

“Get-NetAdapter” only shows adapters that Windows treats as visible. Add “-IncludeHidden” if you’re looking for something like a virtual adapter that doesn’t appear. Here’s how that should go:

Run Get-NetAdapter

The MacAddress column in Get-NetAdapter output in PowerShell

Run the first command to see a table with the “MacAddress” column (number 1). If the table is too wide, the second command shows only the fields you need (number 2).

Get-NetAdapter
Get-NetAdapter | Format-List Name, InterfaceDescription, MacAddress, Status, LinkSpeed

If you only want the address itself, for example to paste somewhere, this one line prints just the MAC of the adapter named Ethernet0. Change the name to match yours.

(Get-NetAdapter -Name "Ethernet0").MacAddress

How to Find the MAC Address in System Information

System Information (msinfo32) is a bit slower to load, but it’s nice when you’re already there to check other hardware details. It lists every network adapter Windows knows about, and each one has a “MAC Address” line.

The list can be long, because it also includes the WAN Miniport entries that Windows uses internally. Scroll until you find the adapter with an IP address. Here’s what you do:

Open Components, Network, Adapter

The MAC Address line in System Information under Components, Network, Adapter

Press Windows + R, type “msinfo32” and press Enter. Expand “Components”, then “Network”, and click on “Adapter” (number 1). The “MAC Address” line (number 2) is written with colons, 00:0C:29:97:EC:1C on my PC.

How to See the MAC Address of Your Router and Other Devices with arp -a

Sometimes the MAC you need isn’t your own. Maybe you want to add a printer to your router’s reservation list, or check which device is using a certain IP. Windows keeps a short list of the devices it has recently talked to, called the ARP cache, and you can read it with one command.

A device only shows up in the list after your PC has exchanged data with it. So if the one you’re looking for is missing, ping its IP address first and then run the command again. Here’s how that should go:

Run arp -a

arp -a output showing the MAC addresses of the router and other devices on the network

I pinged another PC on my network first (192.168.207.1), then ran the command below. The “dynamic” lines (number 1) are real devices: the other PC, the router at 192.168.207.2, and the DHCP server. The “static” lines (number 2) aren’t devices at all. Addresses that start with 01-00-5e are multicast, and ff-ff-ff-ff-ff-ff is broadcast, so ignore those.

ping 192.168.207.1
arp -a

Before You Change Your MAC Address

Windows lets you replace the MAC that the network sees with one you choose. People do this to test a router’s MAC filter, to replace a broken network card without re-registering, or for privacy. The original address burned into the card doesn’t change. Windows just sends a different one, and you can switch back any time.

There are two things I strongly recommend you know first. Your router will treat the PC as a new device, so a reserved IP, a parental control rule, or a registration on a campus network won’t apply anymore. And the address you pick must follow one rule: the second character has to be 2, 6, A, or E. That marks it as a “locally administered” address, meaning you set it yourself. An address like 02-AB-3C-4D-5E-6F is fine. I’ll show you below what happened when I broke that rule.

Warning: Not every network adapter lets you change the MAC. If the option below doesn’t exist in your adapter’s Advanced tab, the driver doesn’t support it. Many Wi-Fi drivers don’t, and on Wi-Fi the random hardware addresses feature is the supported way to hide your real MAC.

How to Change the MAC Address in Device Manager

Device Manager is the safest place to make the change, because you can see whether your driver even offers the option. The property has different names depending on the driver. On my adapter it’s called “Locally Administered Address”. On others it’s “Network Address”.

You’ll need administrator rights for this, and your network will drop for a few seconds when you apply it. Close anything that’s downloading first. The process has several steps:

Open Device Manager

The Windows X menu with the Device Manager option

Right-click the Start button (or press Windows + X) and click on “Device Manager” (number 1).

Find your network adapter

The Network adapters list in Device Manager in Windows 11

Expand “Network adapters” (number 1) and double-click your real adapter (number 2). Ignore the “WAN Miniport” entries. They’re built into Windows for VPN and dial-up connections.

Open the Advanced tab

The network adapter Advanced tab with the Locally Administered Address property used to change the MAC

Go to the “Advanced” tab (number 1) and click on “Locally Administered Address” or “Network Address” in the list (number 2). By default it’s set to “Not Present”, which means the adapter uses its original MAC.

Type the new address

Typing a new MAC address in the Value box and clicking OK

Select the empty “Value” option and type the new address without dashes or colons (number 1). I used 02AB3C4D5E6F. Then click on “OK” (number 2). The network disconnects and reconnects on its own.

Check the new MAC

getmac output after the MAC address was changed, with a new IP address too

After a few moments I ran “getmac /v /fo list” again. The physical address was now 02-AB-3C-4D-5E-6F (number 1), and the internet still worked. Look at the IPv4 address (number 2), though: it changed from 192.168.207.129 to 192.168.207.130.

My experience: I didn’t expect the IP change at first, but it makes sense. The DHCP server hands out addresses by MAC, so to the router my PC was a stranger and got the next free IP. If you’ve set port forwarding or an IP reservation for your PC, it will stop working until you update it or switch the MAC back.

Switch back to the original MAC

Choosing Not Present to switch back to the original MAC address

To undo it, open the same property again, choose “Not Present” (number 1) and click on “OK” (number 2). I ran “Get-NetAdapter” afterward and the original 00-0C-29-97-EC-1C was back.

How to Change the MAC Address with PowerShell Set-NetAdapter

PowerShell does the same thing in one line, and it writes to the same property you just saw in Device Manager. It’s quicker if you need to switch back and forth, or if you’re doing it on several PCs.

Open Terminal (Admin) from the Windows + X menu first. If you’re not sure how, our guide to opening CMD as administrator in Windows 11 covers the same ways to get an elevated window. Here’s how that should go:

Set a new MAC with Set-NetAdapter

Changing the MAC address with Set-NetAdapter in an administrator PowerShell window

Run the command below with your adapter’s name (number 1). It doesn’t print anything when it works. The network drops for a few seconds, then “Get-NetAdapter” shows the new MacAddress (number 2).

Set-NetAdapter -Name "Ethernet0" -MacAddress "02-11-22-33-44-55" -Confirm:$false
Get-NetAdapter -Name "Ethernet0" | Format-List Name, MacAddress, Status

What happens with an invalid address

The original MAC address still in use because the new address was invalid, even though the value was saved

Next I tried 01-11-22-33-44-55, where the second character is 1. The command finished without any error. But the adapter kept its original 00-0C-29-97-EC-1C (number 1), while the driver property still said 011122334455 (number 2). So Windows accepted the value, saved it, and quietly ignored it. If your new MAC “doesn’t stick”, check that second character first.

Put the original MAC back

The original MAC address and old IP back after Reset-NetAdapterAdvancedProperty

This command clears the property, which is the same as choosing “Not Present” in Device Manager. After a few seconds my adapter was back on 00-0C-29-97-EC-1C (number 1) and got its old IP, 192.168.207.129, again (number 2). A quick ping to 8.8.8.8 confirmed the internet was fine.

Reset-NetAdapterAdvancedProperty -Name "Ethernet0" -DisplayName "Locally Administered Address"

If your driver calls the property “Network Address”, use that name in the command instead. You can check the exact name with “Get-NetAdapterAdvancedProperty -Name Ethernet0”.

Random Hardware Addresses on Wi-Fi

Windows 11 has a built-in privacy feature for Wi-Fi called random hardware addresses. When it’s on, your laptop uses a made-up MAC instead of the real one, so shops, airports, and other public networks have a harder time tracking you from place to place. According to Microsoft, it only works if your Wi-Fi hardware supports it.

I couldn’t test this one, because my test PC has no Wi-Fi card, so the steps below come from Microsoft’s support page. To turn it on for all networks, go to Settings, “Network & internet”, “Wi-Fi” and switch on “Random hardware addresses”. To set it for one network only, open “Manage known networks”, pick the network, and choose On, Off, or “Change daily” under “Random hardware addresses”. With “Change daily”, the address changes every day for that network.

Note: When this feature is on, the Wi-Fi MAC you see in Settings or “ipconfig /all” is the random one for the current network, not the card’s real address. If your router or campus network filters by MAC, turn the feature off for that one network before you register the address, or the registration will break the next time the address changes.

Common Problems and How to Fix Them

Most problems with MAC addresses come from looking at the wrong adapter or from a change that didn’t apply. Here are the ones I ran into or that are worth checking first.

If something here involves your connection breaking completely after you changed the MAC, switching back to “Not Present” fixes it in almost every case. That’s why I suggest you write down the original address before you touch anything.

ipconfig shows several Physical Address lines

Each adapter has its own block in the output. Bluetooth, VPN clients, Hyper-V, and WSL all add their own adapters, and each one has a MAC. Look for the block that has an IPv4 address and a default gateway. That’s the adapter you’re actually using.

The MAC change doesn’t stick

If the address goes back to the original right away, check the second character. As my test showed, an address like 01-11-22-33-44-55 is saved without an error and then ignored. Use 2, 6, A, or E as the second character. If it still won’t change, the driver probably doesn’t support it, and updating the network driver from the PC maker’s site is your best bet.

No internet after changing the MAC

Your router may only allow known MAC addresses, or it may need a minute to give out a new IP. Run “ipconfig /renew” first. If that doesn’t help, set the property back to “Not Present”. If the connection is still acting up after that, a network reset in Windows 11 reinstalls the adapters and clears custom settings, including this one.

The Network Address option is missing

Not every driver offers it, especially on Wi-Fi cards. Microsoft’s documentation for Set-NetAdapter also warns that not all adapters support a new MAC, so PowerShell won’t get around it. In that case, random hardware addresses is the only built-in option for Wi-Fi.

This concludes our guide to finding and changing your MAC address in Windows 11. For a quick copy, Settings or “getmac /v /fo list” is all you need, and “arp -a” covers other devices on your network. Next, you would probably want to give this PC a fixed IP on your router using that MAC, or tidy up how it resolves names by learning how to change DNS in Windows 11. If a command shows something different on your PC, write it in the comments and I’ll help you figure it out.

Leave a Comment