Trendingat

02Home & Garden · Updated

MAC Address: What It Is and How It Works

Short answer

A unique hardware identifier assigned to a network interface

A MAC (Media Access Control) address is a permanent, factory-assigned identifier for a device's network hardware, used to direct data on a local network. It works alongside the IP address, which routes data across the internet.

Format12 hex digits, often with colonsExplained in: What Exactly Is a MAC Address?
Length48 bits (6 bytes)From the answer below
Also calledPhysical address, hardware addressExplained in: What Exactly Is a MAC Address?
Reading time5 min8 sections, about 1,220 words

What Exactly Is a MAC Address?

A MAC (Media Access Control) address is a unique identifier assigned to a network interface controller (NIC) by the manufacturer. It’s a 48-bit number, typically written as six pairs of hexadecimal digits separated by colons or hyphens, like 00:1A:2B:3C:4D:5E. This address operates at the data link layer (Layer 2) of the OSI model, meaning it’s used to move data between devices on the same local network segment.

The MAC address is burned into the hardware at the factory, so it’s sometimes called a “burned-in address” (BIA) or “physical address.” It’s permanent and doesn’t change when you move the device to a different network. In contrast, an IP address is a logical address assigned by the network—it can change and is used for routing across the internet. Think of the MAC address as a person’s name (unique at birth) and the IP address as their current mailing address (changes when they move).

How a MAC Address Works

When a device wants to send data to another device on the same local network (like a home Wi-Fi), it uses the MAC address to ensure the data reaches the correct hardware. Here’s the simplified process:

  1. Source and destination The sending device includes its own MAC address and the destination device’s MAC address in the data frame.
  2. Switch or router A network switch reads the destination MAC address and forwards the frame only to the port where that device is connected, not to all devices.
  3. ARP (Address Resolution Protocol) If the sender only knows the IP address, it broadcasts an ARP request asking “Who has this IP?” and the device with that IP replies with its MAC address.
  4. Delivery The frame is delivered to the correct network interface, and the device processes the data.

This process happens every time you send data over a local network, whether it’s a file to a printer, a request to a router, or a message to another computer.

How to Find Your MAC Address

You might need your MAC address for network troubleshooting, setting up MAC address filtering, or registering a device on a restricted network. The method varies by operating system:

  • Windows Open Command Prompt and type ipconfig /all. Look for “Physical Address” under your network adapter.
  • macOS Go to System Settings > Network, select your connection, and click Details. The MAC address is listed as “Wi-Fi Address” or “Ethernet ID.”
  • Linux Open a terminal and type ip link or ifconfig to see the MAC address associated with each interface.
  • iOS/Android In Wi-Fi settings, tap the info icon next to your connected network to see the Wi-Fi address (iOS) or go to About Phone > Status (Android).

Note that on modern smartphones and laptops, the system may use a randomized MAC address for Wi-Fi connections to improve privacy. This means the address you see may not be the hardware’s permanent one—it can change when you connect to a different network.

Common Problems and Misconceptions

Can a MAC Address Be Changed?

Yes, despite being called “permanent,” you can change the MAC address reported by your device through software. This is called MAC spoofing. It’s often used for privacy or to bypass network restrictions, but it can also be used maliciously. On most operating systems, you can change the MAC address in the network adapter settings or with third-party tools.

Is a MAC Address the Same as an IP Address?

No. They serve different purposes. A MAC address identifies the hardware on a local network; an IP address identifies the device on a global network (the internet). The MAC address is like a person’s fingerprint, while the IP address is like their current location.

Does a MAC Address Reveal My Identity?

Not directly. The first half of a MAC address is the Organizationally Unique Identifier (OUI), which identifies the manufacturer (e.g., Apple, Intel, Samsung). So someone can see that your device is made by a certain company, but not your exact device or personal identity. However, if you connect to a network that logs MAC addresses, the network owner could potentially track your device’s activity.

MAC Address Filtering and Security

MAC address filtering is a security feature on routers that allows you to create a whitelist of MAC addresses that are allowed to join the network. While it can block casual intruders, it’s not a strong security measure because MAC addresses can be easily spoofed. An attacker can capture a valid MAC address from network traffic and impersonate it.

For robust network security, rely on strong Wi-Fi encryption (WPA2 or WPA3) and a good password. MAC filtering is best used as an additional layer, not the sole defense.

MAC Address Randomization and Privacy

To address privacy concerns, modern devices (smartphones, laptops) often use a randomized MAC address when connecting to Wi-Fi networks. This means each time you connect to a new network, the device generates a random MAC address that doesn’t match your hardware’s permanent one. This prevents network operators from tracking your device across different networks.

However, some networks (like enterprise or public Wi-Fi) might require the real MAC address for authentication or management. In such cases, you can disable randomization for that specific network in your device’s settings.

Frequently Asked Questions

Why does my MAC address change?

If you’re using a smartphone or laptop, your device may be using MAC randomization for privacy. This feature generates a random MAC address for each Wi-Fi network you join, so the address you see may differ from the physical one burned into the hardware.

Can two devices have the same MAC address?

While manufacturers try to assign unique MAC addresses, duplicates can occur due to manufacturing errors or deliberate spoofing. On a local network, duplicate MAC addresses cause communication problems because the switch can’t determine which device should receive the data.

How do I find the MAC address on a device without an OS?

For devices like smart TVs, game consoles, or network printers, the MAC address is usually printed on a label on the device or found in its network settings menu. For devices without a display, check the manual or the manufacturer’s website.

Is a MAC address the same as a serial number?

No. A MAC address identifies the network interface, while a serial number identifies the entire device. A device with multiple network interfaces (e.g., Ethernet and Wi-Fi) will have different MAC addresses for each.

What does a MAC address look like?

A standard MAC address is 12 hexadecimal digits, often grouped in pairs: 00:1A:2B:3C:4D:5E or 00-1A-2B-3C-4D-5E. Some devices may display it without separators, like 001A2B3C4D5E.

Further reading: IEEE (Institute of Electrical and Electronics Engineers). Details can change, so check the official page for anything that matters to you. Spotted a mistake? Tell us. How we write an answer.