A Mac address is a 48-bit identifier written as six pairs of hexadecimal digits, separated by colons or hyphens

A Mac address (Media Access Control address) looks like this: 00:1A:2B:3C:4D:5E or 00-1A-2B-3C-4D-5E. The colons and hyphens are interchangeable — both formats mean the same thing. Each pair of characters represents one byte of data, using hexadecimal notation (the digits 0–9 and letters A–F).

Every network device — your laptop, phone, printer, smart speaker — has a Mac address built into its network card. It is not something you choose or set up. The manufacturer assigns it during production, and it stays with that specific piece of hardware for its lifetime. Think of it as a serial number for your device's network connection, not for the device itself.

The first three pairs (called the organizationally unique identifier or OUI) identify the manufacturer. The last three pairs are unique to that individual device. So if you see 00:1A:2B at the start, you could look up which company made the network card. The remaining 3C:4D:5E is what makes your device different from every other device that manufacturer produced.

Key Takeaways

  • A Mac address is always 48 bits long, displayed as six pairs of hexadecimal characters separated by colons or hyphens, like 00:1A:2B:3C:4D:5E.
  • The first three pairs identify the manufacturer; the last three pairs identify your specific device.
  • Every network device has a Mac address assigned at the factory, and it does not change unless you manually override it.
  • Mac addresses work only on local networks — they do not route across the internet the way IP addresses do.

Where to find your Mac address on Windows, Mac, and Linux

On Windows, open Command Prompt and type ipconfig /all. Look for the line labeled "Physical Address" — that is your Mac address. You will see it listed under each network adapter (Ethernet, Wi-Fi, etc.).

On macOS, go to System Settings, click Network, select your active connection (Wi-Fi or Ethernet), then click Advanced. The Mac address appears as "Wi-Fi Address" or "Ethernet Address" depending on which connection you are viewing.

On Linux, open a terminal and type ip link show or ifconfig. The Mac address appears as "link/ether" followed by the address. Different Linux distributions may label it slightly differently, but the format is always the same six pairs of hexadecimal digits.

On mobile devices (iPhone, Android), the location varies by model and operating system version. On iPhone, go to Settings > General > About and scroll to "Wi-Fi Address". On Android, go to Settings > About Phone > Status and look for "Wi-Fi MAC Address". Some Android phones also show it under Settings > Network & Internet > Wi-Fi.

Why Mac addresses stay local and do not travel across the internet

A Mac address only works on the network segment you are physically connected to — your home Wi-Fi, your office Ethernet, your coffee shop's guest network. It tells devices on that same network how to find each other. Once data leaves your local network and heads toward the internet, routers strip away the Mac address and replace it with the next hop's Mac address. This happens at every router along the path.

This is different from an IP address, which travels with your data all the way across the internet. Your IP address says "this data is going to 192.0.2.15 somewhere out there." Your Mac address says "this data is going to the device sitting three feet away on my Wi-Fi." Routers use Mac addresses to move data the last few feet; they use IP addresses to move it across the world.

That is why a website cannot see your Mac address, and why your Mac address does not leak when you browse the internet. It is also why Mac addresses are useful for local network tasks — like telling your router to always give a certain device the same IP address, or blocking a device from connecting to your Wi-Fi.

The difference between a real Mac address and a spoofed one

Your device's Mac address is burned into the network card at the factory and is called the burned-in address or physical address. However, most operating systems let you override it temporarily with a different address — a practice called Mac spoofing or Mac cloning. When you do this, your device still sends and receives data normally, but it pretends to be a different device on the network.

On Windows, you can change the Mac address through Device Manager by editing the network adapter's registry settings. On macOS and Linux, command-line tools like ifconfig or ip link can change it. On mobile devices, the option is usually not available in the standard settings, though some Android phones allow it through developer options or third-party apps.

A spoofed Mac address is temporary — it reverts to the real one when you restart your device or disconnect from the network. It is useful for testing network configurations or working around a router's device limits, but it does not hide your device from anyone who knows what to look for. Network administrators can see spoofed addresses, and some routers log them.

When you might need to know your Mac address

If your router uses Mac filtering, it maintains a list of allowed Mac addresses and blocks everything else. To add your device to that list, you need to provide your Mac address. This is a security feature some people use on home networks, though it is not foolproof — Mac addresses can be spoofed, and managing a long list becomes tedious.

Some networks use Mac-based authentication to identify devices before allowing them to connect. Universities, hospitals, and corporate offices sometimes do this. You register your device's Mac address once, and the network recognizes it automatically when you connect. This is more convenient than typing a password every time, but it only works on that specific network.

If you are setting up a DHCP reservation, you tell your router "always give this Mac address the same IP address." This is useful if you have a printer, security camera, or game console that needs a stable address. Instead of the address changing every time the device reconnects, it stays the same.

Tech support may also ask for your Mac address when troubleshooting network problems. It helps them identify your device on the network and see whether it is connecting properly.

How Mac addresses relate to your privacy and security

On your local network, your Mac address is visible to other devices and to your router. Anyone on the same Wi-Fi can see it if they run a network scanning tool. This is not a major privacy risk because Mac addresses do not contain personal information — they are just hardware identifiers. However, if someone knows your device's Mac address, they can identify when you are on a network, even if you change your name or other settings.

Some devices use Mac randomization to address this. When your phone or laptop scans for Wi-Fi networks (before you actually connect), it can broadcast a random Mac address instead of the real one. This prevents someone from tracking your device across different locations based on its Mac address alone. Once you connect to a network, most devices revert to the real Mac address so the network can function properly.

On the internet itself, your Mac address is not exposed. Websites cannot see it, and neither can the services you use. Only devices on your local network can see it. If you are concerned about local network privacy — for example, on a public Wi-Fi network — you can enable Mac randomization in your device settings, though this may cause issues with some networks that use Mac-based authentication.

Frequently Asked Questions

Can two devices have the same Mac address?

In theory, no — manufacturers assign unique Mac addresses to prevent this. In practice, if two devices on the same network have the same Mac address, the network becomes confused and both devices stop working properly. This is why Mac spoofing is temporary and why network administrators monitor for duplicate addresses.

Does my Mac address change when I switch Wi-Fi networks?

No, your Mac address stays the same. It is tied to your device's network card, not to the network you are connected to. However, if you enable Mac randomization, your device will use a different random address on each new network you join.

Can I change my Mac address permanently?

No. The burned-in address is permanent. You can override it temporarily through your operating system, but it reverts to the original when you restart. Some network cards allow you to reprogram the burned-in address, but this is rare and requires specialized tools.

Will my Mac address leak when I use a VPN?

No. Your Mac address only works on your local network. A VPN does not change this — it only encrypts and routes your internet traffic. Your Mac address never leaves your local network, so it cannot leak through a VPN.

Why do some Mac addresses start with 00 or FF?

Mac addresses that start with 00 are usually real, burned-in addresses. Addresses starting with FF (like FF:FF:FF:FF:FF:FF) are broadcast addresses — they are sent to all devices on the network at once, not to a specific device. Some tools and configurations use other patterns for special purposes, but most real devices use addresses starting with 00 or a manufacturer-specific code.