Device security

What Is MAC Filtering? How It Works, Why It Fails and What to Use Instead

MAC filtering sounds like a guest list for your Wi-Fi. In practice it is a weak lock: addresses are sent in the clear, easy to copy, and modern phones change theirs. Here is what it does and what to use instead.

Cysoro Security TeamPublished · 8 min read
allow listAA:BB:CC:11:22:33ALLOWDD:EE:FF:44:55:66ALLOW11:22:33:AA:BB:CCDENYrouter checks the address, not the owner Wi-Fi router2.4 GHz + 5 GHz DEVICE SECURITY MACfiltering A guest list that anyone can copy.
Quick answer

MAC filtering is a router or access-point feature that allows or blocks devices based on their MAC address, using an allow list or a deny list. It is a weak control on its own: MAC addresses are transmitted in the clear, so an attacker can capture an allowed address and spoof it, and modern phones and laptops randomize their addresses. Use WPA3 encryption and a strong password instead.

Key takeaways

  • MAC filtering checks a device's MAC address against an allow list or deny list before letting it join the network.
  • It is not encryption or authentication: addresses travel in the clear and can be copied, spoofed or changed in software.
  • Apple recommends disabling MAC filtering and securing Wi-Fi with WPA3 Personal and a strong password instead.

Every router has a setting called MAC filtering, and it sounds reassuring: only devices you approve can join your Wi-Fi. The reality is less comforting. The address it checks is broadcast in the clear, trivial to copy, and modern devices change it on their own.

What is MAC filtering?

MAC filtering is a router or access-point feature that controls which devices can join a network based on their Media Access Control (MAC) address — the identifier a device presents when it connects.

The router keeps a list of addresses. With an allow list, only devices on the list can connect. With a deny list, listed devices are blocked and everything else can connect. It is an access-control list, not encryption: a device that passes the filter must still complete the normal Wi-Fi login, such as entering the network password.

NIST describes the same mechanism as a MAC access control list (ACL) that grants or denies access using a list of permissions designated by MAC address — and warns that it does not represent a strong defense mechanism by itself.

What is a MAC address?

A MAC address is the hardware identifier of a network interface. NIST defines it as a unique 48-bit value assigned to a particular wireless network interface by the manufacturer.

To communicate with a Wi-Fi network, a device must identify itself using a MAC address, as Apple explains. A computer may have one MAC address for its Wi-Fi adapter and another for its Ethernet adapter, and a device can expose different addresses for virtual interfaces.

The important detail is that the address a network sees is not always the factory one. Since iOS 14, Apple devices use a different private MAC address for each Wi-Fi network by default, and Windows offers the same idea as random hardware addresses. That alone breaks any security model that treats the MAC address as a fixed identity.

How does MAC filtering work?

When a device tries to join, it sends a connection request that includes its MAC address. The router compares that address with its configured list and then allows or drops the connection.

How MAC filtering decidesDevicesends its MACaddress to joinRouter checksthe allow listor deny listAdmit or dropallow list: onlylisted devices joinThe check happens at Layer 2, before any password is asked for.It does not encrypt traffic or verify who owns the device.
MAC filtering compares the address a device presents with a list on the router. Illustration by Cysoro.
  1. Device attempts to connect. It sends a request to the router that includes its MAC address.
  2. Router compares the address. The address is checked against the allow list or deny list stored in the router's settings.
  3. Access decision. On an allow list, only listed addresses are admitted. On a deny list, listed addresses are blocked and all others may connect.
  4. Normal login still follows. An admitted device must still authenticate — usually by entering the Wi-Fi password.

Filtering works on wired switches too, but it is most commonly discussed for Wi-Fi, where the setting usually lives under the wireless or security section of the router's admin panel.

Allow list vs deny list: which should you use?

An allow list and a deny list do opposite jobs, and the allow list is the stricter of the two — but also the one that creates more work.

Allow listDeny list
RuleOnly listed devices can connectListed devices are blocked, all others can connect
SecurityStronger in theory — unknown devices are refusedWeak — any new device can join
Admin workHigh — every new device must be added firstLow — only add devices you want to block
Main useSmall, stable networks with few devicesBlocking one specific unwanted device
Main problemBreaks when devices randomize addressesDoes nothing against a device you have never seen

