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 a string of six pairs of numbers and letters, such as 00:1A:2B:3C:4D:5E. Your MAC address is different from your IP address; the IP address changes when you move networks, but your MAC address stays the same.

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 configuring network access controls. Some routers and networks use MAC filtering to allow only certain devices to connect. If you're setting up a guest network or need to whitelist your device, you'll need this number.

Key Takeaways

  • Your MAC address is a unique hardware identifier that stays the same no matter which network you join, and you can find it in your computer's network settings.
  • On Windows, open Command Prompt and type ipconfig /all to see your Physical Address, which is your MAC address.
  • On Mac, go to System Settings, select Network, choose your connection, and click Details to find the MAC Address field.
  • On 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 multiple network adapters, you'll see multiple MAC addresses — one for Wi-Fi and one for ethernet if both are installed.

Finding Your MAC Address on Windows

The fastest way on Windows is through Command Prompt. Press the Windows key, type cmd, and press Enter to open Command Prompt. Type ipconfig /all and press Enter. A list of network adapters will appear on your screen.

Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" depending on which connection you use. Scroll down within that section until you see "Physical Address" — that is your MAC address. Write it down exactly as shown, including the hyphens. If you have both Wi-Fi and ethernet connected, you'll see two separate adapters, each with its own MAC address.

Alternatively, you can find it through Settings. Open Settings, go to Network & Internet, select your connection type (Wi-Fi or Ethernet), click on your active network, scroll down to "Properties," and look for "Physical address (MAC)." Both methods show the same information; Command Prompt is usually faster.

Finding Your MAC Address on Mac

On a Mac, open System Settings and click Network in the left sidebar. Select the connection you want to check — either Wi-Fi or Ethernet — then click the Details button. A new window opens showing network information. Look for the field labeled "MAC Address" near the top of the window. Copy or write down the address exactly as displayed.

If you prefer the terminal, open Applications > Utilities > Terminal and type ifconfig, then press Enter. Scroll through the output to find your active connection. Look for the line that starts with "ether" — the address that follows is your MAC address. This method shows all network adapters at once, so if you have both Wi-Fi and ethernet, you'll see both MAC addresses listed separately.

Finding Your MAC Address on Linux

On Linux, open a terminal window. Type ip link show and press Enter. Your output will display all network adapters. Look for the line that starts with "link/ether" — the address when ready following is your MAC address. If you have multiple adapters, each one will have its own "link/ether" line.

An older command that still works on many systems is ifconfig. Type it and press Enter, then look for "HWaddr" (hardware address) in the output. The address next to HWaddr is your MAC address. Both commands show the same information; use whichever one your system recognizes. If neither command works, your Linux distribution may use different tools — try nmcli device show as a third option.

Understanding Multiple MAC Addresses

If you see more than one MAC address when you run these commands, that is normal. Most computers have at least two network adapters: one for Wi-Fi and one for ethernet. Each adapter has its own unique MAC address. You only need to note the one for the connection type you actually use.

Some computers also have virtual network adapters, Bluetooth adapters, or virtual machines installed, each with their own MAC address. If you're unsure which one to use, check which connection is currently active — the one labeled "connected" or "active" in your network settings is the one you need. Write down only that MAC address unless your router or network administrator specifically asks for a different one.

Common Mistakes and Troubleshooting

The most common mistake is confusing your MAC address with your IP address. Your IP address is usually four numbers separated by periods, like 192.168.1.100. Your MAC address is six pairs of characters separated by colons or hyphens, like 00:1A:2B:3C:4D:5E. If you're asked for your MAC address and you give your IP address instead, the network won't recognize it.

Another mistake is copying the address incorrectly. MAC addresses are case-sensitive in some systems and case-insensitive in others, but it's safest to copy them exactly as shown. If you're typing it manually, double-check each character. If you're pasting it, make sure no extra spaces or characters got included. If your device still won't connect after providing the MAC address, ask your network administrator to confirm they entered it correctly on their end.

When You Might Need Your MAC Address

You'll need your MAC address when registering a device with your internet service provider, especially if they use MAC filtering for security. Some public Wi-Fi networks require you to register your device's MAC address before granting access. If you're setting up a home network and want to restrict which devices can connect, you'll configure MAC filtering in your router settings using each device's MAC address.

MAC addresses are also useful for troubleshooting. If your device keeps disconnecting from Wi-Fi, your internet provider or router manufacturer may ask for your MAC address to look up your connection history. If you're replacing a network card or moving to a new computer, you may need to update your MAC address in your router's settings so the new device is recognized.

Frequently Asked Questions

Can I change my MAC address?

Yes, you can change your MAC address through software, a process called MAC spoofing. However, most people should not do this. Changing it can break your network connection or cause your device to be blocked by your router. Only change your MAC address if a network administrator specifically instructs you to do so.

Is my MAC address the same on every network?

Yes. Your MAC address is tied to your computer's network hardware, not to the network itself. It stays the same whether you connect to your home Wi-Fi, a coffee shop network, or your office network. This is different from your IP address, which changes depending on which network you join.

What if I can't find the MAC address in my settings?

Make sure you're looking in the right place for your operating system. On Windows, use Command Prompt and search for "Physical Address." On Mac, check System Settings > Network > Details. On Linux, use the terminal commands listed above. If you still can't find it, restart your computer and try again — sometimes network settings don't display until after a restart.

Do I need to know my MAC address for regular internet use?

No. You only need your MAC address for specific setup tasks like registering with your internet provider, configuring network access controls, or troubleshooting connection problems. For everyday browsing and email, you don't need to know it.