A MAC address (Media Access Control address) is a 48-bit hardware identifier assigned to a network adapter by its manufacturer, written as six pairs of hexadecimal digits such as 00:1A:2B:3C:4D:5E. It identifies a device on its local network, while an IP address identifies it across networks. You can find yours in your device's network settings or with a command such as ipconfig /all on Windows.
Key takeaways
- A MAC address is a 48-bit hardware ID burned into your network adapter by the manufacturer — one per adapter, not per device.
- MAC addresses work only on your local network; routers use them to deliver frames, while IP addresses route traffic across networks.
- Modern phones and laptops randomize their Wi-Fi MAC address to stop tracking, so the address your router sees may not be the hardware one.
Your router knows your laptop by a name you have never seen: a string like 00:1A:2B:3C:4D:5E. That is your MAC address — the hardware ID of your network adapter — and it is how data finds the right device on your local network.
What is a MAC address?
A MAC address (Media Access Control address) is a unique identifier assigned to a network interface controller — the Wi-Fi or Ethernet chip in your device — by its manufacturer. It is 48 bits long and is usually written as six pairs of hexadecimal digits, separated by colons or hyphens, such as 00:1A:2B:3C:4D:5E. The full reference on MAC addressing documents the format and the IEEE numbering spaces behind it.
It is also called a hardware address, a physical address, or a burned-in address, because it is stored in the adapter's hardware when the device is made. Every network adapter has its own MAC address, so a laptop with Wi-Fi and Ethernet has two, and a phone has one for Wi-Fi and another for Bluetooth.
MAC addresses work at Layer 2 of the OSI model — the data link layer — and they only have meaning inside your local network. When your traffic leaves your home and crosses the internet, routers strip the MAC address off and replace it at every hop. Websites and people on the internet never see it.
How is a MAC address structured?
A MAC address has two halves with two different jobs. The first three bytes (24 bits) are the Organizationally Unique Identifier, or OUI, which identifies the manufacturer. The last three bytes are a serial number the manufacturer assigns to that specific adapter.
The first byte also carries two flag bits. The lowest bit says whether the address is unicast (one device) or multicast (a group of devices), and the next bit says whether the address is universal (assigned by the manufacturer) or locally administered (set by software, as with randomized addresses).
The OUI is assigned by the IEEE, the standards body behind Ethernet and Wi-Fi. Manufacturers must register with the IEEE and receive a unique prefix, which is why the first half of a MAC address can tell you who made the adapter — a feature network tools use to identify devices on a network.
What is a MAC address used for?
A MAC address lets devices on the same local network find each other. When your laptop wants to talk to your printer, it uses the Address Resolution Protocol (ARP) to ask "who has this IP address?" and gets the printer's MAC address back. From then on, frames are addressed directly to that MAC address.
Routers and switches use MAC addresses the same way. A switch keeps a table mapping MAC addresses to ports, so it can forward a frame to the right cable instead of flooding the whole network. Your home router's client list is really a list of MAC addresses with friendly names attached.
Common uses include identifying devices on a network, reserving the same IP address for a device (a DHCP reservation), and restricting which devices can join a network — though, as we explain below, that last one is weak security on its own.
What is the difference between a MAC address and an IP address?
Both are identifiers, but they work at different layers and have different jobs. A MAC address names the hardware on your local network; an IP address names the device's position on a network, and it can change when the device moves.
| MAC address | IP address | |
|---|---|---|
| What it identifies | The network adapter (hardware) | The device's position on a network |
| Assigned by | The manufacturer | The network or internet provider |
| Length | 48 bits (12 hex digits) | 32 bits (IPv4) or 128 bits (IPv6) |
| Changes? | Rarely, unless randomized or spoofed | Often, when you move networks or reconnect |
| Scope | Local network only | Works across the internet |
| Layer | Layer 2 (data link) | Layer 3 (network) |
| Example | 00:1A:2B:3C:4D:5E | 192.168.1.24 |
Think of it like a building: the MAC address is the nameplate on an office door, and the IP address is the street address. The nameplate only helps people already inside the building; the street address is what lets mail arrive from anywhere. You can see your public IP address right now with our free what-is-my-IP tool.
What is my MAC address? How to find it on any device
Every operating system shows your MAC address in its network settings, though each one calls it something different: Windows calls it the Physical Address, Apple calls it the Wi-Fi Address, and Android calls it the Wi-Fi MAC address. Pick your device below.
Windows 10 and 11
The fastest way is the command line. Open Command Prompt, type ipconfig /all, and look for the line labeled "Physical Address" under your Wi-Fi or Ethernet adapter. For a shorter list, run getmac /v instead. How-To Geek's walkthrough shows the same steps with screenshots for Windows 10 and 11.
If you prefer clicking, open Settings, go to Network & internet, select Wi-Fi or Ethernet, and look for "Physical address (MAC)" in the properties. On Windows 11 you can also open Advanced network settings and then Hardware and connection properties to see every adapter at once.
Mac (macOS)
Open System Settings, click Network, select Wi-Fi or Ethernet, and click Details. The MAC address is shown as the "Wi-Fi Address" for wireless or the "Ethernet Address" for wired connections.
In Terminal, you can run ifconfig en0 and look for the line starting with ether. Note that recent macOS versions show a private, randomized address by default — turn Private Wi-Fi Address off for that network if you need the real hardware address.
iPhone and iPad
Go to Settings, then General, then About, and scroll to "Wi-Fi Address" — that is the hardware address. To see the address a specific network actually sees, go to Settings, then Wi-Fi, tap the information icon next to the network, and read the Wi-Fi Address there.
Since iOS 14, iPhones use a private address per network by default. On iOS 18 and later you can choose Off, Fixed or Rotating under Private Wi-Fi Address; Off uses the hardware address, while Fixed and Rotating use private ones.
Android
Go to Settings, then About phone (or About device), and look for "Wi-Fi MAC address". Menu names vary by brand: on Samsung devices it is under About phone, then Device Information. Android has used a randomized MAC address per network since Android 10, so the address your router sees may differ from the hardware one.
Linux
Open a terminal and run ip link. Each interface is listed with a line starting link/ether followed by its MAC address. The older ifconfig command shows the same value as HWaddr on systems that still have it.
Is a MAC address private? Can it be used to track you?
A MAC address is visible to your local network and to anyone in radio range on Wi-Fi, which is a real tracking risk: shops, airports and other public networks could once follow a phone from place to place by its MAC address. That is why modern operating systems randomize it.
Your MAC address is not visible to websites or to people on the internet. Routers replace it at every hop, so the only address a website sees is your IP address. The privacy risk is local: the network you are connected to, and anyone listening on it.
Randomized addresses have a side effect worth knowing: if your router uses MAC-based rules — a DHCP reservation or a parental control — a randomized address breaks them, because the router sees a different address each time. If you rely on MAC-based rules at home, set your devices to use the hardware address on your own network and keep randomization on for public networks.
Can you change a MAC address?
Yes, on most systems, and it is usually called spoofing. Windows, macOS, Linux and Android all let you set a custom address or turn on randomization. It is legal for your own devices, and it is a legitimate privacy measure — it is exactly what the randomization features above are doing automatically.
Do not use spoofing to bypass access controls you are not allowed to bypass — for example, imitating an allowed device to get onto a restricted network. That is not privacy; it is unauthorized access.
Is MAC address filtering good security?
MAC filtering lets a router allow only listed MAC addresses onto the Wi-Fi network. It sounds secure, but it is not: a MAC address is broadcast in the clear, so anyone who can see the network can find an allowed address and imitate it in seconds. It stops casual users and nothing else.
Use a strong Wi-Fi password with WPA3 instead, and keep your router firmware updated. Our guide to securing your Wi-Fi walks through the settings that actually matter. Treat MAC filtering as a minor extra — useful for keeping a smart TV off the guest network, not as a defense.
The bottom line
A MAC address is your network adapter's hardware ID: 48 bits, assigned by the manufacturer, used only on your local network. It is different from your IP address, which is assigned by the network and routes traffic across the internet.
To find yours, check your network settings or run ipconfig /all on Windows and ip link on Linux. Remember that modern devices randomize the address on unfamiliar networks for privacy, so the address your router sees is often not the hardware one — and that is by design. You can check what the internet actually sees of your connection with our free DNS lookup tool.
Frequently asked questions
What is a MAC address in simple terms?
A MAC address is a permanent hardware ID for a network adapter, like a serial number for your Wi-Fi or Ethernet chip. It is written as six pairs of hexadecimal digits, for example 00:1A:2B:3C:4D:5E. Your router uses it to deliver data to the right device on your local network.
What is my MAC address?
On Windows, open Command Prompt and run ipconfig /all, then look for the Physical Address line. On a Mac, go to System Settings, then Wi-Fi, then Details, and read the Wi-Fi Address. On an iPhone, go to Settings, then General, then About, and read Wi-Fi Address. On Android, go to Settings, then About phone, and look for Wi-Fi MAC address.
Is a MAC address the same as an IP address?
No. A MAC address is a hardware identifier that belongs to the network adapter and rarely changes, and it only works on your local network. An IP address is a logical address assigned by your network or internet provider, it can change, and it is what routes traffic across the internet. Your device uses both at the same time.
Can someone track me with my MAC address?
On a public Wi-Fi network, yes in principle: your MAC address is visible to the network and to anyone listening nearby, which is why modern phones randomize it. Your MAC address is not visible to websites or to people on the internet, because routers strip it out when traffic leaves your local network.
Can I change my MAC address?
Yes, on most systems. Windows, macOS, Linux and Android let you set a custom or random MAC address, and this is often called spoofing. It is legal for your own devices and is a legitimate privacy measure, but do not use it to bypass network access controls you are not allowed to bypass.
Does every device have a MAC address?
Every network adapter has one, and a device can have several. A laptop with Wi-Fi and Ethernet has two MAC addresses, one for each adapter. A phone has one for Wi-Fi and one for Bluetooth. Devices with no network hardware, such as a basic calculator, have none.
What is MAC address filtering, and is it secure?
MAC filtering is a router setting that only allows listed MAC addresses onto the Wi-Fi network. It is not real security: MAC addresses are easy to copy, and anyone who can see the network can find an allowed address and imitate it. Use a strong Wi-Fi password with WPA3 instead, and treat MAC filtering as a minor extra, not a defense.
Why does my MAC address keep changing?
Because your device is randomizing it for privacy. iPhones since iOS 14, Android phones since Android 10, Windows 11 and recent macOS versions use a different random MAC address on each Wi-Fi network, and sometimes a new one every couple of weeks. This stops networks from tracking your device from place to place.
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 Wikipedia's MAC address reference, Ubuntu's help documentation, Linksys support documentation and Caltech's network guidance.
How we write and fact-check →