Every device you own that connects to a network has a MAC address. Your laptop has one for Wi-Fi and a different one for its Ethernet port. Your phone has one too, and it may quietly change it every time you join a new network. Yet most people have never seen theirs, and almost everyone confuses it with an IP address.
A MAC address (Media Access Control address) is a 48-bit hardware identifier assigned to a device’s network interface. It works like a serial number for networking: it tells the other devices on your local network exactly which piece of hardware is which. It looks like this: 3C:22:FB:9A:4D:7E (example), six pairs of hexadecimal digits separated by colons.
What a MAC address actually is
MAC stands for Media Access Control. The address is assigned by the manufacturer and stored on the network interface controller, the chip that connects your device to a network. Because it ships with the hardware, people also call it the burned-in address, the physical address, or the hardware address. Those names all mean the same thing.
One detail that surprises people: the MAC address belongs to the network interface, not the whole device. A laptop with both Wi-Fi and an Ethernet port has two MAC addresses, one per interface. A phone has one for Wi-Fi and another for Bluetooth.
MAC addresses live at Layer 2, the data link layer, of the networking model. That is the layer responsible for moving data between devices on the same local network. Anything beyond your local network, like a website on the other side of the world, never sees your MAC address. That fact has real privacy implications, covered below.
What the six pairs of digits mean
The 48 bits are split into two halves with two different jobs. The first three bytes identify the manufacturer. This is called the OUI (Organizationally Unique Identifier), and the IEEE assigns each block to a company. The last three bytes are assigned by the manufacturer to make each individual device unique. With 24 bits to play with, a single OUI covers about 16.7 million devices, so large manufacturers hold several of them.
| OUI | Manufacturer |
|---|---|
| 3C:22:FB | Apple |
| 00:00:0C | Cisco |
| 00:50:56 | VMware |
| 08:00:27 | VirtualBox (Oracle) |
| DC:A6:32 | Raspberry Pi |
There is one more subtlety hiding in the very first digit. Two bits of the first octet carry flags: the I/G bit marks the address as unicast (one device) or multicast (a group), and the U/L bit marks it as universally administered (factory assigned) or locally administered (set by software). An address starting with 02, like 02:1A:2B:3C:4D:5E, is a locally administered one, which is exactly what your phone generates when it randomizes its Wi-Fi address for privacy.
MAC address vs IP address: the difference that matters

This is the confusion that trips up almost everyone, so here is the clean version. A MAC address identifies a piece of hardware on a local network. An IP address identifies a device’s position on a larger network so data can be routed to it. They work together, but they do completely different jobs.
| MAC address | IP address | |
|---|---|---|
| Network layer | Layer 2 (data link) | Layer 3 (network) |
| Assigned by | Device manufacturer | Your network (DHCP server or router) |
| Scope | Local network only | Routable worldwide |
| Changes? | Stable for the hardware’s life (unless randomized) | Can change often |
| Example | 3C:22:FB:9A:4D:7E | 192.168.1.42 |
A helpful way to think about it: the IP address is the street address that gets a letter to your building, and the MAC address is the apartment number that gets it to the right door inside. The postal service only needs the street address. Once the letter arrives at the building, the apartment number takes over.
Here is the part with real privacy implications. Your MAC address never leaves your local network. When your laptop talks to a website, your home router strips off the local frame and forwards only the IP packet onward. The website sees your public IP address, never your MAC. Anyone who can see your MAC address is, by definition, on or very near your local network.
How MAC addresses are actually used
Three systems use your MAC address every day without you noticing.
Network switches learn them
The switch or access point at the heart of your local network watches the source MAC address of every frame that arrives and remembers which port it came from. That is how it forwards each frame only to the right device instead of shouting it to everyone. If you have ever wondered what a packet sniffer actually captures, every frame it grabs carries the source and destination MAC addresses in its Ethernet header.
ARP matches IP addresses to MAC addresses
When your computer wants to send data to 192.168.1.42 on your home network, it needs the MAC address behind that IP. The Address Resolution Protocol (ARP) asks the local network, in effect, “who has this IP?” and the matching device answers with its MAC. If DNS is the system that maps names to IP addresses, ARP does the matching job one layer down, mapping IP addresses to MAC addresses.
DHCP hands out IP addresses using them
When your phone joins your home Wi-Fi, the router’s DHCP service recognizes it by its MAC address and leases it an IP address. This is also why some routers let you reserve a fixed IP for a specific device: the reservation is tied to the device’s MAC.
How to find your MAC address on any device

