What a MAC address is and why you need it

A MAC address (Media Access Control address) is a unique identifier assigned to every device that connects to a network — your laptop, phone, printer, or smart TV. It looks like a string of six pairs of numbers and letters, separated by colons or hyphens: 00:1A:2B:3C:4D:5E. Unlike your IP address, which can change, your MAC address stays the same for that specific device's network card.

You need your MAC address when you're setting up a new network, troubleshooting connection problems, or registering a device on a restricted network like a university or office system. Some routers use MAC filtering to allow only certain devices to connect. If you're trying to connect a new device and the network administrator asks for its MAC address, you'll need to know where to find it.

Key Takeaways

  • Every network device has a unique MAC address that identifies it on a local network, separate from its IP address.
  • On Windows, open Command Prompt and type ipconfig /all to see your MAC address listed as "Physical Address".
  • On Mac, go to System Settings > Network, select your connection, and click Details to find the MAC address.
  • On Linux, open a terminal and type ip link show or ifconfig to display MAC addresses for all network interfaces.
  • If you have multiple network cards (wired and wireless), each one has its own MAC address — find the one for the connection you're actually using.

Finding your MAC address on Windows

The quickest 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 the network adapter you're using — usually "Ethernet" for wired connections or "Wireless LAN adapter Wi-Fi" for wireless. Look for the line labeled "Physical Address" — that's your MAC address.

If you prefer not to use the command line, you can also find it through Settings. Go to Settings > Network & Internet > Wi-Fi (or Ethernet, depending on your connection). Click on your current network, then scroll down and select Details. Your MAC address appears as "Physical Address" in that window.

If you have both a wired and wireless connection, you'll see two different MAC addresses — one for each network card. Make sure you're looking at the one for the connection type you actually use.

Finding your MAC address on Mac

Open System Settings and click Network in the sidebar. Select the network connection you want to check — Wi-Fi or Ethernet. Click the Details button. In the window that opens, look for the Wi-Fi Address (for wireless) or Ethernet Address (for wired). That's your MAC address.

Alternatively, you can use the terminal. Open Terminal (find it in Applications > Utilities), type ifconfig, and press Enter. Look for your active connection — usually en0 for Ethernet or en1 for Wi-Fi. The MAC address appears on the line that starts with "ether".

Finding your MAC address on Linux

Open a terminal window and type ip link show or ifconfig, then press Enter. Both commands display your network interfaces and their MAC addresses. With ip link show, the MAC address appears after "link/ether". With ifconfig, it's listed as "HWaddr" or "ether" depending on your Linux distribution.

If you want to see only a specific network interface, type ip link show eth0 (for Ethernet) or ip link show wlan0 (for wireless). Replace "eth0" or "wlan0" with whatever your system calls that interface.

What to do once you have your MAC address

Once you've found your MAC address, write it down or take a screenshot — you'll need it when you register the device on a network or troubleshoot connection issues. If a network administrator asks for it, give them exactly what you see, including the colons or hyphens. Some systems accept it with or without those separators, but it's safer to provide it exactly as it appears.

If you're setting up MAC filtering on your own router, you'll enter the MAC addresses of devices you want to allow. If you're joining a network that requires registration, the administrator will add your MAC address to their approved list before your device can connect.

Troubleshooting when you can't find your MAC address

If the commands above don't show what you're looking for, make sure you're looking at the right network adapter. Computers with both wired and wireless connections have separate MAC addresses for each. If you're trying to connect wirelessly, don't use the Ethernet MAC address.

On Windows, if ipconfig /all shows multiple adapters, look for one with an actual IP address assigned — that's the one you're using. Disabled or disconnected adapters will still show a MAC address, but they're not the active connection. On Mac and Linux, focus on the interface that shows an active IP address in the output.

Frequently Asked Questions

Can I change my MAC address?

Yes, but it's temporary. Most operating systems allow you to spoof or change your MAC address through software, but it resets when you restart your device. Permanent changes require replacing the network hardware itself, which is rarely necessary.

Why does my device have more than one MAC address?

If your device has multiple network connections — like both Ethernet and Wi-Fi, or multiple wireless cards — each connection has its own MAC address. Use the one that matches the connection type you're actually using.

Is my MAC address the same as my IP address?

No. Your MAC address is permanent for that device and works only on your local network. Your IP address can change and works across the internet. A network needs both to route data to you correctly.

Do I need to hide my MAC address?

On your own network, no. On public Wi-Fi, MAC addresses are visible to anyone on that network, but they're not sensitive information — they only identify your device locally, not your identity or location.

What if the network administrator says my MAC address is already registered?

This usually means another device is using that MAC address, which shouldn't happen. Double-check that you copied it correctly and that you're looking at the right network adapter. If the problem persists, contact the administrator — they may need to remove an old entry for that device.