What Is a MAC Address? Your Device's Hardware Fingerprint
A MAC address (Media Access Control address) is a unique hardware identifier assigned to every 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: AA:BB:CC:DD:EE:FF. While your IP address can change depending on which network you join, your MAC address is burned into the hardware and stays the same (though it can be overridden in software). MAC addresses operate at Layer 2 (Data Link) of the OSI model and are used for communication within a local network segment.
How MAC Addresses Work
When your computer sends data on a local network, it needs to address the packet to a specific device. IP addresses identify devices logically, but the actual packet delivery on the local wire (or Wi-Fi) uses MAC addresses.
The process (ARP):
- Your computer wants to send data to
192.168.1.50on the same subnet - It broadcasts an ARP (Address Resolution Protocol) request: “Who has
192.168.1.50? TellAA:BB:CC:DD:EE:FF” - The device at
192.168.1.50responds: “That’s me, my MAC is11:22:33:44:55:66” - Your computer caches this mapping and addresses the Ethernet frame to
11:22:33:44:55:66 - The network switch reads the destination MAC and delivers the frame to the correct port
This is why MAC addresses matter at the local network level even though IP addresses handle everything above.
MAC Address Anatomy
A MAC address has two parts:
OUI (Organizationally Unique Identifier) — first 3 bytes: Identifies the manufacturer. Apple, Intel, Cisco, etc. each have registered OUI prefixes. You can look up any OUI to identify the device manufacturer.
Device Identifier — last 3 bytes: Unique to each device from that manufacturer.
Example: DC:A6:32:XX:XX:XX — the OUI DC:A6:32 belongs to Raspberry Pi Trading Ltd. Seeing this on your network means there’s a Raspberry Pi connected.
Finding Your MAC Address
Windows: ipconfig /all → look for “Physical Address”
Mac: System Preferences → Network → Advanced → Hardware
Linux: ip link show or ifconfig
iPhone: Settings → General → About → Wi-Fi Address
Android: Settings → About Phone → Status → Wi-Fi MAC Address
MAC vs IP Addresses
| Feature | MAC Address | IP Address |
|---|---|---|
| Layer | 2 (Data Link) | 3 (Network) |
| Scope | Local network only | Global (internet-wide) |
| Assignment | Hardware manufacturer | DHCP or manual |
| Persistence | Permanent (can be spoofed) | Changes per network |
| Format | AA:BB:CC:DD:EE:FF | 192.168.1.1 or 2001:db8::1 |
| Purpose | Local device identification | Routing across networks |
MAC Randomization (Privacy)
Modern devices (iOS 14+, Android 10+, Windows 10+) use MAC randomization to prevent tracking. Instead of broadcasting their real MAC address when scanning for Wi-Fi networks, they generate a random MAC for each network or scanning session.
This prevents retailers, advertisers, and tracking systems from following your device based on its constant hardware MAC. When you actually connect to a network, some devices still use the real MAC while others maintain a per-network random MAC.
Test It Yourself
Check Your Network
See your IP address, ISP, and network details. Your MAC address stays local.