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 letters and numbers that looks something like 00:1A:2B:3C:4D:5E. Think of it as a serial number for your device on a local network, similar to how a street address identifies a house in a neighborhood.
The MAC address is different from your IP address. Your IP address is like your mailing address — it can change and it routes data across the entire internet. Your MAC address is like your name — it stays the same and it identifies your specific device on the local network (your home WiFi, your office network, or a coffee shop's WiFi). Routers and switches use MAC addresses to send data to the right physical device when multiple devices are on the same network.
You will see MAC addresses come up when you are troubleshooting network problems, setting up a new device, or configuring network security. Understanding what they are and where to find yours will help you solve these problems faster.
Key Takeaways
- A MAC address is a unique identifier for your device on a local network, written as six pairs of letters and numbers separated by colons or hyphens.
- MAC addresses work on local networks only — your router uses them to send data to the right device in your home or office, not across the internet.
- You can find your MAC address in your device's network settings, and it will be the same every time you connect to any network.
- MAC filtering allows routers to allow or block specific devices, which is why some networks ask for your MAC address before connecting.
How MAC addresses work on your local network
When you connect to a WiFi network, your device sends out a signal that includes its MAC address. The router receives this signal and creates a table that says "this MAC address is this device." From that point on, whenever data needs to reach your device, the router looks up your MAC address in that table and sends the data to the right physical port or wireless channel.
This is why MAC addresses only matter on the local network. Once data leaves your home or office network and heads out to the internet, routers use IP addresses instead. But within your network — between your laptop and your printer, or between your phone and your smart speaker — MAC addresses are what make sure the data gets to the right place.
If you have ever noticed that your printer only works when you are on the same WiFi network as your computer, that is because they are communicating using MAC addresses on the local network. The moment you try to print from outside your home network, it does not work because MAC addresses do not route across the internet.
Where to find your MAC address on Windows
On Windows, 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 output until you find the section for the network you are connected to (either "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. Go to Settings > Network & Internet > WiFi (or Ethernet if you are wired), click on your current network, scroll down, and look for "Physical address (MAC)." Both methods show the same number.
Where to find your MAC address on Mac and iPhone
On a Mac, go to System Settings > General > About. Scroll down until you see "Wi-Fi Address" — that is your MAC address for WiFi connections. If you are connected by Ethernet cable instead, go to System Settings > Network, select Ethernet from the left sidebar, and click Advanced. You will see the MAC address listed as "Ethernet ID."
On an iPhone or iPad, go to Settings > General > About and scroll down to find "WiFi Address." This is the MAC address your device uses when connecting to WiFi networks. Note that iPhones and iPads have a feature called "Private WiFi Address" that changes your MAC address on each new network for privacy — if you see a different address each time you connect to a new network, that is why.
What MAC filtering does and why networks use it
Some routers and networks use MAC filtering, which means the network owner has created a list of MAC addresses that are allowed to connect. If your MAC address is on the list, you can join the network. If it is not, you cannot, even if you know the password. This is an extra layer of security — it prevents someone from connecting to your network even if they somehow learn your WiFi password.
This is why some networks (especially in offices, schools, or apartment buildings) ask you for your MAC address before you can connect. You give them the address, they add it to their allowed list, and then your device can join. If you get a new device, you will need to provide its MAC address and wait for it to be added to the list before that new device can connect.
MAC filtering is not foolproof — someone with technical knowledge can spoof (fake) a MAC address — but it does stop casual unauthorized access. Home networks rarely use it because it is inconvenient; office networks use it more often because security matters more than convenience.
Why your MAC address might change
On most devices, your MAC address is permanent and burned into the hardware when it is manufactured. However, some devices allow you to change it through software settings, and some devices intentionally randomize it for privacy reasons.
iPhones and iPads use "Private WiFi Address" by default, which means they generate a different MAC address each time you connect to a new network. This prevents networks from tracking your device across different locations. If you turn this feature off in Settings > WiFi > [Network Name] > Private WiFi Address, your device will use the same MAC address on that network every time.
Android devices also have privacy features that can randomize MAC addresses, though the details vary by manufacturer and Android version. Windows and Mac computers typically use the same MAC address every time unless you manually change it through advanced network settings — something most people never need to do.
What to do if you need to provide your MAC address
If a network administrator or tech support person asks for your MAC address, follow these steps: Find your MAC address using the method for your device (listed above), copy it exactly as it appears, and send it to them. Do not change any letters or numbers, and do not worry about whether the colons or hyphens are formatted a certain way — most systems accept both 00:1A:2B:3C:4D:5E and 00-1A-2B-3C-4D-5E.
If you are setting up a new device on a network that uses MAC filtering, the network owner will usually tell you exactly what to do. They might ask you to provide the MAC address before you try to connect, or they might ask you to connect first and then provide it so they can add it to the allowed list. Either way, the process is straightforward — you are just giving them a number so they can recognize your device.
If you are troubleshooting a connection problem and someone asks for your MAC address, providing it is safe. A MAC address only identifies your device on a local network; it does not expose your location, your data, or your identity to the internet.
Frequently Asked Questions
Is my MAC address the same on every network I connect to?
Yes, on most devices. Your MAC address is a permanent identifier for that specific device. However, iPhones and some Android phones randomize their MAC address on each new network for privacy. If you turn off this privacy feature, your device will use the same MAC address everywhere.
Can someone use my MAC address to hack me?
A MAC address alone cannot be used to hack you because it only works on local networks. Someone would need to be on the same WiFi network as you to even see your MAC address. If you are concerned about security, focus on strong WiFi passwords and keeping your device software updated — those matter much more than MAC addresses.
Why does my device have a different MAC address than what I see in settings?
If you are seeing different addresses, your device likely has the private MAC address feature turned on. This is a privacy feature that generates a new MAC address for each network. You can turn it off in your WiFi settings if you need a permanent address, though most people should leave it on.
Do I need to know my MAC address for normal internet use?
No. You only need to know your MAC address if you are connecting to a network that uses MAC filtering, troubleshooting a network problem, or setting up a new device on a restricted network. For everyday WiFi use, you do not need to think about it.