A MAC address is used to identify a device's network hardware on a local network, so switches and routers can deliver data to the right device. It is a 48-bit hardware address, usually written as six pairs of hexadecimal digits such as 3C:22:FB:12:34:56, assigned by the manufacturer. It works only inside your local network and never travels across the internet, unlike your IP address.
Key takeaways
- A MAC address identifies network hardware on your local network, so your router and switches can send each packet to the right device.
- The first half of the address usually names the manufacturer, and the second half names the specific device, in 48 bits of hexadecimal.
- A MAC address is not a security control on its own: it can be spoofed, and modern phones hide the real one behind a private address on each Wi-Fi network.
Your router knows your phone by a name you never chose: a string of twelve hexadecimal characters burned into its Wi-Fi chip. That is your MAC address, and it is how data finds the right device in your home, even when several devices share the same network.
What is a MAC address used for?
A MAC address is used to identify a device's network hardware on a local network. Switches and routers use it to deliver each packet of data to the exact device it was sent to, instead of broadcasting it to every device.
MAC stands for Media Access Control. The address is assigned by the manufacturer to a network interface controller, the chip that connects a device to Ethernet, Wi-Fi or Bluetooth. It is also called a hardware address or physical address.
Think of it this way: if your IP address is the street address of the house you live in right now, your MAC address is your ID number. Move house and the street address changes, but the ID number stays with you.
How do you read a MAC address?
A MAC address is 48 bits long, written as twelve hexadecimal digits in six pairs, such as 3C:22:FB:12:34:56. The first three pairs usually name the manufacturer, and the last three pairs name the specific device.
The first half is called the organizationally unique identifier, or OUI. The IEEE manages these prefixes, so a lookup of the first three pairs can often tell you who made the network card. The second half is assigned by that manufacturer.
The IEEE manages the address space, and the full technical description is on Wikipedia's MAC address page.
Two special bits in the first pair matter. One bit marks whether the address is for one device or a group, and another marks whether it was assigned by the manufacturer or locally by software. The broadcast address, FF:FF:FF:FF:FF:FF, is received by every device on the local network.
What is the difference between a MAC address and an IP address?
A MAC address identifies hardware on a local network and stays with the device, while an IP address is a logical address that changes when you join a different network and is used to route data across the internet.
| MAC address | IP address | |
|---|---|---|
| What it identifies | Network hardware | Device on a network |
| Layer | Data link layer (Layer 2) | Network layer (Layer 3) |
| Assigned by | Manufacturer | Router or internet provider |
| Changes when you move | No, usually fixed | Yes, new network, new IP |
| Travels across the internet | No, local only | Yes |
| Format | 48-bit hex, e.g. 3C:22:FB:12:34:56 | IPv4 or IPv6 numbers |
| Visible to websites | No | Yes, your public IP |
Your router links the two. When a packet arrives from the internet for your public IP address, your router looks up which MAC address belongs to the device that requested it, and forwards the packet on your local network. You can see your current public address with our free what-is-my-IP tool.
What does your router use a MAC address for?
Your router uses MAC addresses to list connected devices, give a device the same local IP address every time, apply parental controls to a specific device, and wake a computer remotely. These are everyday jobs, not exotic ones.
- Connected devices list: every device on your Wi-Fi shows up with its MAC address, so you can spot an unknown device.
- Reserved IP addresses: the router links a MAC address to a fixed local IP, which is useful for a printer, camera or game console.
- Parental controls and schedules: time limits and blocks are applied per device, which means per MAC address.
- Wake-on-LAN: a special packet sent to a MAC address can wake a sleeping computer.
- Troubleshooting: when a device will not connect, its MAC address helps you trace which device is which in the router logs.
Portnox explains that MAC addresses operate at the local network level and are not routable over the internet. See Portnox's guide to MAC addresses.
When your device first joins a network, it uses a protocol called ARP on IPv4, or Neighbor Discovery on IPv6, to find the MAC address that matches an IP address. That lookup happens quietly in the background every time you connect.
How do you find your MAC address?
You can find your MAC address in your device settings, under the network details for Wi-Fi or Ethernet. The exact path differs by system, but the label is usually "physical address" or "Wi-Fi address".
On Windows, you can also open Command Prompt and type ipconfig /all, then look for the physical address under your Wi-Fi or Ethernet adapter. On a Mac, hold Option and click the Wi-Fi icon in the menu bar to see the address quickly.
Note what you see on a phone. Since iOS 14 and Android 10, phones use a private, random MAC address for each Wi-Fi network by default. The address you see in settings is usually that private address, not the hardware address printed on the box.
What is a private MAC address?
A private MAC address is a random address your phone uses on one Wi-Fi network instead of its real hardware address. It stops shops, airports and other networks from tracking your phone from place to place by its hardware address.
Each network gets a different private address, so the coffee shop cannot link your visit to the address your phone used at the airport. You can turn the feature off for a specific network if it breaks something, such as a reserved IP address or a parental control tied to the old address.
Private addresses can break a few home setups: a fixed local IP for a device, parental-control schedules tied to a device, and router allow-lists. If a device stops getting its usual treatment after an update, check whether its private address changed.
Our guide to how to secure your Wi-Fi covers the router settings that matter more than address lists, including strong passwords and firmware updates.
Can a MAC address be used for security?
A MAC address can help you identify devices and organize a network, but it is not a reliable security control. Anyone on your network can see MAC addresses, and spoofing one, pretending to be another device, is straightforward with free tools.
MAC filtering, where a router allows only listed addresses, feels secure but adds little. An attacker who can see your network traffic can copy an allowed address and join anyway. It also creates work: every new device, and every private address change, needs to be added by hand.
Use MAC addresses for what they are good at: spotting unknown devices, reserving IP addresses and troubleshooting. For security, use a strong, unique Wi-Fi password, WPA3 if your router supports it, a separate guest network, and regular firmware updates.
What is MAC spoofing?
MAC spoofing is changing the MAC address a device reports, so the network treats it as a different device. It has legitimate uses, such as testing a network, replacing a broken network card, or protecting privacy, and it also has abusive uses.
Attackers use spoofing to bypass MAC filtering, impersonate a trusted device, or hide which device they are using. Because the address is sent in plain text on the local network, anyone who can observe traffic can learn a valid address to copy.
That is why security teams treat a MAC address as an identifier, not as proof of identity. Real authentication needs a password, a certificate or another credential that cannot be copied just by watching the network.
The bottom line
A MAC address is the hardware ID that lets your local network deliver data to the right device. It names the maker and the device, it works only inside your network, and it is not a secret and not a security control.
Use it to organize and troubleshoot your home network, let your phone randomize it on public Wi-Fi, and protect the network itself with a strong password. You can check the address your connection currently shows to the internet with the free what-is-my-IP tool.
Frequently asked questions
What is a MAC address used for in simple terms?
A MAC address is used as a name tag for the network card inside a device. When your router needs to send data to your phone, laptop or printer on your home network, it uses the MAC address to make sure the data reaches that exact device and not another one.
What is the difference between a MAC address and an IP address?
A MAC address identifies the physical network hardware and works only on your local network. An IP address is a logical address that can change when you move networks, and it is what routes data across the internet. Your router links the two together on your home network.
Can someone track me with my MAC address?
On your home network, anyone connected to the same Wi-Fi can see the MAC addresses of nearby devices. Across the internet, your MAC address does not travel, so a website cannot see it. Modern phones also use a different private MAC address on each Wi-Fi network to stop tracking between networks.
How do I find my MAC address?
On Windows, open Settings, then Network and Internet, then Wi-Fi or Ethernet, and look for the physical address. On a Mac, open System Settings, then Network, and check the hardware details. On iPhone and Android, look under Settings, then Wi-Fi, then the network details for the private address.
Can I change my MAC address?
Yes, in most cases. Many network cards support changing the address in software, and phones now randomize it automatically on each Wi-Fi network. Changing it can break router rules tied to the old address, such as a reserved IP address or parental controls, so note the original first.
Is MAC address filtering good security?
MAC filtering, where a router only allows listed MAC addresses, is a weak control. It is easy to spoof a MAC address, and it becomes tedious when phones use private addresses. Use a strong Wi-Fi password, WPA3 where available, and keep your router firmware updated instead.
What does the first half of a MAC address tell you?
The first three pairs of digits, called the organizationally unique identifier, usually identify the manufacturer of the network card. The last three pairs are a serial number the manufacturer assigns to that specific device. A lookup of the first half can often tell you who made the hardware.
Does every device have more than one MAC address?
Yes, if it has more than one network interface. A laptop has a different MAC address for Wi-Fi and for Ethernet, and a phone has separate addresses for Wi-Fi and Bluetooth. Each interface needs its own address so the network can tell them apart.
Sources
The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.
Checked against the IEEE EUI-48 description on Wikipedia and Portnox and Coursera guides to MAC addresses.
How we write and fact-check →