It takes less than a minute on every major platform. Manufacturers label it inconsistently, so look for any of these names: MAC address, Physical Address, Hardware Address, or Wi-Fi Address. They all mean the same thing.
Windows 11
- Open Settings, then Network and internet.
- Select Wi-Fi (or Ethernet for a wired connection).
- Click Hardware properties. Your MAC address is listed as Physical address (MAC).
Windows 10
- Open Command Prompt and type
ipconfig /all, then press Enter. - Find your network adapter in the output. The MAC address is the value next to Physical Address.
macOS
- Open Terminal and run:
ifconfig en0 | grep ether(en0 is usually Wi-Fi). - The address shown after “ether” is your Wi-Fi MAC address.
Android
- Open Settings, then About phone.
- Look for Wi-Fi MAC address (on some phones it sits under Status or Device identifiers).
iPhone and iPad
- Open Settings, then General, then About.
- Your MAC address is listed as Wi-Fi Address. Handy related trick: if you need the network password rather than the hardware address, here is how to find a saved Wi-Fi password on iPhone or iPad.
On the hardware itself
Routers, printers, and smart home gadgets usually print the MAC address on a sticker on the bottom or back of the device. This is the address you need when a setup app asks you to register the device, or when you configure MAC filtering on your router.
Identify any device maker from its MAC address
Because the first three bytes name the manufacturer, you can identify a mystery device on your network from its MAC alone. Copy the first six hexadecimal digits, the OUI, and paste them into an OUI lookup tool such as the one Wireshark maintains. If an unknown device appears on your home network at 2 AM, the lookup might tell you it is just your smart TV phoning home. Or it might tell you it is something you do not recognize, which is worth investigating.
Why your phone keeps changing its MAC address
If you check your phone’s MAC address on two different Wi-Fi networks, you may see two different values. That is deliberate. Since iOS 14, Android 10, and recent Windows versions, devices can use a randomized, private MAC address for each network they join.
The reason is privacy. Shops, airports, and advertisers used to track foot traffic by logging the MAC addresses their Wi-Fi equipment observed. A stable hardware identifier made every visit linkable to the same device. Randomizing the address per network breaks that tracking.
The trade-off is that features depending on recognizing your device break too. If your home router uses MAC filtering, or reserves a fixed IP for your phone, a randomized address will not match. The fix is per network: on iPhone, open Settings, then Wi-Fi, tap the info icon next to your home network, and turn off Private Wi-Fi Address for that network. Android and Windows have equivalent per-network toggles.
Note the limit of this protection. A randomized MAC hides you from tracking on the local network, but it does nothing about your internet traffic itself. For that you need a different tool: a VPN encrypts your traffic and hides it from your internet provider, which is a separate job from hiding your hardware identity.
Can you change your MAC address?
Yes. Despite the “burned-in” name, most network adapters let software override the MAC address, a practice called spoofing. On Windows, open Device Manager, find your network adapter, open Properties, go to the Advanced tab, and look for a Network Address or Locally Administered Address property. Not every adapter exposes it, and the exact name varies by driver.
Legitimate reasons exist: network testing, privacy research, and registering a replacement device on a network that only allows known hardware. But spoofing to dodge a network ban or impersonate another device can violate that network’s policy and, on corporate or school networks, get you in real trouble. The capability is neutral. The context decides.
Frequently asked questions
Is a MAC address the same as an IP address?
No. A MAC address is a hardware identifier assigned by the manufacturer that works only on your local network (Layer 2). An IP address is a logical address assigned by your network that can be routed worldwide (Layer 3). Your device needs both to communicate.
Can two devices have the same MAC address?
Factory-assigned MAC addresses are meant to be globally unique, and true duplicates are extremely rare. In practice, duplicates do happen: cheap clone hardware, virtual machines, and manually spoofed addresses can collide. Two identical MACs on the same local network cause traffic confusion and connection drops.
Can a website see my MAC address?
No. Your MAC address never leaves your local network. Your router strips the local Ethernet frame before forwarding your traffic, so websites and anyone beyond your router only ever see your public IP address.
Does my MAC address reveal my location?
Not directly, since it is just a hardware identifier. But a stable Wi-Fi MAC can be used to track a device’s movements across networks that log it, which is why modern phones randomize their MAC address per network.
Should I keep my MAC address private?
There is little harm in someone knowing it, since it cannot be used to reach you over the internet. Still, treat it like any device identifier: share it only when needed, for example when registering a device on a network or setting up MAC filtering on your router.
A MAC address is one of those invisible pieces of infrastructure that quietly makes everything else work. Now you know what the numbers mean, how they differ from IP addresses, and where to find yours whenever a network asks for it.
Sources: MAC address, Wikipedia; What is a MAC address, TechTarget.
Kaleem
Kaleem is a Computer Science graduate and the founder of Valley AI (valleyai.net), where he publishes in-depth, tested guides on computers, AI, and internet technologies. Every guide is researched from primary sources and updated regularly.