What a MAC Address Is and Why You Need It
A MAC address is a unique identifier assigned to every device that connects to a network. It stands for Media Access Control address, and it looks like a string of six pairs of numbers and letters separated by colons or hyphens — for example, `00:1A:2B:3C:4D:5E`. Your computer has at least one MAC address for each network connection: one for your ethernet port (if you have one) and one for your Wi-Fi card.
You need your MAC address when you set up a new router, register a device on a network that requires it, troubleshoot connection problems, or configure your network to allow only certain devices to connect. Some workplaces and schools require you to register your device's MAC address before you can use their Wi-Fi.
The method to find it differs depending on whether you use Windows, macOS, or Linux. All three are straightforward once you know where to look.
Key Takeaways
- Your MAC address is a unique identifier for your network connection, formatted as six pairs of numbers and letters separated by colons.
- In Windows, open Command Prompt and type ipconfig /all to see your Physical Address, which is your MAC address.
- On a Mac, go to System Settings, select Network, choose your connection, and click Details to find the Wi-Fi Address.
- In Linux, open a terminal and type ip link show or ifconfig to locate your MAC address next to "link/ether" or "HWaddr".
- If you have both ethernet and Wi-Fi connections, you will see a separate MAC address for each one.
Finding Your MAC Address in Windows
The fastest way in Windows is through Command Prompt. Press the Windows key, type `cmd`, and open Command Prompt. Type `ipconfig /all` and press Enter. A list of network information will appear. Look for the line labeled Physical Address — that is your MAC address. If you have multiple network connections (ethernet and Wi-Fi, for example), you will see a Physical Address for each one.
If you prefer not to use Command Prompt, you can also find it through Settings. Open Settings, go to Network & Internet, select your connection type (Wi-Fi or Ethernet), click on your network name, and scroll down to find the MAC address listed as "Physical address".
Write down or screenshot your MAC address exactly as it appears, including all the colons or hyphens. Some networks are case-sensitive, though most are not.
Finding Your MAC Address on a Mac
On macOS, open System Settings and click Network in the sidebar. Select the connection you want to check — Wi-Fi or Ethernet — and then click the Details button. A window will open showing network information. Look for Wi-Fi Address (for Wi-Fi connections) or Ethernet Address (for wired connections). That is your MAC address.
Alternatively, you can use the terminal. Open Terminal (found in Applications > Utilities), type `ifconfig`, and press Enter. Look for the line that starts with `ether` — the address next to it is your MAC address. You will see one for each active network connection.
The address will be formatted with colons between each pair of characters. Copy it exactly if you need to provide it to a network administrator or router setup page.
Finding Your MAC Address in Linux
In Linux, open a terminal window and type `ip link show`. Press Enter. Your MAC address will appear next to `link/ether`. Alternatively, you can type `ifconfig` and look for the line labeled HWaddr — that is your hardware address, which is your MAC address.
If you have multiple network interfaces, you will see a separate MAC address for each one. Ethernet connections are usually labeled `eth0` or `enp0s3`, and Wi-Fi connections are usually labeled `wlan0` or `wlp3s0`. The MAC address for each will be listed directly below the interface name.
Some Linux distributions do not include `ifconfig` by default. If that command does not work, `ip link show` will work on any modern Linux system.
Understanding What You See When You Look It Up
A MAC address is always 48 bits long, displayed as six pairs of hexadecimal digits (0–9 and A–F). The first three pairs identify the manufacturer of your network card — for example, all Apple devices start with specific prefixes. The last three pairs are unique to your individual device.
The format can vary depending on where you look. Windows and Linux often show it with hyphens (`00-1A-2B-3C-4D-5E`), while macOS and some routers show it with colons (`00:1A:2B:3C:4D:5E`). These are the same address — just formatted differently. When you need to enter it somewhere, use whichever format the system asks for, or ask the network administrator which one they need.
When You Have Multiple Network Connections
Most computers have at least two network interfaces: one for ethernet (a wired connection) and one for Wi-Fi. Each has its own MAC address. When you look up your MAC address using the methods above, you will see both listed separately.
If you are setting up a Wi-Fi network, use the Wi-Fi MAC address. If you are connecting via an ethernet cable, use the ethernet MAC address. Some networks require you to register both if you plan to use either connection. Check with your network administrator or the device registration page to see which one (or both) you need to provide.
Troubleshooting If You Cannot Find It
If you follow the steps above and do not see a MAC address, check that your network connection is active. A disabled network adapter will not show up in the list. In Windows, go to Device Manager and look for your network adapter under Network Adapters — if it has a yellow warning icon, right-click it and select Enable Device. On a Mac, go to System Settings > Network and make sure your connection is turned on. In Linux, type `ip link show` — if your interface is listed as `DOWN`, type `sudo ip link set [interface-name] up` to set up it.
If you are still having trouble, restart your computer. Sometimes a network connection needs to be refreshed before it shows up in the system information.
Frequently Asked Questions
Can I change my MAC address?
Yes, but it is not permanent. You can spoof your MAC address in Windows, macOS, and Linux using terminal commands or third-party software, which means your device will appear to have a different address on the network. However, the change only lasts until you restart your computer. Your actual hardware MAC address cannot be changed without replacing the network card itself.
Why does my router ask for a MAC address?
Routers use MAC addresses to control which devices can connect to the network. This is called MAC filtering. Some routers also use MAC addresses to assign the same local IP address to the same device every time it connects, which makes network management easier. If your router asks for your MAC address during setup, it is usually for one of these reasons.
Is my MAC address the same as my IP address?
No. Your IP address is assigned by your router or internet service provider and changes when you move to a different network or restart your router. Your MAC address is built into your network card and stays the same no matter where you connect. IP addresses work on the internet layer; MAC addresses work on the local network layer.
Do I need to memorize my MAC address?
No. Write it down or take a screenshot when you need it, but you do not need to remember it. You can look it up any time using the methods in this guide. Keep a note of it in a safe place if you register it with a network administrator, since you may need it again if you have connection problems later.