What Is MAC Address Filtering?
In this article
MAC address filtering is a network security feature that lets you allow or block devices from connecting to your Wi-Fi or network based on their unique Media Access Control (MAC) address. It works like a guest list: only devices whose MAC addresses you have approved can join, while all others are turned away. It is a simple, built-in tool on most routers, but it is not a strong security measure on its own—MAC addresses can be spoofed, and filtering adds no encryption. This article explains how it works, how to set it up, its real-world limits, and when it makes sense to use it.
What Is a MAC Address?
A MAC address is a 12-digit hexadecimal number (for example, 00:1A:2B:3C:4D:5E) permanently assigned to a device's network interface card (NIC) by the manufacturer. It is sometimes called the “physical address” or “hardware address.” Every device that connects to a network—smartphones, laptops, smart TVs, thermostats, cameras—has at least one. The MAC address is used at the data link layer (Layer 2) of the OSI model to identify devices on a local network. It is distinct from an IP address, which is assigned by the router and can change.
You can find a device’s MAC address in its network settings. On Windows, it’s under Settings > Network & Internet > Wi-Fi > Hardware properties. On macOS, it’s under System Settings > Network > Wi-Fi > Details. On iPhone, it’s under Settings > General > About > Wi-Fi Address. On Android, it’s usually under Settings > About Phone > Status. Note that many modern devices use a “private” or “randomized” MAC address by default (see below), so the address you see may not be the one used for Wi-Fi connections.
How MAC Address Filtering Works
When you enable MAC address filtering on your router, the router checks the MAC address of every device that tries to connect. If the address is on your “allow” list, the connection is accepted. If it’s not, the router rejects the connection at the link layer—the device may still see the network, but it cannot communicate with it. Some routers also offer a “deny” list, which blocks specific MAC addresses while allowing all others.
The filter is applied during the association phase of Wi-Fi, before the device gets an IP address. On most routers, you set it up in the wireless settings page, often under a section called “Wireless MAC Filtering,” “Access Control,” or “MAC Filter.” The exact menu names vary by brand and model. For example, on many TP-Link routers, it’s under Wireless > Wireless MAC Filtering. On Netgear, it’s under Advanced > Security > Access Control. On Asus, it’s under Network Tools > MAC Filter. Because labels differ, check your router’s manual or look for “MAC filter” in the admin interface.
How to Set Up MAC Address Filtering
The steps are generally similar across routers, but the exact wording may differ. Here’s a typical workflow:
- Log into your router’s admin panel (usually by typing the router’s IP address, like 192.168.1.1, into a browser).
- Find the wireless or security settings section.
- Look for “MAC Filtering,” “Access Control,” or “Wireless MAC Filter.”
- Choose the mode: “Allow” (whitelist) or “Deny” (blacklist).
- Enter the MAC addresses of the devices you want to allow or block. You can often copy them from the router’s “Connected Devices” list.
- Save the settings and reboot the router if prompted.
If you use “Allow” mode, you must add every device you want to connect. That includes smart home devices that need internet access, like thermostats and cameras. If you forget one, it simply won’t connect until you add it. “Deny” mode is easier for blocking specific devices, but it is not a strong security measure because a determined user can change their MAC address.
Common Problems and Misconceptions
Problem 1: The filter doesn’t work as expected. A common issue is that a device appears to be blocked but still connects. This often happens because the device uses a randomized MAC address (see below). The router may be seeing a different MAC address than the one you entered. Solution: disable MAC randomization on the device or add the correct address.
Problem 2: You lock yourself out. If you enable “Allow” mode and forget to add your own phone or laptop, you won’t be able to connect to the Wi-Fi. To fix it, you must connect via an Ethernet cable to the router and disable the filter.
Misconception: MAC filtering is strong security. It is not. MAC addresses are transmitted in plaintext, and many tools can sniff them. More importantly, you can change a MAC address in software (spoofing). A knowledgeable attacker can simply copy an allowed address and use it. MAC filtering is a convenience and a minor deterrent, not a firewall.
MAC Randomization and Its Impact
Modern smartphones, tablets, and some laptops use a feature called “MAC randomization” or “private Wi-Fi address.” This means the device generates a random MAC address for each Wi-Fi network, and it changes periodically. This is a privacy feature that prevents tracking. However, it breaks MAC address filtering because the device’s MAC address changes, so you may have to re-add it every time it changes. On iPhone, you can disable this per-network by tapping the “i” next to the network and turning off “Private Wi-Fi Address.” On Android, it’s under network settings, often labeled “Privacy” or “Use random MAC.” On Windows, it’s under Wi-Fi properties, “Random hardware addresses.” If you rely on MAC filtering, you may need to disable randomization for your trusted devices.
MAC Filtering vs. Other Security Methods
MAC filtering is often compared to WPA2/WPA3 encryption, which is the standard Wi-Fi security. Encryption scrambles the data between your device and the router, so even if someone captures the signal, they can’t read it. MAC filtering does not encrypt anything; it only decides who can connect. The two are complementary: you should always use WPA2 or WPA3 (with a strong passphrase) as your primary defense. MAC filtering adds a small extra layer, but it should never replace encryption. Other security measures include disabling WPS (Wi-Fi Protected Setup), hiding the SSID (which is also a weak measure), and using a guest network for visitors.
When to Use MAC Address Filtering
MAC filtering is most useful in a few practical scenarios:
- Keeping your kids’ devices off the network during homework time (though parental controls are better).
- Preventing guests from connecting to your main network without asking for the password (though a guest network is more effective).
- Blocking a specific device that is causing problems, like a neighbor’s phone that keeps connecting to your open network.
- Adding a small hurdle to casual “Wi-Fi mooching” in a low-risk environment.
It is not a substitute for a firewall, antivirus, or strong encryption. For serious security, use WPA3 (or WPA2) and keep your router firmware updated.
Frequently Asked Questions
Does MAC address filtering stop hackers?
No. Hackers can easily spoof a MAC address, meaning they can change their device’s MAC address to match one that is allowed. MAC filtering is a deterrent, not a barrier. Real security comes from encryption (WPA2/WPA3) and a strong password.
Can I use MAC filtering to block my neighbor’s Wi-Fi?
No. MAC filtering only controls devices connecting to your own router. It cannot affect another person’s network. If your neighbor is using your Wi-Fi without permission, you should change your Wi-Fi password and enable encryption.
Why can’t I find the MAC filter setting on my router?
Some routers, especially newer mesh systems, don’t expose MAC filtering in the app or web interface. It may be hidden under “Advanced” or “Access Control.” If you can’t find it, check the router’s manual or the manufacturer’s support site. Some routers only offer it in the web admin panel, not the mobile app.
Does MAC filtering affect wired connections?
Yes, if your router supports MAC filtering for Ethernet ports. Many routers apply the filter to both wired and wireless connections, but some only apply it to Wi-Fi. Check your router’s documentation. If you have a wired device that is blocked, you may need to add its MAC address to the allow list.
What is the difference between allow and deny list?
An allow list (whitelist) blocks all devices except those you explicitly add. A deny list (blacklist) allows all devices except those you list. Allow lists are more secure but require you to add every device. Deny lists are easier to manage but less secure because any new device can connect unless you block it.
If That Didn’t Work: Troubleshooting
If devices still connect after you enable the filter, try these steps in order:
- Reboot the router and the device.
- Check that you entered the correct MAC address (look for typos, colons vs. dashes).
- Disable MAC randomization on the device (see above).
- Ensure the filter is applied to the correct band (2.4 GHz vs. 5 GHz) if your router has separate settings.
- If you’re using a mesh system, check if the filter is set at the main router or the satellite—some mesh systems don’t support MAC filtering.
If none of that works, the router may not support MAC filtering on your firmware, or the feature may be buggy. In that case, consider using a guest network or upgrading to a more secure router.