A Media Access Control address is a unique identifier assigned to every device that connects to a network
Your phone, laptop, printer, and smart TV all have a MAC address — a string of numbers and letters that identifies that specific piece of hardware on a local network. It looks something like 00:1A:2B:3C:4D:5E. Unlike your IP address, which can change when you switch networks or restart your router, your MAC address stays the same because it is burned into your device's network card when it is manufactured.
The name comes from the technical term: Media Access Control. It is the address your router uses to talk to individual devices on your home or office network, separate from the internet addresses that identify you to the wider world. When you connect to WiFi, your router assigns you an IP address so you can reach websites and services. But on the local network — the devices in your home or office — your router uses your MAC address to send data to the right device.
Key Takeaways
- Every networked device has a MAC address that identifies it on a local network, and it does not change when you move between networks.
- Your router uses MAC addresses to direct data to the correct device on your home network, separate from the IP addresses that connect you to the internet.
- You can find your MAC address in your device settings, and some routers let you filter which devices can connect by MAC address.
- MAC addresses are visible only to devices on your local network, not to websites or services you visit online.
How MAC addresses work on your home network
When you connect a device to your WiFi, your router learns that device's MAC address. The router then keeps a table of which MAC addresses are connected and which physical port or wireless channel they are using. When data arrives for your laptop, the router looks up your laptop's MAC address in that table and sends the data to the right place.
This happens at what technicians call the link layer — the level of your local network. It is separate from the internet layer, where IP addresses take over. You can think of it this way: your MAC address is like your home address on your street, and your IP address is like your mailing address for packages coming from across the country. Both are needed, but they work at different scales.
Where to find your MAC address
On Windows, open Command Prompt and type ipconfig /all. Look for "Physical Address" in the output — that is your MAC address.
On Mac, go to System Settings, click Network, select your connection, and click Details. Your MAC address appears as "Wi-Fi Address."
On iPhone or iPad, go to Settings, tap General, then About. Scroll down to "Wi-Fi Address."
On Android, go to Settings, tap About Phone, then Status. Look for "Wi-Fi MAC Address."
You can also find MAC addresses in your router's settings. Log into your router (usually by typing 192.168.1.1 or 192.168.0.1 into a browser), and look for a section called "Connected Devices" or "DHCP Clients." Your router will list every device currently on your network and its MAC address.
MAC filtering: controlling which devices connect to your network
Some routers let you create a MAC filter — a list of approved MAC addresses that are allowed to connect to your WiFi. If you turn on MAC filtering and add only your laptop and phone, then a guest's device or a neighbor's device cannot connect, even if they know your WiFi password.
MAC filtering adds a small layer of friction, but it is not a substitute for a strong WiFi password. Someone on your network can still see which MAC addresses are allowed and spoof (fake) a MAC address to match one on the approved list. It is most useful as one part of a broader security setup, not as your only defense.
Why MAC addresses matter for privacy and security
Your MAC address is visible only to devices on your local network — your router, your printer, your smart TV. Websites you visit cannot see your MAC address. Your internet service provider cannot see it. It does not leave your home or office network.
However, your MAC address can be used to track you within a building. Retailers sometimes use MAC address tracking in stores to count foot traffic and see which aisles you visit. If you want to prevent this, you can turn on MAC address randomization, a feature available on most phones and laptops. When enabled, your device uses a different MAC address each time it connects to a new network, making it harder to track across locations.
On iPhone, this is called "Private Wi-Fi Address" and is turned on by default for new networks. On Android, it is called "Use randomized MAC" and is also on by default. On Windows and Mac, you can enable it in your WiFi settings, though the exact location varies by version.
MAC addresses versus IP addresses: what is the difference
A MAC address works on your local network — it identifies your device to your router and other devices in your home. An IP address works across the internet — it identifies your device (or your whole network) to websites and services online.
Your MAC address stays the same no matter where you go. Your IP address changes when you switch networks. When you are at home on your WiFi, your IP address is assigned by your home router. When you move to a coffee shop, your IP address changes to one assigned by that shop's router. But your MAC address remains the same because it is part of your hardware.
Websites see your IP address, not your MAC address. Your internet service provider sees your IP address. But only devices physically connected to your local network see your MAC address.
When you might need to know your MAC address
You will need your MAC address if you are setting up MAC filtering on your router, if you are troubleshooting a device that will not connect to your network, or if a technician asks for it while helping you with a networking problem. Some networks — particularly in offices or schools — use MAC addresses to identify devices for security or billing purposes.
If you are setting up a new router or moving to a new home network, you usually do not need to do anything with MAC addresses. Your devices will connect automatically. MAC addresses are mostly useful when you want to control which devices can connect or when you are diagnosing why a device is not connecting.
Frequently Asked Questions
Can someone use my MAC address to hack me?
Not directly. Your MAC address is only visible on your local network, so someone would need to already be on your WiFi to see it. If they are on your WiFi, they can already access your network traffic without needing your MAC address. A strong WiFi password is your main defense.
Should I change my MAC address?
You do not need to change it. MAC address randomization, which most phones do automatically, is enough if you are concerned about tracking in public places. Manually changing your MAC address is rarely necessary and can sometimes cause connection problems.
What if two devices have the same MAC address?
This should not happen — manufacturers assign unique MAC addresses to each device. If it does happen, both devices will have trouble connecting to the network because the router cannot tell them apart. Contact the device manufacturer or try resetting the network settings on one device.
Does my MAC address identify me to websites I visit?
No. Websites see your IP address, not your MAC address. Your MAC address never leaves your local network. It is only used by your router and other devices in your home or office.