What a Mac Address Is and Why You Need It

Your MAC address (Media Access Control address) is a unique identifier assigned to your device's network card. It looks like six pairs of numbers and letters separated by colons or hyphens — for example, `00:1A:2B:3C:4D:5E`. Unlike your IP address, which changes when you move networks or restart your router, your MAC address stays the same as long as you keep the same network card.

You need your MAC address when you're setting up a new network, troubleshooting connection problems, or registering a device with your router or internet provider. Some networks use MAC filtering to allow only certain devices to connect. If you're trying to join a guest network or corporate WiFi that requires device registration, the network administrator will ask for this address.

Key Takeaways

  • Your MAC address is a unique identifier for your network card that stays the same across different networks, unlike your IP address.
  • On Windows, open Command Prompt and type ipconfig /all to find the "Physical Address" listed for your active network connection.
  • On Mac, go to System Settings, select Network, choose your connection, and click Details to see the MAC address next to "Wi-Fi Address" or "Ethernet Address".
  • On Linux, open a terminal and type ip link show or ifconfig to locate the MAC address listed as "link/ether" or "HWaddr".
  • If you have multiple network cards (WiFi and Ethernet), each one has its own MAC address — find the one that matches the connection you're actually using.

Finding Your MAC Address on Windows

The fastest way on Windows is through Command Prompt. Press the Windows key, type `cmd`, and open Command Prompt. Type `ipconfig /all` and press Enter. Scroll through the output until you find your active network connection — either "Ethernet adapter" if you're wired, or "Wireless LAN adapter" if you're on WiFi. Look for the line labeled "Physical Address" — that's your MAC address.

If you prefer not to use Command Prompt, you can also find it through Settings. Go to Settings > Network & Internet > WiFi (or Ethernet, depending on your connection). Click on your network name, then scroll down and select "Hardware properties". Your MAC address appears next to "Physical address (MAC)".

If you have both WiFi and Ethernet connected, you'll see two different MAC addresses — one for each network card. Make sure you're looking at the one that matches the connection you're actually using.

Finding Your MAC Address on Mac

Open System Settings and click Network in the sidebar. Select the connection you want to check — WiFi or Ethernet. Click the Details button. Your MAC address appears in the window under "Wi-Fi Address" (for WiFi) or "Ethernet Address" (for wired connections).

Alternatively, you can use the terminal. Open Terminal (found in Applications > Utilities), type `ifconfig`, and press Enter. Look for your connection type — `en0` for Ethernet or `en1` for WiFi — and find the line starting with `ether`. The address that follows is your MAC address.

Finding Your MAC Address on Linux

Open a terminal and type `ip link show`. Your MAC address appears next to "link/ether" for each network interface. The interface names usually start with `eth` for Ethernet or `wlan` for WiFi.

If that command doesn't work on your system, try `ifconfig` instead. Look for your connection name and find the line labeled "HWaddr" — that's your MAC address. Some Linux distributions may format the output slightly differently, but the MAC address will always be a six-pair sequence of hexadecimal characters.

What to Do Once You Have Your MAC Address

Once you've located your MAC address, write it down or take a screenshot. If you're registering it with a network or router, the administrator will tell you exactly where to enter it. Some routers have a MAC filtering list in their admin panel; others use it for device identification on a guest network.

If you're troubleshooting a connection problem, your internet provider or network administrator may ask you to confirm your MAC address to verify which device is having the issue. Having it ready speeds up the process.

Multiple Network Cards and Virtual Adapters

If your computer has both WiFi and Ethernet, each connection has its own MAC address. Virtual machines and some software also create virtual network adapters with their own MAC addresses. When you're asked for your MAC address, make sure you're providing the one that matches the actual connection you're using.

If you're unsure which one is active, check which connection shows as "Connected" in your network settings. That's the one whose MAC address you need.

Frequently Asked Questions

Can I change my MAC address?

Yes, but it's not permanent. Most operating systems allow you to spoof or change your MAC address temporarily through network settings or terminal commands. The change usually resets when you restart your computer or reconnect to the network. Permanently changing it requires replacing your network card.

Why does my router ask for my MAC address?

Routers use MAC addresses to identify devices on the network. Some routers use MAC filtering to allow only certain devices to connect, or they use it to assign the same IP address to the same device each time. Guest networks sometimes require MAC registration to track which devices are connected.

Is my MAC address the same on WiFi and Ethernet?

No. If your computer has both a WiFi card and an Ethernet port, each one has a different MAC address. Your WiFi card and Ethernet port are separate network adapters. When you switch between them, you're switching to a different MAC address.

What if I can't find my MAC address in the output?

Make sure you're looking at the right connection. If you're on WiFi, don't look at the Ethernet section, and vice versa. On Windows, scroll through the entire `ipconfig /all` output — there may be multiple adapters listed. On Mac and Linux, identify which interface name corresponds to your active connection before looking for the address.