What a MAC address is and why you need it
A MAC address is a unique identifier assigned to your computer's network card — the hardware that connects you to Wi-Fi or ethernet. It looks like six pairs of numbers and letters separated by colons, such as 00:1A:2B:3C:4D:5E. Every network device has one, and no two are identical.
You need your MAC address when you're setting up a new Wi-Fi network, registering a device with your internet provider, troubleshooting connection problems, or using a network that requires device registration before granting access. Some workplaces and schools require you to register your MAC address before you can connect to their network.
The process differs slightly between Windows, macOS, and Linux, but in each case you're looking at the same information — just accessed from different menus. You do not need any special software or administrator permission on most systems.
Key Takeaways
- Your MAC address is a unique identifier for your network card, shown as six pairs of characters separated by colons.
- On Windows, open Command Prompt and type ipconfig /all to find the "Physical Address" field.
- On macOS, go to System Settings, select Network, choose your connection, and click Details to see the MAC address.
- On Linux, open a terminal and type ip link show or ifconfig to display your MAC address.
- If you have multiple network cards (Wi-Fi and ethernet), each one has its own MAC address — find the one for the connection you actually use.
Finding your MAC address on Windows
The fastest way on Windows is through Command Prompt. Press the Windows key, type cmd, and press Enter. A black window opens with a command line.
Type ipconfig /all and press Enter. The system displays a list of all your network connections. Look for the section labeled with your connection type — either "Ethernet adapter" if you're plugged in with a cable, or "Wireless LAN adapter" if you're using Wi-Fi. Within that section, find the line that says "Physical Address." That string of characters is your MAC address.
If you have both Wi-Fi and ethernet connected, you'll see two sections with two different MAC addresses. Use the one that matches the connection you're actually using.
Finding your MAC address on macOS
On macOS, open System Settings (or System Preferences on older versions). Click Network in the left sidebar.
Select the connection you want — either Wi-Fi or Ethernet, depending on how you're connected. Click the Details button. A new window opens showing connection information. Look for the field labeled "MAC Address" or "Hardware Address." That's the identifier you need.
If you're connected via Wi-Fi, make sure you're looking at the Wi-Fi section, not Ethernet. Each connection type has its own MAC address.
Finding your MAC address on Linux
Open a terminal window. Type ip link show and press Enter. The system displays all your network interfaces with their MAC addresses listed next to "link/ether."
Alternatively, type ifconfig and press Enter. This shows the same information in a slightly different format — look for the line starting with "HWaddr" or "ether," which displays your MAC address.
If you have multiple network cards, you'll see multiple entries. The one you need corresponds to the interface you're actually using — usually eth0 for ethernet or wlan0 for Wi-Fi.
What to do once you have your MAC address
Write down or copy your MAC address somewhere you can find it again. Many people take a screenshot or save it in a notes app. If you're registering it with a network or your internet provider, paste it exactly as it appears — the colons and letter case usually don't matter, but some systems are picky, so matching the format exactly is safest.
If you're troubleshooting a connection problem, your internet provider or network administrator may ask for your MAC address to look up your device in their system. Having it ready saves time on support calls.
Checking if you have multiple network cards
Most computers have at least two network interfaces: one for Wi-Fi and one for ethernet. If you're not sure which one you're using, check your network settings. On Windows, look at the Network icon in the system tray — it shows which connection is active. On macOS, the Wi-Fi icon in the menu bar shows your current connection. On Linux, the ip link show command marks active interfaces with "UP" in the output.
If you need the MAC address for a connection you're not currently using, you can still find it using the same steps — just look at the inactive interface instead. For example, if you're on Wi-Fi but need your ethernet MAC address, the ethernet section will still be listed in Command Prompt or System Settings, even though it's not connected.
Frequently Asked Questions
Can I change my MAC address?
Yes, but it's rarely necessary. Most operating systems allow you to change the MAC address in network settings, but the change is usually temporary and resets when you restart. Permanent changes require editing driver settings or using third-party software. Unless a network administrator specifically asks you to change it, leave it as is.
Why does my MAC address look different each time I check?
Some devices use MAC address randomization for privacy — they generate a temporary MAC address for each Wi-Fi network they connect to. If you see different addresses on different networks, this is likely the cause. Check the MAC address on the same network each time to see the actual hardware address, or disable randomization in your network settings if your system offers that option.
Do I need my MAC address to connect to public Wi-Fi?
Most public Wi-Fi networks don't require your MAC address. You usually just select the network name and enter a password or accept terms of service. Some corporate or school networks do require MAC address registration before granting access — the network administrator will tell you if this applies.
What if I can't find the Physical Address line in Command Prompt?
Make sure you typed ipconfig /all with the space and forward slash. If the command doesn't work, try running Command Prompt as administrator: right-click the Command Prompt icon and select "Run as administrator," then type the command again. If you still see no results, your network card may not be installed or recognized by Windows.
Is my MAC address the same as my IP address?
No — they're different identifiers. Your MAC address is tied to your physical network card and doesn't change when you move between networks. Your IP address is assigned by your network and changes depending on which network you're connected to. You need your MAC address for device registration; your IP address is what allows data to reach you on the internet.