What a randomized MAC address is and why it matters
Your Mac has a MAC address — a unique identifier that identifies your device on a network. Apple's macOS randomizes this address by default when you connect to Wi-Fi networks, which means your device appears as a different device each time you join. This protects your privacy by making it harder for networks and websites to track your device across locations.
Sometimes this randomization causes problems. Your printer, smart home devices, or network router may not recognize your Mac because it appears to be a different device each time. Your internet may drop, or you may not be able to connect to networks that require device registration. If you need your Mac to use the same MAC address consistently, you can disable randomization.
Disabling MAC address randomization trades privacy for reliability — your device becomes easier to track, but your connections become more stable. This is usually worth doing only if you control the network (your home Wi-Fi) or if you need to register your device with a specific network.
Key Takeaways
- MAC address randomization is on by default in macOS to protect privacy, but it can break connections to printers, smart home devices, and networks that require device registration.
- You can turn off randomization for a specific Wi-Fi network through System Settings > Wi-Fi, without affecting other networks.
- Disabling randomization makes your device easier to track on that network, so only do this on networks you trust.
- If you need a permanent fixed MAC address across all networks, you must use Terminal commands, which requires restarting your Mac.
Turn off randomization for a single Wi-Fi network
The easiest fix is to disable randomization for just the network that is causing problems. Open System Settings, then go to Wi-Fi. Find the network name in the list, click the information icon (i) next to it, and look for the Randomize MAC Address toggle. Turn it off.
Your Mac will now use the same MAC address every time you connect to that specific network. Other networks will still randomize your address. This approach keeps your privacy intact on public networks while fixing connection issues on networks you control or trust.
If the toggle does not appear, your Mac may already have randomization disabled for that network, or the network may not support the feature. Try disconnecting and reconnecting to the network to refresh the settings.
Disable randomization for all networks using Terminal
If you need a fixed MAC address across all networks, you must use Terminal. This is a more permanent change and requires administrator access. Open Terminal (in Applications > Utilities), then type the following command and press Enter:
sudo ifconfig en0 lladdr xx:xx:xx:xx:xx:xx
Replace xx:xx:xx:xx:xx:xx with the MAC address you want to use. You can find your current MAC address by going to System Settings > Wi-Fi, clicking the information icon next to your network, and looking for the MAC Address field. You can also use a random address like aa:bb:cc:dd:ee:ff — just make sure the first two characters are even numbers (like aa, bb, cc) to avoid conflicts.
This change lasts only until you restart your Mac. To make it permanent, you need to create a script that runs at startup. This is more complex and usually unnecessary — most people only need to disable randomization for one network through System Settings.
When to disable randomization and when to leave it on
Disable randomization only when you have a specific reason. Common situations include printers that require device registration, smart home networks that track devices, or work networks that register your device for security. If your internet simply drops or reconnects slowly, the problem is usually not MAC address randomization — try forgetting the network and reconnecting instead.
Leave randomization on for public Wi-Fi networks like coffee shops and airports. Randomization prevents those networks from building a profile of your device and tracking your visits. It also prevents other devices on the network from targeting your Mac specifically.
If you are unsure whether to disable it, start by trying the single-network approach through System Settings. That way you only disable randomization where you need it, and you can turn it back on anytime by flipping the toggle again.
Troubleshooting connection problems after disabling randomization
If you disabled randomization but your printer or device still does not connect, the problem may not be the MAC address. Restart both your Mac and the device you are trying to connect to. Then go back to System Settings > Wi-Fi, click the information icon for your network, and confirm the toggle is actually off.
If the device still does not recognize your Mac, check whether it requires you to manually register the device. Some printers and smart home systems keep a list of allowed devices — you may need to add your Mac's MAC address to that list through the device's own settings or app. Look for a setting called "Device Registration", "Allowed Devices", or "MAC Filtering".
If you used Terminal to set a fixed MAC address and it is not working, restart your Mac — the Terminal command only lasts until the next restart. If you need the change to survive a restart, you will need to create a startup script, which is beyond what most users need to do.
How to find your MAC address if you need it
You may need your MAC address to register your device with a network or printer. Open System Settings, go to Wi-Fi, click the information icon (i) next to your connected network, and look for the line labeled MAC Address. It will look like aa:bb:cc:dd:ee:ff — a series of six pairs of letters and numbers separated by colons.
If you are not currently connected to Wi-Fi, you can also find your MAC address in System Settings > General > About, under the Wi-Fi Address field. This shows your current randomized address if randomization is on, or your fixed address if it is off.
Frequently Asked Questions
Will disabling MAC address randomization slow down my internet?
No. Randomization does not affect speed. If your internet is slow, the cause is something else — your router, your internet plan, or interference from other devices. Disabling randomization may fix connection drops, but it will not change your speed.
Can I disable randomization for just one device on my network?
Yes. Each device has its own randomization setting. Go to System Settings > Wi-Fi on the device you want to change, click the information icon next to your network, and turn off the toggle. Other devices on the same network will still randomize their addresses.
What happens if I set a MAC address that is already in use on my network?
Your Mac and the other device will conflict, and one or both may lose connection. If this happens, restart your Mac and use a different MAC address. Stick to addresses that start with even numbers (aa, bb, cc, dd, ee, ff) to avoid reserved addresses.
Do I need to disable randomization to use AirDrop or Handoff?
No. AirDrop and Handoff work fine with randomization on. They use other identifiers to recognize your devices. If AirDrop is not working, the problem is usually that Bluetooth is off or your devices are not signed into the same iCloud account.
If I disable randomization, can websites track me across networks?
Websites cannot see your MAC address directly — it only works on local networks. Disabling randomization makes it easier for the Wi-Fi network itself to track your device, not for websites. This is why you should only disable it on networks you control or trust.