A MAC address is a 12-character hardware ID that identifies a single network adapter on your Wi-Fi or Ethernet network. Whether you are setting up a router, locking down your network or working out which unknown device just joined it, you will need to find, read and sometimes change a MAC address. This guide covers all of it in plain English, with steps for Windows, Mac, Linux, iPhone and Android.
What Is a MAC Address?
A MAC (Media Access Control) address is a unique identifier assigned to a network interface, such as a Wi-Fi chip, an Ethernet port or a Bluetooth radio. It works at the data link layer (Layer 2) of the network stack, which is how switches and routers deliver data to the right device on a local network.
The manufacturer sets the address at the factory, so it is also called the physical address, hardware address, burned-in address, Wi-Fi address or Ethernet ID. An example looks like this: A4:83:E7:1C:5B:2F.
Every adapter has its own MAC address, not every device. A laptop with Wi-Fi, Ethernet and Bluetooth has three. Phones, TVs, printers, game consoles and smart-home gear each have at least one.
MAC Address Format
A MAC address is 48 bits long, written as 12 hexadecimal characters (0–9 and A–F) grouped in six pairs called octets. The same address can be written several ways, depending on the operating system or vendor:
| Style | Example | Commonly seen on |
|---|---|---|
| Colon-separated | A4:83:E7:1C:5B:2F | macOS, Linux, Android, iOS |
| Hyphen-separated | A4-83-E7-1C-5B-2F | Windows, IEEE documents |
| Dot-separated (groups of four) | A483.E71C.5B2F | Cisco devices |
| No separator | A483E71C5B2F | Some router and software fields |
Letters are not case-sensitive, so a4:83:e7:1c:5b:2f is the same address.
What the characters mean
The address has two halves:
- First 6 characters (3 octets): the Organisationally Unique Identifier (OUI), which is assigned to the manufacturer by the IEEE. In
A4:83:E7, this identifies the vendor. - Last 6 characters (3 octets): assigned by the manufacturer to make each adapter unique.
Two bits in the very first octet carry extra meaning. The second hex digit of the first octet tells you which is set:
- If the second digit is 2, 6, A or E, the address is locally administered, meaning it was set by software rather than the factory. Randomised and spoofed addresses look like this.
- If the second digit is odd (1, 3, 5, 7, 9, B, D or F), the address is a multicast address, not a single device.
For example, 02:1A:2B:3C:4D:5E is locally administered, while A4:83:E7:1C:5B:2F is a normal factory address.
How to Find Your MAC Address
The quickest method depends on your device. Menu names vary slightly between versions, so use these as a guide.
Windows 10 and 11
- Open Settings > Network & internet, then choose Wi-Fi (or Ethernet).
- Select Hardware properties (or the connected network’s properties).
- Read the Physical address (MAC) line.
Prefer the command line? Open Command Prompt and run ipconfig /all, then look for Physical Address under your adapter. Running getmac /v lists every adapter at once.
Mac (macOS)
- Open System Settings > Network and select Wi-Fi (or Ethernet).
- Click Details, then open the Hardware tab.
- The MAC address is listed there as the Wi-Fi or MAC address.
In Terminal, ifconfig en0 | grep ether prints the address for the main interface. Note that if Private Wi-Fi Address is on, the address shown for a network may be a randomised one rather than the real hardware address.
Linux
Run ip link show and read the value after link/ether for each interface.
iPhone and iPad
Go to Settings > General > About and read Wi-Fi Address. If Private Wi-Fi Address is on, the address used on a particular network is shown in that network’s settings (tap the info icon next to the network name).
Android
Go to Settings > About phone > Status information (or Software information) and look for Wi-Fi MAC address. For the address used on a specific network, open that network’s details and check the Privacy or MAC address type setting.
Routers, TVs, printers and consoles
Most have the MAC address printed on a label on the back or underside. Otherwise check the device’s network or system information screen, or the connected devices list in your router’s admin page.
If you cannot get a device to show its address, or the network adapter is failing, our team can help.
What Is a MAC Address Used For?
A MAC address lets devices find each other on the same local network. Its main uses are:
- Delivering data locally: switches learn which MAC address sits on which port, and the ARP protocol maps IP addresses to MAC addresses so traffic reaches the right device.
- Assigning fixed IP addresses: a router’s DHCP reservation ties one IP address to one MAC address, which is handy for printers, NAS drives and servers.
- Network access control: business networks use MAC addresses for port security and device authentication, and home routers offer MAC filtering to allow or block specific devices.
- Wake-on-LAN: a “magic packet” containing the target’s MAC address can switch on a sleeping computer.
- Asset tracking and inventory: IT teams record MAC addresses to keep track of company laptops, phones and printers.
- Troubleshooting: a MAC address helps you confirm which physical device is causing a conflict, a slow connection or unexpected traffic.
- Software licensing: some older software ties a licence to a machine’s MAC address.
MAC addresses only travel within a single local network. Once traffic crosses a router to the internet, the MAC address is replaced and websites never see yours.
MAC Address vs IP Address
A MAC address identifies the hardware, while an IP address identifies where that device sits on a network. Think of the MAC address as a car’s chassis number and the IP address as the street address it is parked at. The car keeps its chassis number wherever it goes, but its street address changes.
| MAC address | IP address | |
|---|---|---|
| Identifies | A network adapter (hardware) | A device’s position on a network (logical) |
| Network layer | Layer 2, data link | Layer 3, network |
| Assigned by | Manufacturer (can be overridden in software) | Router/DHCP server or manually, by your ISP for public IPs |
| Changes? | Rarely, unless spoofed or randomised | Often, when you join a different network |
| Reach | Local network only | Local network and the internet |
| Length and format | 48 bits, hex (A4:83:E7:1C:5B:2F) | IPv4: 32 bits (192.168.1.20). IPv6: 128 bits |
The two work together. When your laptop sends data to the router, it uses the router’s IP address to decide where the data is going and ARP to find the router’s MAC address for the final hop. Your home and office each give your laptop a different IP address, but its MAC address stays the same.
How to Look Up the Vendor From a MAC Address
You can find who made a network adapter by looking up the first six characters of its MAC address, the OUI, in the public IEEE registry.
- Copy the MAC address and keep the first three pairs, for example
B8:27:EB. - Search for that prefix in the IEEE OUI registry or use a MAC vendor lookup tool such as Wireshark’s OUI lookup. Most tools accept any separator style.
- Read the registered organisation.
B8:27:EB, for instance, belongs to the Raspberry Pi Foundation, and00:50:56belongs to VMware.
Three things to keep in mind:
- The vendor is the chip maker, not always the brand. A laptop from one brand may show Intel or Realtek, because that company made the Wi-Fi or Ethernet chip.
- Smaller IEEE blocks need more digits. Some vendors hold 28-bit or 36-bit blocks, so a good lookup tool checks beyond the first six characters.
- Randomised addresses have no vendor. If the second digit of the first pair is 2, 6, A or E, the address was set by software and will not match a manufacturer.
How to Identify a Device by Its MAC Address
If you spot an unfamiliar device on your network, work through these steps to identify it:
- List connected devices. Open your router’s admin page and find the connected or DHCP clients list. On a computer,
arp -ain a terminal or command prompt also shows IP and MAC pairs. - Look up the vendor. Use the steps above to see who made the adapter. A vendor such as Apple, Samsung, Sony or Espressif (common in smart-home gadgets) narrows it down quickly.
- Check the hostname and IP. Routers often show a device name. Printers, TVs and cameras usually have recognisable names.
- Compare with your own devices. Check each phone, laptop and smart device in your home or office against the list, using the methods in the “find your MAC address” section.
- Do an on-off test. Switch off or disconnect a suspect device and see which entry disappears from the list.
- Check for randomisation. Phones and laptops may show a different address on each Wi-Fi network if private addressing is enabled, so an “unknown” device may be one of yours.
If an address still does not belong to anyone, change your Wi-Fi password and review your router settings. Our team can help if you suspect something is wrong.
How to Change a MAC Address
You can change the MAC address your device presents to the network, but you cannot change the factory address burned into the hardware. The change is done in software, which is why it is often called MAC spoofing. Common reasons include privacy on public Wi-Fi, troubleshooting a network conflict, testing, and replacing a router that your internet provider has tied to an old address.
Only change the address on devices you own or manage, and never use a changed address to get around access controls on a network you do not have permission to use. That can breach the network’s terms and computer misuse laws.
The easy way: private or random Wi-Fi addresses
Most modern devices can generate a different address for each Wi-Fi network automatically.
- iPhone and iPad: Settings > Wi-Fi, tap the info icon next to the network, then switch Private Wi-Fi Address on or off.
- Android: Settings > Wi-Fi, open the network, then choose Privacy or MAC address type and select randomised or phone MAC.
- Windows 10 and 11: Settings > Network & internet > Wi-Fi > Random hardware addresses.
- Mac: System Settings > Network > Wi-Fi > Details, then set Private Wi-Fi Address to Off, Fixed or Rotating.
Windows (set a specific address)
- Open Device Manager, expand Network adapters, and double-click your adapter.
- Go to the Advanced tab and select Network Address (or Locally Administered Address).
- Choose Value and enter the 12 characters with no separators, for example
02A1B2C3D4E5. - Click OK, then disable and re-enable the adapter.
Not every adapter offers this option.
Mac (Terminal)
On some Macs you can set a temporary address with sudo ifconfig en0 ether 02:a1:b2:c3:d4:e5. This resets on restart, and newer Macs, especially Apple silicon models, may block it for Wi-Fi.
Linux
sudo ip link set dev eth0 down
sudo ip link set dev eth0 address 02:a1:b2:c3:d4:e5
sudo ip link set dev eth0 up Replace eth0 with your interface name from ip link show. Starting the address with 02 keeps it in the locally administered range, so it will not clash with a real manufacturer address.
To undo a change, remove the custom value, reset the setting to default or restart the device. Avoid typing random values, as duplicate MAC addresses on the same network cause dropouts.
MAC Address Security and Privacy
A MAC address is not a secret, and it is not strong protection. Anyone within Wi-Fi range can see the MAC addresses of nearby devices, and spoofing one takes seconds. That has two practical consequences:
- MAC filtering is a speed bump, not a lock. Use WPA2 or WPA3 with a strong passphrase as your real protection, and treat MAC filtering as an optional extra.
- Fixed addresses can be used to track you. Shops and public networks can recognise a device that keeps the same MAC address. That is why iOS, Android, Windows and macOS now offer per-network random addresses, which are worth leaving on for public Wi-Fi.
MAC Address FAQ
Are MAC addresses unique? They are designed to be globally unique, but because they can be changed in software, two devices can end up with the same address. Duplicates on one network cause connection problems.
Can a MAC address show my location? No. A MAC address contains no location data. Only the network you are connected to can see it, and the internet only sees your IP address.
Can I track a lost or stolen device by its MAC address? Not on its own. Your router log may show when the device last connected to your network, but the MAC address cannot locate it elsewhere. Use the device’s built-in find-my-device feature instead, and tell the police.
Does a MAC address change when I use a different Wi-Fi network? Not by default. It changes per network only if private or random addressing is on.
Is a MAC address the same as a serial number? No. A serial number identifies the whole product, while a MAC address identifies one network adapter inside it.
