How to turn off Bluetooth when your Mac sleeps
Your headphones keep connecting to a Mac that’s asleep. Turn Bluetooth off at sleep, and back on when you wake it.
macOS keeps Bluetooth on through sleep. MacFixes turns it off when the Mac sleeps and back on when it wakes.
Part of MacFixes: 7 days free, then $2.99 a month or $17.99 once, with every app and fix included.
What macOS gives you
Bluetooth stays on while the Mac sleeps, so nearby headphones and speakers can still connect to it. For AirPods there’s one setting that helps: in System Settings, click your AirPods’ name in the sidebar, then below Connect to This Mac choose “When Last Connected to This Mac” (click Audio & Routing first if you don’t see it), so they stop switching to it from your other Apple devices on their own. That covers AirPods only, and Bluetooth itself stays on. You can switch Bluetooth off by hand in Control Center, but there’s no option to do it automatically at sleep.
How MacFixes fixes it
- 1Turn on the fixOpen MacFixes Settings → Sound and turn on “Bluetooth off during sleep” (or type its name into Search for a fix).
- 2Let your Mac sleepBluetooth turns off at sleep and comes back on when you wake the Mac.
Why headphones connect to a Mac that’s asleep
A sleeping Mac is not switched off. The screen is dark and your apps are paused, but Bluetooth stays on. That’s on purpose: it’s how a Bluetooth keyboard, mouse or trackpad can wake a desktop Mac. The side effect is that the Mac can still be reached by every device paired with it.
Headphones and speakers often reconnect to the last thing they were paired with, or to any paired device in range. So you close the MacBook, walk to the kitchen, put on your headphones to take a call on your phone — and the sound goes to the Mac on your desk. Or a Bluetooth speaker in the next room wakes up and attaches itself to a Mac nobody is using.
AirPods add one more cause. When AirPods are set up with the same Apple Account on your iPhone, iPad and Mac, they can move between those devices on their own. A Mac that’s asleep is still one of those devices, so it can end up holding your AirPods when you meant to use them with something else.
Every way to stop it, and what each one costs
Change the AirPods setting. In System Settings, click your AirPods’ name in the sidebar (they need to be connected), then set Connect to This Mac to “When Last Connected to This Mac”. On some versions the option sits under Audio & Routing. Your AirPods then stop switching to the Mac on their own, but only AirPods are covered, and only automatic switching: Bluetooth itself stays on, and other headphones and speakers can still connect.
Turn Bluetooth off by hand before the Mac sleeps. Open Control Center in the menu bar, click Bluetooth and switch it off. Nothing can connect to the Mac until you switch it back on. It works for every device, but it relies on you remembering twice a day — once when you close the lid, once when you open it and wonder why your mouse doesn’t work.
Forget the device on the Mac. In System Settings → Bluetooth, click the info button next to the headphones and choose Forget This Device. They can never connect to the Mac again — which is the point, and also the problem if you sometimes do want to use them with it. You’d have to pair them again each time.
Turn Bluetooth off automatically at sleep. This is what MacFixes does: Bluetooth goes off when the Mac sleeps and comes back on when you wake it, so you get the hand method without having to remember it. It covers every Bluetooth device, not just AirPods.
What changes when Bluetooth turns off at sleep
While the Mac is asleep, nothing Bluetooth can reach it. Headphones, speakers, game controllers and anything else paired with the Mac stay with your other devices, or wait.
That includes the keyboard and mouse. With Bluetooth off, a Bluetooth keyboard, mouse or trackpad can’t wake the Mac. On a MacBook that rarely matters — you open the lid or use the built-in keyboard and trackpad. On a desktop Mac with only Bluetooth input, it matters a lot, which is why the fix’s settings point it out on a desktop Mac. There you’d wake it another way, such as the power button or a wired keyboard, and then Bluetooth comes back on.
Once the Mac wakes, Bluetooth is back on and your devices can connect as they always do. If your headphones moved to your phone in the meantime, you may need to choose the Mac again from its Bluetooth or sound menu.
If it still happens
If headphones connect while you’re sitting at a Mac that’s awake, sleep isn’t the cause: that’s the headphones choosing the Mac. For AirPods, the setting above is the fix. For other headphones, look in their own app or manual for how they pick a device — some let you choose which device they join first.
Sometimes the headphones are connected exactly when you want them, and the trouble is that everything plays through them. macOS sends every app to one output, so a call and your music can’t go to different places on their own — choose an output for each app to keep the call in the headphones and the music on the speakers. The same goes for volume: there’s one level for every app, so if the music drowns out the call, turn just that app down instead of the whole Mac. And if they connect and everything is simply too quiet, even at full volume, here’s why a Mac can sound quiet and how to make it louder.
And if the headphones connect when you do want them but the sound stays on the speakers — or you’re forever moving it back and forth — macOS has no key for that; switch audio output with a shortcut instead of going through Control Center each time.
If you want the Mac to stay awake instead — through a long download, say — keep it awake for that time, and Bluetooth stays on because the Mac never sleeps. And if the problem is music starting on the Mac rather than headphones joining it, that’s the Music app answering the play key: stop Music opening by itself.
On a MacBook, sleep is also where battery questions start. If you’re trying to work out how long a charge will last, macOS no longer shows that in the battery menu — here’s where to see battery time remaining. And if a charge runs down faster than it should, something may be busy in the background: show CPU and memory in the menu bar and you’ll see it when it happens.
If the Mac wakes and Wi-Fi says it’s connected but nothing loads, look at the IP address it has: one starting with 169.254 means it never got an address from the router. How to find your Mac’s IP address explains where to look and what to do about it.
Sleep and wake are also when a Mac with external monitors can lose track of them, so the monitor that sat on the left comes back on the right. That’s a separate problem with its own fix: keep your display arrangement. Some docks and drives also drop off while a Mac sleeps, and macOS then warns that a disk wasn’t ejected properly — why that happens, and how to eject every disk at once.
Permissions, and turning it off
To stop using it, open MacFixes Settings → Sound and use the switch on the “Bluetooth off during sleep” row.
Questions
How do I stop AirPods connecting to my Mac when I’m not using it?
macOS has a setting for AirPods: in System Settings, click your AirPods’ name in the sidebar, then below Connect to This Mac choose “When Last Connected to This Mac” (click Audio & Routing first if you don’t see it). That stops them switching to your Mac on their own, but it’s for AirPods only and Bluetooth stays on. To stop headphones connecting while the Mac sleeps, MacFixes turns Bluetooth off at sleep.
Will my Bluetooth keyboard still wake the Mac?
No — with Bluetooth off, a Bluetooth keyboard or mouse can’t wake it. On a desktop Mac, the fix’s settings point this out.
Does closing a MacBook’s lid turn Bluetooth off?
No. Closing the lid puts the Mac to sleep, and Bluetooth stays on through sleep. That’s why headphones can still connect to a closed MacBook.
Does it work with headphones that aren’t AirPods?
Yes. It turns off Bluetooth itself rather than changing one device’s setting, so no Bluetooth device can connect while the Mac sleeps.
Will it disconnect my headphones while I’m using the Mac?
No. Bluetooth turns off only when the Mac goes to sleep, and comes back on when you wake it.
More fixes macOS doesn’t give you
One of 47 fixes and 10 apps in MacFixes. Every fix · Every app · Something else your Mac won’t do? Request it.
Turn off Bluetooth when your Mac sleeps with MacFixes
MacFixes has 47 fixes for things macOS gets wrong or leaves out. Add only the ones you want. Free for 7 days, then $2.99 a month or $17.99 once. macOS 14 Sonoma or later.