For most homes, neither is a good primary defense. An allow list on a network with phones, tablets, laptops, TVs and smart speakers becomes a maintenance chore — and every time a device presents a new private address, it looks like a stranger to the router.

How do you set up MAC filtering on a router?

The exact menu names vary by manufacturer, but the process is broadly the same on ASUS, TP-Link, Netgear, Linksys and most other consumer routers.

  1. Find the MAC addresses of your devices. On an iPhone, go to Settings, then Wi-Fi, then tap the info button next to the network. On Windows, run ipconfig /all and look for the Physical Address. On a Mac, check System Settings, then Wi-Fi, then Details.
  2. Log in to the router's admin panel. Open a browser and go to the router's address, usually 192.168.1.1 or 192.168.0.1.
  3. Find the MAC filtering setting. It is usually under Wireless, Security or Access Control, sometimes called Wireless MAC Filtering or MAC Address Filtering.
  4. Choose allow list or deny list, and add the addresses. Enter each address you want to allow or block, then save and apply.
  5. Test every device. Reconnect each one and confirm it can still join. Keep the admin panel open so you can undo the change if a device is locked out.

Before enabling an allow list, turn off private or randomized addresses on the devices you add — otherwise the address you recorded will not be the address the device presents next time. On an iPhone, that means setting Private Wi-Fi Address to Off or Fixed for your network.

Is MAC filtering secure?

No — not on its own. It adds a small amount of friction for a casual intruder, but it is not a security boundary, and both NIST and Apple say so in plain terms.

NIST's assessment is blunt: MAC addresses are transmitted in the clear from WLAN clients to access points, so they can be easily captured, and a malicious user can spoof a MAC address by changing the address on another computer to one that has access.

NIST adds that MAC ACLs may be effective against casual eavesdropping but will not be effective against determined adversaries. SP 800-48 Rev. 1 was withdrawn in 2018 because it describes legacy 2008 wireless standards, but its findings on MAC ACLs still hold — addresses are still sent in the clear, and Apple documents the same weakness today.

Apple reaches the same conclusion in its recommended router settings: MAC filtering should be set to Disabled, because it does not prevent observers from monitoring or intercepting traffic, MAC addresses can easily be copied, spoofed or changed, and some Apple devices use a different MAC address for each Wi-Fi network.

There is also an administrative cost. NIST notes that in a medium-to-large network, the burden of establishing and maintaining MAC ACLs often exceeds their value as a countermeasure, and most products support only a limited number of addresses in the list.

How can MAC filtering be bypassed?

Bypassing MAC filtering takes three steps, none of which requires special hardware: observe an allowed address, copy it, and present it as your own.

Bypassing MAC filtering in three steps1Captureallowed addresses travelin the clear, in the air2Copyset the same address onthe attacker's adapter3Connectthe router sees atrusted deviceNo password is cracked and no encryption is broken.The filter trusts an address, and an address can be copied.
MAC filtering fails because the identifier it trusts is public and changeable. Illustration by Cysoro.

Wi-Fi frames carry the sender's MAC address unencrypted, so anyone in range with a wireless adapter in monitor mode can collect the addresses of connected devices. Changing your own adapter's address to match is a built-in feature of most operating systems or a one-line command.

Private and randomized addresses make the problem worse from the router's side: a legitimate phone may present a different address each time it joins, so the allow list either blocks real devices or must be updated constantly.

Filtering is not authenticationA MAC address is an identifier, not a credential. Anyone who can see it can use it. Treat MAC filtering as a small administrative convenience, never as proof that a device belongs to you.

MAC filtering vs WPA2 vs WPA3

Filtering and encryption solve different problems. Only one of them actually protects your traffic.

MAC filteringWPA2WPA3 Personal
What it doesChecks a device address against a listEncrypts traffic with a shared passwordEncrypts traffic with stronger, per-device keys
Stops a stranger joiningOnly if they cannot copy an addressYes, without the passwordYes, without the password
Protects traffic in the airNoYesYes
Defeated by spoofingYes, triviallyNoNo
Apple's recommendationDisabledOnly if WPA3 is unavailablePreferred setting

