What Is a MAC Address? Format and How It Works
A MAC (Media Access Control) address is a link-layer address used by a network interface. The common EUI-48 form has 48 bits, written as six hexadecimal pairs (for example, 00:1A:2B:3C:4D:5E). A device may use a globally assigned hardware address or a locally administered, sometimes randomized address. The address observed on a network is therefore not a permanent or trustworthy proof of the device's identity.
MAC addresses are how devices find each other on a local network. Here's how they work.
The 48-Bit Format
A MAC address is 48 bits, shown as 12 hex digits in six groups:
00:1A:2B:3C:4D:5E
└──────┘ └──────┘
vendor interface
- First 24 bits in a traditional globally assigned EUI-48 address — a manufacturer prefix assigned through the IEEE registration system. It may help identify the vendor.
- Remaining bits — assigned by that organization. A locally administered or randomized MAC does not follow this simple manufacturer-prefix interpretation.
Separators vary by vendor: 00:1A:2B:3C:4D:5E, 00-1A-2B-3C-4D-5E, or 001A.2B3C.4D5E. Generate sample addresses with our Random MAC Generator.
MAC Address vs IP Address
The two are often confused but operate at different layers:
| MAC address | IP address | |
|---|---|---|
| Layer | Data link (Layer 2) | Network (Layer 3) |
| Scope | Local network segment | Across networks/internet |
| Assigned by | Manufacturer or local device/network software | Network / DHCP or manual configuration |
| Changes? | Can be randomized or overridden | Can change by network or configuration |
| Analogy | Local delivery label | Routable network address |
The MAC address helps deliver frames on a local link; the IP address helps route packets across networks. Neither address alone authenticates a person or device. Learn more in What Is an IP Address?.
How MAC Addresses Are Used
- Local delivery — switches use MAC addresses to forward frames to the right device on a LAN.
- ARP — the Address Resolution Protocol maps an IP address to a MAC address so data can reach the device.
- DHCP — servers can assign a consistent IP to a specific MAC.
- MAC filtering — routers can allow/deny devices by MAC (a weak security measure on its own).
Can a MAC Address Be Changed?
Yes. Operating systems can override a factory address, and many devices use randomized addresses for Wi-Fi privacy. The MAC seen by a router can differ from the hardware address shown elsewhere. RFC 9724 explains globally and locally administered MAC addresses and randomization.
How to Find Your MAC Address
Quickly:
- Windows:
ipconfig /all→ "Physical Address." - macOS: System Settings → Wi-Fi → Details.
- iPhone: Settings → General → About → Wi-Fi Address.
For the full per-device walkthrough, see How to Find Your MAC Address.
Frequently Asked Questions
What is a MAC address? A link-layer address used to deliver frames to a network interface on a local network. The common form has 48 bits; it may be factory assigned or locally administered.
What does a MAC address look like?
Six pairs of hexadecimal digits separated by colons or hyphens, e.g. 00:1A:2B:3C:4D:5E.
What is the difference between a MAC address and an IP address? A MAC address identifies an interface on a local link (Layer 2); an IP address is used for routing (Layer 3). Either can change under some configurations.
Can a MAC address be changed? The hardware address is fixed, but it can be spoofed in software, and modern devices randomize their MAC per network for privacy.
What is a MAC address used for? Delivering data to the right device on a local network, ARP resolution, DHCP reservations, and MAC-based access filtering.
Related Reading
On Ethernet and Wi-Fi, the MAC address helps deliver local frames and the IP address helps route packets. Randomization and software overrides mean a MAC address should not be treated as a permanent device ID.