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 the internet or a local network. It looks like a string of six pairs of letters and numbers, separated by colons or hyphens: something like 00:1A:2B:3C:4D:5E. Every network card in the world has a different MAC address.

You need to find your MAC address when you're setting up a new network, connecting to a restricted Wi-Fi system (like at a workplace or school), troubleshooting a connection problem, or registering a device with your internet provider. Some networks only allow devices with approved MAC addresses to connect — a security measure called MAC filtering.

The process differs slightly depending on whether you use Windows, macOS, or Linux, but in each case you're looking at the same information: your network adapter's physical address.

Key Takeaways

  • Your MAC address is a unique identifier for your computer's network card, formatted as six pairs of characters separated by colons or hyphens.
  • In Windows, you can find it by opening Command Prompt and typing ipconfig /all, then looking for "Physical Address" next to your active network adapter.
  • On a Mac, open System Preferences, go to Network, select your connection, and click Advanced to see the Wi-Fi address or Ethernet address.
  • In Linux, open a terminal and type ip link show or ifconfig to display the MAC address next to "link/ether" or "HWaddr".
  • If your computer has both Wi-Fi and Ethernet, each connection has its own separate MAC address — use the one for the network you're actually connecting to.

Finding your MAC address in Windows

Open the Command Prompt by pressing the Windows key, typing cmd, and pressing Enter. A black window will open. Type ipconfig /all and press Enter. The system will display information about every network adapter on your computer.

Look for the section labeled with your active connection — usually "Ethernet adapter" if you're plugged in with a cable, or "Wireless LAN adapter" if you're on Wi-Fi. In that section, find the line that says "Physical Address". The string of characters next to it is your MAC address. Copy it exactly as it appears, including any hyphens.

If you have multiple network adapters listed, make sure you're copying the address for the one you actually use. If you're on Wi-Fi, use the MAC address from the wireless adapter. If you're plugged in with Ethernet, use the address from the Ethernet adapter.

Finding your MAC address on macOS

Click the Apple menu in the top-left corner and select System Preferences (or System Settings on newer macOS versions). Click Network.

On the left side, select the network connection you're using — either Wi-Fi or Ethernet, depending on how you're connected. Click the Advanced button in the bottom-right corner. A new window will open with several tabs at the top.

Click the Hardware tab. You'll see a field labeled "MAC Address" or "Wi-Fi Address" (for Wi-Fi connections) or "Ethernet Address" (for wired connections). The address displayed there is what you need. It will be formatted with colons between each pair of characters.

Finding your MAC address in Linux

Open a terminal window. Type ip link show and press Enter. The system will list all your network adapters. Look for your active connection — usually eth0 for Ethernet or wlan0 for Wi-Fi — and find the line that starts with "link/ether". The address when ready following that label is your MAC address.

If ip link show doesn't work on your system, try the older command ifconfig instead. This will display similar information, but the MAC address will be labeled "HWaddr" instead of "link/ether". Either command gives you the same information — just use whichever one your system recognizes.

Understanding which MAC address to use

If your computer has both Wi-Fi and Ethernet connections, it has two separate MAC addresses — one for each network adapter. When you need to provide your MAC address to a network administrator or device, use the address for the connection type you actually plan to use.

If you're connecting to a Wi-Fi network, provide the Wi-Fi MAC address. If you're plugging in with an Ethernet cable, provide the Ethernet MAC address. Using the wrong one will prevent your device from connecting, even though the address itself is valid.

Some devices, like laptops, may also have a Bluetooth adapter with its own MAC address. Unless you're specifically connecting over Bluetooth, ignore that address and stick with your Wi-Fi or Ethernet address.

What to do once you have your MAC address

Once you've found and copied your MAC address, you can use it to register your device with a network. If you're connecting to a restricted network at work, school, or a public venue, send the address to the network administrator or IT department. They'll add it to the approved list, and your device should then connect without further steps.

If you're troubleshooting a connection problem with your internet provider, have your MAC address ready when you call support. They may need it to look up your account or reset your connection on their end. Keep a note of it somewhere safe — you may need it again in the future.

If you're setting up a home network with MAC filtering enabled, you'll need to add your MAC address to your router's approved list. Log into your router's admin panel (usually through a web browser), find the MAC filtering or access control section, and add your address to the whitelist.

Frequently Asked Questions

Can I change my MAC address?

Yes, you can change it temporarily through software, a process called MAC spoofing. However, the physical address on your network card itself cannot be changed. If you restart your computer, the original address returns. Changing your MAC address is rarely necessary for normal use and may violate your network's terms of service.

Why do I see multiple MAC addresses on my computer?

Each network adapter has its own MAC address. If you have Wi-Fi, Ethernet, and Bluetooth, that's three separate addresses. Use only the address for the connection type you're actually using — Wi-Fi address for Wi-Fi networks, Ethernet address for wired connections.

Is my MAC address the same as my IP address?

No. Your MAC address is a permanent identifier for your network card hardware. Your IP address is assigned by your network and can change. Think of MAC address as your computer's serial number and IP address as your temporary mailing address on that network.

Do I need to hide my MAC address for privacy?

Your MAC address is only visible to devices on your local network, not to websites you visit or the broader internet. It's not a privacy risk in normal use. However, some public networks use MAC filtering to control access, so your address may be logged by the network administrator.

What if I can't find my MAC address using these steps?

Make sure you're looking at the correct section for your active connection type. If you're on Wi-Fi, look for the wireless adapter section, not Ethernet. If the commands don't work, your system may use different network tools — contact your IT support or check your device's documentation for your specific setup.