A MAC address is a unique identifier assigned to every device that connects to a network

Every network device — your laptop, phone, printer, smart TV — has a MAC address (Media Access Control address). It is a string of numbers and letters that identifies that specific device on a local network, the way a street address identifies a house. Your device's MAC address stays the same whether you move between coffee shops, offices, or home networks. It is different from your IP address, which changes depending on which network you connect to.

MAC addresses work at a lower level than the internet itself. While your IP address gets you to a website, your MAC address is what lets devices on the same physical network find and talk to each other. Your router uses MAC addresses to hand out internet access, to block certain devices, or to assign the same local address to the same device every time it connects.

You will rarely need to know your MAC address unless you are setting up a new network, troubleshooting a connection problem, or trying to control which devices can join your Wi-Fi. Most of the time your device handles it in the background without you thinking about it.

Key Takeaways

  • A MAC address is a unique identifier built into every network device, written as a string of letters and numbers separated by colons or hyphens.
  • MAC addresses work on local networks only — they do not travel across the internet the way IP addresses do.
  • Your router uses MAC addresses to recognize devices, assign local network addresses, and enforce access rules.
  • You can find your device's MAC address in network settings, and you may need it when connecting to a new network or troubleshooting connection problems.

How a MAC address differs from an IP address

An IP address is what gets your data to the right place on the internet — it is like a mailing address for your device. A MAC address is what identifies your device on the local network sitting between you and the internet — it is like the name on your mailbox. When you visit a website, your IP address tells the website's server where to send the page back to. Your MAC address tells your router which physical device in your home or office should receive that data.

IP addresses change. When you move to a different network, your device gets a new IP address from that network's router. Your MAC address never changes — it is burned into your device's network hardware when it is manufactured. This is why a router can recognize your laptop every time you come home and give it the same local address (192.168.1.5, for example) without you having to set anything up.

Think of it this way: your IP address is like your phone number, which changes if you move to a different country. Your MAC address is like your fingerprint, which stays the same no matter where you go.

What a MAC address looks like and where it comes from

A MAC address is 48 bits long and is usually written as six pairs of hexadecimal digits (0–9 and A–F) separated by colons or hyphens. An example might look like 00:1A:2B:3C:4D:5E or 00-1A-2B-3C-4D-5E. The first half (00:1A:2B) identifies the manufacturer — Apple's devices start with specific prefixes, as do Dell, Cisco, and others. The second half (3C:4D:5E) is a unique serial number assigned by that manufacturer.

Every network device comes with a MAC address already assigned. It is programmed into the device's network interface card (the hardware that connects to Wi-Fi or Ethernet) during manufacturing. You cannot change your device's true MAC address, though some operating systems let you set a "spoofed" MAC address for privacy or troubleshooting reasons — this is temporary and resets when you restart.

Because the first part of the address identifies the manufacturer, network administrators can sometimes tell what brand of device is trying to connect just by looking at the MAC address, even before the device fully joins the network.

Why routers and networks use MAC addresses

Your router keeps a table of MAC addresses and uses it to manage traffic on your local network. When your phone connects to your home Wi-Fi, the router records its MAC address. The next time your phone connects, the router recognizes it and can assign it the same local IP address automatically — this is called DHCP reservation. This is why your printer always has the same address on your network, and why your smart home devices can find each other reliably.

Routers also use MAC addresses for access control. If you want to block a specific device from joining your Wi-Fi, you add its MAC address to a blacklist. If you want to restrict your network to only certain devices, you create a whitelist of MAC addresses. This is more reliable than trying to block by device name, because a device name can be changed, but a MAC address cannot.

Network administrators in offices and schools use MAC address filtering to control which devices can connect to the network. Some public Wi-Fi networks require you to register your device's MAC address before you can use the internet. This is also how some networks can offer free Wi-Fi for one hour per device — they track the MAC address and know when that hour is up.

How to find your device's MAC address

On Windows: Open Settings, go to Network & Internet, then Status. Scroll down and click "View your network properties." Look for "Physical address" — that is your MAC address. Alternatively, open Command Prompt and type ipconfig /all, then look for "Physical Address" in the results.

On Mac: Open System Preferences, click Network, select your connection (Wi-Fi or Ethernet), then click Advanced. Go to the Wi-Fi or Ethernet tab and look for "MAC Address" at the top of the window.

On iPhone or iPad: Open Settings, go to General, then About. Scroll down to "Wi-Fi Address" — that is your MAC address for Wi-Fi connections. For Bluetooth, look for "Bluetooth Address" on the same screen.

On Android: Open Settings, go to About Phone, then Status or Device Information. Look for "MAC address" or "Wi-Fi MAC address." On some Android phones it is under Settings > Network & Internet > Wi-Fi, then tap the gear icon next to your connected network.

When you might need to know your MAC address

You need your MAC address when setting up a new network that uses MAC filtering — the network administrator will ask for it. You may also need it if you are setting up DHCP reservation on your router, so the router always gives your device the same local IP address. Some internet service providers ask for your MAC address when you set up a new modem, to make sure the device is registered to your account.

If you are troubleshooting a connection problem, a technical support person might ask for your MAC address to see if your device is being recognized by the network. If your device is not connecting to Wi-Fi, knowing the MAC address can help you check whether the router is seeing the device at all, even if the connection is failing for another reason.

In rare cases, if you think someone else's device is using your Wi-Fi without permission, you can check your router's list of connected devices (usually found in the router's admin panel) and look for unfamiliar MAC addresses. Once you find one, you can block it by adding it to the router's blacklist.

Privacy and MAC addresses

Your MAC address is visible to any device on your local network, and to your router. It is not sent across the internet, so websites cannot see it. However, if you are on public Wi-Fi, the network operator and other devices on that network can see your MAC address. Some people worry about this and use MAC address randomization, a feature built into newer phones and laptops that changes your MAC address each time you connect to a new network.

MAC address randomization is on by default on most modern devices. It does not affect how your device works — it just makes it harder for public networks to track you across multiple visits. Your home router will still recognize your device because randomization usually turns off on networks you have connected to before.

Frequently Asked Questions

Can two devices have the same MAC address?

In theory, no — manufacturers are supposed to assign unique MAC addresses. In practice, it is extremely rare but possible if two devices were made in the same batch with a manufacturing error. If two devices on the same network somehow have the same MAC address, the network will malfunction because the router will not know which device to send data to. This is so uncommon that you will almost certainly never encounter it.

Can I change my MAC address?

You can set a temporary spoofed MAC address in most operating systems, which resets when you restart your device. You cannot permanently change the MAC address burned into your hardware. Spoofing is sometimes used for privacy on public networks or for troubleshooting, but it is not something you need to do in normal use.

Will my MAC address work on a different network?

Yes. Your MAC address is part of your device and goes with it everywhere. It works the same way on your home network, your office network, and public Wi-Fi. The MAC address itself does not change, though different networks may treat it differently — one network might recognize it and assign it a reserved address, while another might see it for the first time.

Do I need to memorize my MAC address?

No. You only need to look it up when a specific situation requires it — setting up network access, troubleshooting a connection, or registering a device. Write it down or take a screenshot when you need it, but there is no reason to memorize it.

Is my MAC address the same on Wi-Fi and Ethernet?

No. Your device has a separate MAC address for each type of network connection. Your laptop has one MAC address for Wi-Fi and a different one for Ethernet. Your phone has a Wi-Fi MAC address and a Bluetooth MAC address. When you look up your MAC address, make sure you are looking at the right connection type for what you are trying to do.