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, which stands for Media Access Control address. It is a string of numbers and letters that identifies your specific device on a local network, the same way your home address identifies your house on a street. Unlike an IP address, which can change, a MAC address is usually permanent and burned into your device's network hardware when it is manufactured.

MAC addresses work at a different layer than IP addresses. While an IP address gets your data across the internet to the right building, a MAC address gets it to the right device on your local network — your home WiFi, your office network, or a coffee shop's guest WiFi. Your device uses its MAC address to talk to the router, and the router uses MAC addresses to figure out which device needs which data packet.

You will not need to know your MAC address for everyday internet use. But if you are setting up a new network, troubleshooting a connection problem, or configuring parental controls, you may need to find it or understand what it does.

Key Takeaways

  • A MAC address is a unique identifier built into your device's network hardware that identifies it on a local network.
  • MAC addresses work on your local network only — they do not travel across the internet the way IP addresses do.
  • You can find your MAC address in your device's network settings, and the exact steps differ between Windows, Mac, and mobile devices.
  • Some routers use MAC address filtering to control which devices can connect, and some networks require you to register your MAC address before you can use the WiFi.

How a MAC address differs from an IP address

An IP address and a MAC address do different jobs on different parts of your network. Your IP address is assigned by your internet service provider or your router and can change — it is how the internet knows where to send data meant for you. A MAC address is hardcoded into your device's network card and stays the same throughout the device's life (unless you deliberately change it, which is rare).

Think of it this way: your IP address is like your mailing address — it tells the postal system where to deliver a package. Your MAC address is like your name — it identifies you specifically once the package arrives at your building. On a local network, devices use MAC addresses to find each other. On the internet, devices use IP addresses to route data across networks.

When you connect to WiFi, your device sends out its MAC address so the router knows it is there. The router then assigns your device an IP address from its pool. If you move to a different network, your MAC address stays the same, but you get a new IP address.

Where to find your MAC address on Windows

On a Windows computer, the fastest way is to open Command Prompt and type a single command. Press the Windows key, type cmd, and press Enter. In the black window that opens, type ipconfig /all and press Enter. Scroll through the results until you find the section for your network adapter — it will say "Ethernet" if you are plugged in with a cable, or "Wireless LAN adapter WiFi" if you are on WiFi. Look for the line that says "Physical Address" — that is your MAC address.

If you prefer not to use Command Prompt, you can also find it in Settings. Open Settings, go to Network & Internet, then Status. Scroll down and click "View your network properties." Find your active connection and look for "Physical address" — that is your MAC address.

Where to find your MAC address on Mac and iPhone

On a Mac, open System Settings and click Network on the left side. Select your active connection (WiFi or Ethernet) and click Details. Look for "MAC Address" in the window that opens — it will be a string like 00:1A:2B:3C:4D:5E.

On an iPhone or iPad, go to Settings, tap General, then About. Scroll down to find "WiFi Address" — that is your device's MAC address. Note that iPhones generate a different MAC address for each network you connect to for privacy reasons, so the address you see may not be the same one your router recorded last time you connected.

On Android phones, go to Settings, tap About Phone, then Status or Device Info (the exact name varies by manufacturer). Look for "MAC address" or "WiFi MAC address" in the list.

Why a network might ask for your MAC address

Some networks use MAC address filtering to control which devices can connect. A coffee shop, library, or office might ask you to provide your device's MAC address so they can add it to an approved list. Once your MAC address is registered, the network will recognize your device and let it connect without asking for a password each time.

Hotels sometimes use this system too — you register your laptop or phone's MAC address at check-in, and then it connects automatically when you are in range. This is more convenient than entering a password every time, but it only works if you do not change devices.

Some home routers also let you set up MAC address filtering as a security feature. You can tell your router to only allow devices with specific MAC addresses to connect, which blocks unknown devices from joining your network. This is less common now because WiFi passwords are usually enough, but it is still an option if you want extra control.

What happens if you change your MAC address

Most devices let you change your MAC address through software, a process called MAC spoofing. This is useful in specific situations — for example, if a network only allows one device per MAC address and you need to connect a second device, or if you want to hide your device's identity on a public network.

On Windows, you can change your MAC address through your network adapter settings or using third-party software. On Mac and Linux, you can do it through the terminal. On phones, the option is usually not available to regular users, though some Android phones let you do it in developer settings.

Changing your MAC address is temporary — it resets when you restart your device. If a network is blocking your device based on its MAC address, changing it will let you connect, but the network administrator will see a different device connecting and may block that address too.

MAC addresses on different types of networks

Every device that connects to a network has a MAC address, not just computers and phones. Your printer, smart TV, security camera, smart speaker, and gaming console all have MAC addresses. When you set up a new device on your home network, your router assigns it an IP address based on its MAC address.

Some routers let you assign a static IP address to a device based on its MAC address, which means the device always gets the same IP address when it connects. This is useful for devices like printers or servers that you want to reach at a consistent address.

On larger networks — like a corporate office or university — MAC addresses become more important because there are hundreds or thousands of devices. Network administrators use MAC addresses to track which device is which, enforce security policies, and troubleshoot connection problems.

Frequently Asked Questions

Can someone use my MAC address to hack me?

A MAC address alone is not enough to hack you — it only works on your local network, not across the internet. However, if someone is on the same network as you, they could theoretically use your MAC address to impersonate your device or perform a man-in-the-middle attack. This is rare in practice, and using a strong WiFi password is the best defense.

Why does my phone show a different MAC address each time?

iPhones and newer Android phones use MAC address randomization for privacy. Instead of broadcasting the same MAC address to every network, they generate a random one each time they scan for WiFi. This prevents tracking your device across different locations. When you actually connect to a network, your device may use a different address than the one it broadcast while scanning.

What if I forget my MAC address?

You can always look it up again in your device's network settings — it does not change unless you deliberately modify it. If you need it for a network registration, just pull up your settings on that device and find the MAC address there rather than trying to remember it.

Do I need to know my MAC address for normal internet use?

No. Your MAC address only matters if you are setting up a new network, registering a device on a restricted network, or troubleshooting a connection problem. For everyday browsing and email, you will never need to think about it.