What a Mac Address Is and Why You Need It

A MAC address (Media Access Control address) is a unique identifier assigned to every network device on your computer — your Wi-Fi card, your ethernet port, sometimes your Bluetooth adapter. It looks like a string of six pairs of numbers and letters separated by colons, such as 00:1A:2B:3C:4D:5E. Your router uses it to recognize your device on the network. Your internet service provider may use it to identify your connection. Some networks restrict access to devices with specific MAC addresses.

You need to find your MAC address when you are setting up a new network, troubleshooting a connection problem, registering a device with your internet provider, or connecting to a network that has a whitelist of allowed devices. The process differs slightly depending on whether you use Windows, macOS, or Linux, but in each case the information is stored in your system settings and takes less than a minute to locate.

Key Takeaways

  • Your MAC address is a unique identifier for each network device on your computer, displayed as six pairs of numbers and letters separated by colons.
  • On Windows, open Command Prompt and type ipconfig /all to see the Physical Address, which is your MAC address.
  • On macOS, go to System Settings, select Network, choose your connection, and click Advanced to find the MAC address listed as Wi-Fi Address.
  • On Linux, open a terminal and type ip link show or ifconfig to display MAC addresses for all network interfaces.
  • If you have multiple network adapters, you will see multiple MAC addresses — one for each device.

Finding Your Mac Address on Windows

Open Command Prompt by pressing the Windows key, typing cmd, and pressing Enter. At the command prompt, type ipconfig /all and press Enter. The system will display information for each network adapter on your computer.

Look for the section labeled with your connection type — either "Ethernet adapter" if you are connected by cable, or "Wireless LAN adapter" if you are using Wi-Fi. Within that section, find the line that says Physical Address. The value shown there is your MAC address. If you have both an ethernet port and a Wi-Fi card, you will see two different MAC addresses, one under each adapter section.

You can also find it through Settings. Go to Settings, select Network & Internet, then Status. Scroll down and click View your network properties. Find the adapter you want (Ethernet or Wi-Fi), and the Physical Address shown there is your MAC address.

Finding Your Mac Address on macOS

Click the Apple menu in the top-left corner and select System Settings. Click Network in the left sidebar. Select the connection type you want to check — Wi-Fi or Ethernet — from the list on the right.

Click the Advanced button at the bottom right of the window. A new window will open. Click the Wi-Fi tab (if you selected Wi-Fi) or the Ethernet tab (if you selected Ethernet). Near the top of the window, you will see a field labeled Wi-Fi Address or Ethernet Address. The value shown there is your MAC address.

If you prefer the command line, open Terminal (found in Applications > Utilities), type ifconfig, and press Enter. Look for the line that begins with ether under your connection type — that is your MAC address.

Finding Your Mac Address on Linux

Open a terminal window. Type ip link show and press Enter. The system will display all network interfaces on your computer. Each interface is numbered and labeled — eth0 for ethernet, wlan0 for Wi-Fi, and so on. Next to each interface name, you will see a line that begins with link/ether followed by your MAC address for that device.

Alternatively, type ifconfig and press Enter. This command displays similar information in a different format. Look for the line that begins with HWaddr or ether under each interface — that is the MAC address for that device.

If you want to see only the MAC address for a specific interface, type ip link show eth0 (or replace eth0 with the name of your interface) and press Enter.

Understanding Multiple Mac Addresses on One Computer

Most computers have more than one MAC address because they have more than one network device. A typical laptop has a Wi-Fi adapter and an ethernet port, so it has two MAC addresses. Some computers also have Bluetooth adapters, which have their own MAC addresses. Desktops with multiple network cards will have one MAC address per card.

When you register a device with your internet provider or add it to a network whitelist, make sure you are using the MAC address for the correct adapter — the one you actually use to connect. If you connect by Wi-Fi, use the Wi-Fi adapter's MAC address. If you connect by ethernet cable, use the ethernet adapter's MAC address. Using the wrong one will cause connection problems.

When You Might Need Your Mac Address

Your internet service provider may ask for your MAC address when you set up a new modem or router, or when you troubleshoot a connection that keeps dropping. Some networks — particularly in offices, schools, and apartment buildings — restrict access to devices on an approved list. To join such a network, you register your MAC address with the network administrator.

If you are replacing a network adapter or moving your computer to a new network, having your MAC address on hand speeds up the process. Some routers also allow you to set rules based on MAC address, such as limiting bandwidth to a specific device or scheduling when a device can connect.

Frequently Asked Questions

Can I change my Mac address?

Yes, but it is not permanent. You can change your MAC address in your network adapter settings or through command-line tools, and the change will last until you restart your computer. Some networks block devices that try to spoof a MAC address, so changing it may not help you bypass restrictions.

Why do I see different Mac addresses when I search online?

If you are looking at your router's settings or your internet provider's records, you may see the MAC address of your router or modem, not your computer. These are different devices with different MAC addresses. Make sure you are looking at the settings on your actual computer, not on the network equipment.

What if I cannot find my Mac address using these steps?

Check that you are looking at the correct network adapter — the one you actually use to connect. If you use Wi-Fi, ignore the ethernet adapter's MAC address. If the commands do not work, restart your computer and try again. If your network adapter is disabled, you may not see it in the list.

Is my Mac address the same as my IP address?

No. Your MAC address is a physical identifier for your network device and does not change when you move to a different network. Your IP address is assigned by your network and changes depending on where you connect. Both are used for network communication, but they serve different purposes.