What a MAC Address Is and Why You Need It
A MAC address (Media Access Control address) is a unique identifier assigned to your computer's network card. 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. Every device that connects to a network has one, and no two are identical.
You need your MAC address when you're setting up a new network, registering a device with your internet provider, connecting to a restricted Wi-Fi network, or troubleshooting connection problems. Some networks only allow devices with pre-registered MAC addresses to join. Your MAC address is also useful if you're trying to identify which device is using bandwidth on your home network.
The process of finding it differs slightly depending on whether you use Windows, macOS, or Linux, but in all cases it takes less than a minute and requires no special software.
Key Takeaways
- Your MAC address is a unique identifier for your computer's network card, formatted as six pairs of numbers and letters like 00:1A:2B:3C:4D:5E.
- On Windows, open Command Prompt and type ipconfig /all to find the "Physical Address" listed for your network adapter.
- On macOS, go to System Settings, select Network, choose your connection, and click Advanced to find the MAC address under Wi-Fi or Ethernet.
- If your computer has both Wi-Fi and Ethernet, each connection has its own separate MAC address.
- Write down or screenshot your MAC address before you need it, since you may not have network access when registering it.
Finding Your MAC Address on Windows
Open the Command Prompt by pressing the Windows key, typing cmd, and pressing Enter. A black window will appear with a blinking cursor.
Type ipconfig /all and press Enter. The system will display a list of all your network adapters. Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" — whichever connection type you use. Scroll down within that section until you see "Physical Address." The string of characters next to it is your MAC address. It will appear as pairs of numbers and letters separated by hyphens, like AA-BB-CC-DD-EE-FF.
If your computer has both Ethernet and Wi-Fi, you'll see two separate sections, each with its own Physical Address. Use the one that matches the connection you're actually using. If you're unsure which adapter is active, look for the one with an "IPv4 Address" listed — that's the connection currently in use.
Finding Your MAC Address on macOS
Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older versions). In the sidebar, click Network.
Select the connection you want to check — either Wi-Fi or Ethernet, depending on how your computer connects to the network. Click the Advanced button in the lower right. A new window will open with several tabs at the top. Click the Hardware tab. Your MAC address appears next to "MAC Address" and is formatted with colons between each pair, like 00:1A:2B:3C:4D:5E.
If you use both Wi-Fi and Ethernet, repeat this process for each connection type. Each one has its own MAC address. The one you need depends on which network connection you're registering or troubleshooting.
Finding Your MAC Address on Linux
Open a terminal window. The method varies by distribution, but usually you can right-click on the desktop and select "Open Terminal" or press Ctrl+Alt+T.
Type ip link show and press Enter. The system will display all your network interfaces. Look for the line that starts with a number followed by the name of your connection — usually eth0 for Ethernet or wlan0 for Wi-Fi. On the next line, you'll see "link/ether" followed by your MAC address in the format 00:1a:2b:3c:4d:5e.
Alternatively, you can type ifconfig and press Enter. Find your active connection in the output and look for the line labeled "HWaddr" (hardware address). The string next to it is your MAC address. If you have multiple network adapters, you'll see a separate section for each one.
What to Do If You Have Multiple Network Adapters
Many computers have both Ethernet and Wi-Fi built in, and some have additional adapters for Bluetooth or virtual networks. Each one has its own unique MAC address. When you're registering your device or troubleshooting a connection, use the MAC address for the specific adapter you're using.
If you're unsure which adapter is currently active, look for the one with an assigned IP address. On Windows, this appears as "IPv4 Address" in the ipconfig /all output. On macOS, the active connection is the one with a checkmark next to it in the Network settings. On Linux, the active adapter usually shows "UP" in the ip link show output.
If you need to register multiple adapters — for example, if you want your computer to connect via Ethernet at work and Wi-Fi at home — write down or screenshot both MAC addresses and label them clearly so you don't mix them up later.
Saving Your MAC Address for Later Use
Once you've found your MAC address, take a screenshot or write it down in a safe place. You may need it when you're away from your computer, and you won't be able to look it up if you don't have network access.
Store it in a password manager, a notes app, or a document on your phone. Include the date you found it and which device it belongs to, especially if you have multiple computers. Label it clearly as "MAC Address" so you don't confuse it with other technical identifiers like your IP address or serial number.
If you're registering your device with a network administrator or your internet provider, they may ask you to provide it in a specific format. Some systems expect colons between pairs (00:1A:2B:3C:4D:5E), while others expect hyphens (00-1A-2B-3C-4D-5E). Both refer to the same address — just copy the format exactly as it appears in your system settings.
Common Mistakes to Avoid
Don't confuse your MAC address with your IP address. Your IP address is a separate number that identifies your computer on the internet and changes periodically. Your MAC address is tied to your physical network card and stays the same. When a network administrator asks for your MAC address, they specifically want the hardware address, not the IP address.
If you're looking at the output from ipconfig or ip link show, make sure you're reading the right line. Scan for the words "Physical Address," "MAC Address," "HWaddr," or "link/ether" to find the correct value. Copying the wrong number will prevent your device from connecting.
Remember that each network adapter has its own MAC address. If your computer has Wi-Fi and Ethernet, don't assume they're the same. If you're registering your device for a specific connection type, use the MAC address for that adapter only.
Frequently Asked Questions
Can I change my MAC address?
Yes, you can change it using software, a process called MAC spoofing. However, most people should not do this. Changing your MAC address can break network registration, confuse network administrators, and violate network policies. Only change it if a network administrator specifically instructs you to do so.
Why does my computer have more than one MAC address?
Each network adapter — Wi-Fi, Ethernet, Bluetooth — has its own MAC address because each one is a separate piece of hardware. Your computer uses the appropriate address depending on which connection type you're using at that moment.
Is my MAC address the same as my device ID or serial number?
No. Your MAC address is specific to your network card, your device ID is assigned by your operating system, and your serial number is a manufacturer's identifier. They are three different things. When registering for a network, ask which one you need.
Do I need my MAC address to connect to public Wi-Fi?
Usually no. Most public networks don't require MAC registration. You only need your MAC address if the network administrator specifically asks for it, or if you're setting up a restricted network at home or work.
What if the MAC address field is blank or missing?
This usually means the network adapter is disabled or not installed. On Windows, check Device Manager to see if your adapter appears and whether it has a warning icon. On macOS, go to Network settings and make sure your connection is listed. On Linux, run lspci to see if your adapter is detected by the system.