A MAC (Media Access Control) address is a 48-bit hardware identifier assigned to a network interface — six pairs of hexadecimal digits, something like 3C:22:FB:4A:91:0E. Devices use it to hand data to each other on the same local network; IP addresses take over once that traffic needs to cross into other networks.
Every Wi-Fi card, Ethernet port and Bluetooth radio carries one. Your MAC address, unlike your IP, never actually leaves the local network — but that doesn't make it irrelevant. It still comes up constantly in router settings, troubleshooting and privacy discussions.
MAC address format
A MAC address runs 48 bits long: 6 bytes, usually called octets. Write each octet as two hex digits and you get 12 hex digits total. Depending on which operating system or vendor you're dealing with, though, the same address can show up formatted a few different ways:
| Style | Example | Where you see it |
|---|---|---|
| Colon-separated | 3c:22:fb:4a:91:0e | macOS, Linux, iOS, Android |
| Hyphen-separated | 3C-22-FB-4A-91-0E | Windows |
| Dotted groups of four | 3c22.fb4a.910e | Cisco equipment |
| Bare | 3C22FB4A910E | Some databases and router exports |
Case doesn't matter here — upper or lower, it's the same address. The IEEE's formal name for these identifiers these days is EUI-48, though "MAC-48" is still what most people grew up calling it.
The OUI: identifying the manufacturer
Split a traditional, factory-assigned MAC address in two and here's what you get:
- OUI (Organizationally Unique Identifier): the first 24 bits, or first three octets (
3C:22:FBin our example). Manufacturers buy these from the IEEE Registration Authority — so the OUI is basically a fingerprint for who built the network interface. - Device-specific part: the last 24 bits (
4A:91:0E) — the manufacturer hands out a unique one of these to every interface it makes.
24 bits works out to roughly 16.7 million combinations per OUI, plenty for most companies, though the big vendors still end up holding several. For organizations that don't need that many addresses, the IEEE also issues smaller blocks: MA-M (a 28-bit prefix) and MA-S (36-bit prefix). Wondering what that mystery device on your network actually is? Our MAC address lookup will identify the vendor behind any address.
The two special bits in the first octet
The first octet's two lowest bits aren't random — they actually carry meaning. Write that octet out in binary and you'll see them; 3C becomes 00111100.
Unicast or multicast (I/G bit)
That first octet's least significant bit is what's called the Individual/Group bit. A 0 means the address belongs to just one interface — unicast. A 1 flips it to multicast, meaning any number of interfaces can be listening on it. Set every single bit to 1 and you get FF:FF:FF:FF:FF:FF, the broadcast address that reaches every device on a segment at once.
Global or locally administered (U/L bit)
Next door is the second-least-significant bit, the Universal/Local bit. A 0 here means universally administered — it traces back to an IEEE-assigned OUI. Flip it to 1 and the address is locally administered instead: set by software or an administrator rather than burned into the hardware at the factory. This is exactly what randomized Wi-Fi addresses, virtual machines and plenty of containers rely on.
Here's a shortcut worth memorizing: a unicast address is locally administered whenever its second hex digit is 2, 6, A or E. So 02:00:5e:10:00:01 and a6:83:e7:2b:4c:19 qualify, while 3c:22:fb:4a:91:0e doesn't. And since there's no real OUI behind a locally administered address, don't expect a lookup to turn up a vendor.
MAC address vs IP address
| MAC address | IP address | |
|---|---|---|
| Network layer | Layer 2 (data link) | Layer 3 (network) |
| Length | 48 bits | 32 bits (IPv4) or 128 bits (IPv6) |
| Assigned by | Manufacturer or the device's OS | Your router (local) or ISP (public) |
| Scope | Only the local network segment | Routed across the internet |
| Visible to websites | No | Yes, your public IP |
The two addresses actually need each other to get anything done. Your laptop can't send a packet to another device on the same network without first knowing that device's MAC address. IPv4 handles this with ARP (Address Resolution Protocol), broadcasting a kind of "who has 192.168.1.1?"; IPv6 does the same job through Neighbor Discovery. Anything headed outside your network just gets addressed to your router's MAC instead — and every router it passes through along the way rewrites that MAC header for the next hop, while the IP addresses underneath stay untouched. Which is exactly why a website can never see your MAC address. All it ever gets is your IP address.
Curious what's sitting in your device's ARP cache? Run arp -a on Windows, macOS or Linux, or ip neigh if you're on Linux.
MAC addresses inside IPv6 addresses
Older IPv6 setups actually built half the address straight from the MAC, using a trick called modified EUI-64: drop FF:FE into the middle of the MAC and flip the U/L bit. Run that on 3c:22:fb:4a:91:0e and you get the interface ID 3e22:fbff:fe4a:910e — producing an address like 2001:db8:1:2:3e22:fbff:fe4a:910e. The problem? That hands every website a stable hardware fingerprint, which is exactly why modern systems have moved on to random or stable-but-opaque identifiers instead. So if you spot ff:fe sitting in the middle of an IPv6 address, there's a good chance a MAC is hiding behind it.
Randomized and private Wi-Fi addresses
Here's the thing about Wi-Fi: devices are constantly broadcasting their MAC address while scanning for and joining networks. That used to mean shops, venues, basically anyone with a cheap scanner could track a phone's movements over time. Not anymore, at least by default — every major OS now leans on randomized, locally administered MAC addresses for Wi-Fi:
- iPhone and iPad: "Private Wi-Fi Address" has been on by default since iOS 14, assigning a different address to every network you join. In recent versions you can pick Off, Fixed or Rotating per network under Settings > Wi-Fi > (i).
- Android: randomized MAC has been the default for every saved network since Android 10. Want to change it? Look under that network's settings for an option usually labeled "Privacy," offering "Use randomized MAC" or "Use device MAC".
- Windows 10 and 11: flip on "Random hardware addresses" globally under Settings > Network & internet > Wi-Fi, or set it per network with choices like On, Off or Change daily.
- macOS: recent versions tuck a Private Wi-Fi Address toggle into each network's Details pane in System Settings.
Great for privacy, sure, but it can wreak havoc on a home network. Suddenly your router thinks it's seeing a brand-new device, your DHCP reservation vanishes, or a MAC allowlist blocks you outright. If you need a stable identity on a trusted network, just set the private address to Fixed, or switch it off for that one network only.
How to find your MAC address
Windows
Open Command Prompt and run ipconfig /all, then look for Physical Address under the adapter you're using. Prefer a compact table? getmac /v lists every adapter at once. Or stay in Settings: open Network & internet, pick Wi-Fi or Ethernet, then Hardware properties.
macOS
In Terminal, run ifconfig en0 | grep ether — en0 is usually Wi-Fi on laptops. Or skip the terminal entirely: go to System Settings > Wi-Fi, click Details next to your network, and read off the Wi-Fi address. If Private Wi-Fi Address is on, what you'll see is the address actually in use on that network.
Linux
Just run ip link show — the address shows up right after link/ether for each interface.
iPhone and iPad
Go to Settings > Wi-Fi and tap the (i) next to your network to see the address it's using there. For the underlying hardware address, check Settings > General > About instead.
Android
Head to Settings > Network & internet > Wi-Fi and tap the connected network to see what address it's using, or check Settings > About phone for the device MAC. Menu names shift a bit by manufacturer, so don't be surprised if yours looks slightly different.
Your router
Your router keeps a client or DHCP list showing the MAC, IP and name of every device connected to it. Not sure how to get there? Our guide to router login addresses walks you through it.
Frequently asked questions
Can someone track me by my MAC address?
Not over the internet — your MAC simply never travels that far, since it never leaves your local network. Nearby Wi-Fi scanners used to be able to track devices by MAC, though, which is exactly why phones and computers randomize it now.
Can two devices have the same MAC address?
In theory, no, not on the same network. In practice, duplicates do crop up — from manufacturing errors, cloned virtual machines, or someone deliberately spoofing an address. When it happens on the same segment, both devices end up with flaky, intermittent connectivity.
Can I change my MAC address?
Yes, you can. Most operating systems let you set a locally administered address right in the network adapter settings, and Wi-Fi randomization already does this for you automatically. Either way, the burned-in hardware address underneath never actually changes.
Why does my MAC lookup say "unknown vendor"?
Chances are it's a locally administered address — a randomized Wi-Fi address, say — which means there's no registered OUI behind it to find. Check whether the second hex digit is 2, 6, A or E; if so, that confirms it.
Komentar
Bagikan tips, ajukan pertanyaan, atau ceritakan pengalaman Anda memakai alat ini.