What a MAC address is and why you need it
A MAC address (Media Access Control address) is a unique identifier assigned to your laptop's network card. It looks like a string of six pairs of characters separated by colons or hyphens — for example, `00:1A:2B:3C:4D:5E`. Unlike your IP address, which can change, 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 network printer, connecting to a restricted Wi-Fi network that only allows certain devices, or troubleshooting connection problems with your internet provider. Some networks use MAC filtering to control which devices can connect, and your IT department or network administrator may ask for it during setup.
Key Takeaways
- Your MAC address is a permanent identifier for your laptop's network card, different from your IP address, and appears as six pairs of characters like 00:1A:2B:3C:4D:5E.
- In Windows, you can find it by opening Command Prompt and typing ipconfig /all, then looking for "Physical Address" next to your active network connection.
- On a Mac, open System Preferences, go to Network, select your connection, and click Advanced to find the MAC address listed as "Wi-Fi Address" or "Ethernet Address".
- In Linux, open a terminal and type ip link show or ifconfig to see your MAC address next to "link/ether" or "HWaddr".
- If your laptop has both Wi-Fi and Ethernet, each connection has its own MAC address, so check which one you actually need.
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. Scroll through the output until you find your active network connection — either "Ethernet adapter" if you're plugged in with a cable, or "Wireless LAN adapter" if you're on Wi-Fi. Next to it, you'll see "Physical Address" followed by your MAC address.
If you prefer not to use Command Prompt, you can also find it through Settings. Go to Settings > Network & Internet > Status, scroll down and click "View your network properties", then look for "Physical address (MAC)" in the list. This method shows the MAC address for whichever connection you're currently using.
If your laptop has both Wi-Fi and Ethernet connections, each one has a different MAC address. Make sure you're looking at the right one — if you're on Wi-Fi but need the Ethernet address, you'll need to check the Ethernet adapter section in the `ipconfig /all` output even if it's not currently active.
Finding your MAC address on a Mac
On macOS, open System Preferences (or System Settings on newer versions) and click Network. Select the connection you want — Wi-Fi or Ethernet — from the list on the left. Click the Advanced button in the lower right corner, then go to the Wi-Fi tab (or Ethernet tab if you're wired). Your MAC address appears as "Wi-Fi Address" or "Ethernet Address" at the top of the window.
Alternatively, you can use Terminal for a faster lookup. Open Terminal (found in Applications > Utilities), type `ifconfig`, and press Enter. Look for your connection type — `en0` for Ethernet or `en1` for Wi-Fi — and find the line starting with `ether`. The string of characters after `ether` is your MAC address.
Finding your MAC address in Linux
Open a terminal window and type `ip link show`. Your MAC address appears next to "link/ether" for each network interface. The interface names vary by system — common ones are `eth0` for Ethernet and `wlan0` for Wi-Fi — but the MAC address format is always the same.
If `ip link show` doesn't work on your system, try the older command `ifconfig`. Type it into the terminal and look for "HWaddr" (hardware address) next to your connection name. This shows the same information in a slightly different format.
Checking both Wi-Fi and Ethernet addresses
Most laptops have both a Wi-Fi card and an Ethernet port, and each has its own MAC address. If you're not sure which one you need, ask whoever requested it — they'll usually specify "Wi-Fi MAC" or "Ethernet MAC". If they don't specify, Wi-Fi is more common for laptops since many people work wirelessly.
To see both at once in Windows, run `ipconfig /all` and look for both "Wireless LAN adapter" and "Ethernet adapter" sections. On a Mac, check both the Wi-Fi and Ethernet tabs in Network settings. In Linux, run `ip link show` to see all interfaces listed together.
What to do if you can't find your MAC address
If the commands above don't show a MAC address, your network card may not be recognized by the system. Try restarting your laptop first — sometimes the network driver needs to reload. If that doesn't work, you may need to update your network drivers (in Windows, go to Device Manager, find your network adapter, right-click it, and select "Update driver").
If you're on a corporate network, your IT department can also look up your MAC address in their system if you give them your laptop's name or serial number. This is often faster than troubleshooting on your own.
Frequently Asked Questions
Can I change my MAC address?
Yes, but it's temporary. Most operating systems let you spoof or change your MAC address through network settings or terminal commands, but it resets when you restart your laptop. Permanent changes require replacing the network card itself, which is rarely necessary.
Why does my MAC address look different each time I check?
Some newer devices use MAC address randomization for privacy — your system generates a different MAC address for each network you connect to. If you need a consistent MAC address for network access, check your Wi-Fi settings to see if you can disable randomization for that specific network.
Do I need both my Wi-Fi and Ethernet MAC addresses?
Usually just one. If you're setting up a printer or network access, ask which connection type the device or network uses. Most home and office networks use Wi-Fi, so that's the safer choice if you're unsure.
Is my MAC address the same as my IP address?
No. Your MAC address is permanent and tied to your network card. Your IP address is assigned by your router or network and can change. They serve different purposes — MAC addresses work on your local network, while IP addresses route data across the internet.