Apple recommends setting routers to WPA3 Personal for better security, or WPA2/WPA3 Transitional for compatibility with older devices, and always using a strong password. WEP, TKIP and WPA Personal are deprecated and should not be used.

What are private Wi-Fi addresses, and why do they matter here?

A private Wi-Fi address is a per-network MAC address a device generates for privacy, instead of always presenting its hardware address. Apple introduced the feature in iOS 14, and it is now standard on iPhones, iPads, Macs and Apple Watches.

By default, an Apple device uses a different MAC address for each Wi-Fi network, and that address is used for that network only. On iOS 18 and later, each network offers three settings: Off (use the hardware address), Fixed (use a private address that does not rotate), or Rotating (use a private address that changes every two weeks). Fixed is the default on networks with WPA2 or stronger security; Rotating is the default on weak or open networks.

For MAC filtering, this is decisive. A router allow list built from hardware addresses will not match the private addresses devices actually present — so devices get blocked, or the list must be rebuilt around private addresses that can change. If you run an allow list, set each device to Fixed or Off for your home network, as Apple's private address guide explains.

For a wider look at locking down a home network, see our guide to how to secure your Wi-Fi.

What should you use instead of MAC filtering?

Real Wi-Fi security comes from encryption, strong credentials and keeping devices separate — not from an address list.

  • Use WPA3 Personal (or WPA2/WPA3 Transitional if some devices are old), with a long, unique password. This is the single most important setting.
  • Use a guest network for visitors and smart-home gadgets, isolated from your main network.
  • Keep firmware updated. Set the router to install updates automatically where possible.
  • Use a strong admin password on the router itself, and change the default one.
  • For businesses, use WPA2/WPA3 Enterprise with per-user credentials (802.1X) instead of one shared password — that is real authentication, tied to a person rather than an address. Our small business cybersecurity checklist covers the other basics to pair with it.

If you already use MAC filtering as an extra layer on a small, stable network, it does no harm — as long as you know it is a convenience, not a lock. The moment it starts blocking your own devices, turn it off and rely on the encryption instead.

The bottom line

MAC filtering checks an address that is broadcast in the clear, easy to copy, and routinely changed by the very devices it is meant to identify. NIST calls it ineffective against determined adversaries, and Apple recommends disabling it.

Secure your Wi-Fi with WPA3, a strong password, a guest network and updated firmware — and leave the address list off. You can check whether your own devices are behaving oddly on a network with our guide to how to know if your phone is hacked.

Frequently asked questions

What is MAC filtering in simple terms?

MAC filtering is a router setting that allows or blocks devices based on their MAC address, using an allow list or a deny list. It is like a guest list for your Wi-Fi: the router checks the address a device presents and decides whether to let it connect.

Does MAC filtering make my Wi-Fi secure?

No. It adds a small amount of friction but is not encryption or authentication. MAC addresses are sent in the clear, so an attacker can capture an allowed address and copy it, and Apple recommends disabling the feature.

Can MAC filtering be bypassed?

Yes. An attacker only needs to observe an allowed MAC address in the air, set the same address on their own adapter, and connect. No password is cracked and no encryption is broken, because the filter trusts an address that can be copied.

Why does my phone keep getting blocked by MAC filtering?

Modern phones use private or randomized MAC addresses that change per network or every two weeks. The address your router allow list expects may not be the address your phone presents, so the router treats it as a stranger.

Should I enable MAC filtering on my router?

Apple recommends leaving it disabled and securing Wi-Fi with WPA3 Personal and a strong password instead. MAC filtering is only worth keeping as an extra convenience layer on a small, stable network where you accept its limits.

Does MAC filtering work on wired networks too?

Yes, switches can filter by MAC address as well, but the same weakness applies: the address is an identifier, not a credential, and it can be copied. For real wired access control, use 802.1X authentication instead.

Sources

  1. NIST — SP 800-48 Rev. 1, Guide to Securing Legacy IEEE 802.11 Wireless Networks
  2. Apple Support — Recommended settings for Wi-Fi routers and access points
  3. Apple Support — Use private Wi-Fi addresses on Apple devices
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against NIST SP 800-48 Rev. 1 (archived 2018; MAC ACL findings still current), and Apple's current guidance on private Wi-Fi addresses and recommended router settings.

How we write and fact-check →

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free