A MAC address (Media Access Control address) is a unique identifier assigned to every network interface card — the hardware inside your Mac, phone, or any device that connects to a network. Unlike an IP address, a MAC address is tied to the physical hardware and operates at the local network level, not across the internet.

Anatomy of a MAC Address

Every MAC address is 48 bits long, written as six pairs of hexadecimal digits separated by colons. Hover over the segments below to see what each part means.

Interactive MAC Address Anatomy
3C: 06: 30: A4: F2: 11
OUI (Octets 1–3) — Manufacturer
Device ID (Octets 4–6) — Unique to device
Hover a segment to learn about it

MAC Address vs. IP Address

People often confuse MAC addresses with IP addresses. Here's the key difference:

FeatureMAC AddressIP Address
LayerLayer 2 (Data Link)Layer 3 (Network)
ScopeLocal network onlyGlobal (internet)
Assigned byHardware manufacturerYour router or ISP
Format6 hex pairs (48 bits)4 decimal octets (IPv4) or 8 hex groups (IPv6)
Changes?Stable (can be spoofed)Changes per network / session
Visible to websites?No — only your router sees itYes — visible to all remote servers

How Networks Use Your MAC Address

When you connect to a Wi-Fi network, your device broadcasts its MAC address as part of the ARP (Address Resolution Protocol) process. The router uses this to:

What Is MAC Spoofing?

MAC spoofing is the process of overriding your hardware MAC address with a different one in software. Every modern OS supports this. The change is temporary — your original hardware address comes back when you reboot.

Common legitimate reasons to spoof your MAC address include:

Is It Legal to Change Your MAC Address?

Yes — in almost all jurisdictions, spoofing your own device's MAC address is completely legal. It is a built-in, documented capability of macOS, Linux, and Windows. Apple itself uses MAC address randomisation in iOS and macOS for Wi-Fi scanning to protect user privacy.

The only cases where it becomes legally murky are when you use MAC spoofing to impersonate another specific device, gain unauthorised access to a network, or circumvent security controls on a network you don't own.

Change your MAC address on macOS in one click

MacSpoof automates everything on this page — interface detection, address generation, and applying the change — without opening Terminal once.

Download MacSpoof Free

Frequently Asked Questions

Can websites see my MAC address?

No. Websites only see your IP address, not your MAC address. The MAC address is stripped at your router and never leaves the local network. Only devices on the same network segment — like your router, other devices, or a captive portal server — can see it.

Does every device have a unique MAC address?

Globally unique hardware MAC addresses are guaranteed by the IEEE assignment process — manufacturers buy blocks of OUI prefixes and must assign unique device IDs within their block. However, with ~281 trillion possible addresses and spoofing, collisions on a local network are possible but extremely rare.

Why does Apple randomise MAC addresses?

Starting with iOS 14 and macOS Big Sur, Apple randomises the MAC address used for Wi-Fi scanning (probe requests) to prevent retailers and tracking networks from building a movement profile of your device before you connect. This is different from the connected MAC address, which MacSpoof lets you change.

How long is a MAC address?

A MAC address is 48 bits long — 6 bytes — written as 6 pairs of hexadecimal digits. Some newer protocols (EUI-64) use 64-bit extensions, but standard Ethernet MAC addresses are always 48 bits.