There is no single switch in Sound settings that stops this. Apple documents two causes instead, each with its own fix: AirPods moving themselves between your Apple devices, and a display's speakers giving way to headphones or speakers plugged into your Mac. Call apps and other Bluetooth speakers are worth checking too.
This is one of the most common audio complaints on a Mac: music playing through your desk speakers suddenly comes out of a pair of AirPods across the room, or the output you picked in Sound settings jumps back to something else a moment later. Below is each cause and the setting that stops it, followed by a way to get switching that only ever goes where you want it.
AirPods Switching
Recent AirPods move themselves between your iPhone, iPad, Mac, Apple Watch and Apple Vision Pro when those devices are signed in to the same Apple Account. Apple lists AirPods 2 and later, every AirPods Pro and every AirPods Max. On macOS Sequoia and later they switch to your Mac automatically; on macOS Sonoma a notification appears first, and they switch when you click Connect.
To stop them taking over your Mac:
- With your AirPods in your ears and connected to your Mac, choose Apple menu, then System Settings, then click Bluetooth.
- Click the Info button next to your AirPods.
- Click Audio & Routing, if you see it.
- Set Connect to This Mac to When Last Connected to This Mac.
Your AirPods now join your Mac only when they were last connected to it, rather than whenever your Mac starts playing sound. To bring automatic switching back, choose Automatically. Apple also notes that sound should not switch from one device to another in the middle of a phone call, a FaceTime call or a video conference.
Display Speakers
If your Mac is connected to a display with built-in speakers, and you also have headphones or external speakers plugged into the Mac, choosing the display's speakers in System Settings, Sound, Output can snap straight back to the headphones or speakers. Apple's fix is simple: unplug the headphones or external speakers first, then choose the display's speakers.
Microphones work the same way. With a headset plugged into your Mac, choosing the display's built-in microphone under Input can revert to the headset, so unplug the headset first, then make your choice.
Call Apps
Zoom and Microsoft Teams each keep their own speaker and microphone choice, separate from the one in System Settings. If your calls come out of a different device from the rest of your Mac, change the speaker in that app's own audio settings, and every call after that uses it.
Every feature free for 14 days. No account, no card details.
Download for MacBluetooth Speakers
For Bluetooth speakers and headphones other than AirPods, Apple does not document a setting that stops them taking over when they connect. If a speaker you are not using keeps joining, switch it off while it is not in use, or remove it from the Bluetooth list in System Settings if you no longer use it with this Mac; a removed device does not reconnect on its own. When one does take over, you can pick your output again from Sound in Control Center or the menu bar.
Auto-Switch in Chorus
The fixes above are all about stopping your Mac making the choice for you. Sometimes you want the opposite: switching that happens automatically, but only to the devices you use, in the order you prefer. macOS has no built-in way to say "switch to my desk speakers when they power on, but never to headphones that happen to connect nearby."
That is what Chorus's Auto-Switch does. You set rules for the outputs, inputs and groups you use, and Chorus works through them from the top as devices connect and disconnect, falling back to the next device in your list when one goes away. If something else moves the output while one of your rules applies, Chorus puts your choice back once, rather than fighting macOS over it. It sits alongside Chorus's other controls: grouping several outputs to play as one with a single working volume, setting a separate output and volume per app, and binding a keyboard shortcut to jump straight to any device or group. None of it needs a driver or a kernel extension; Chorus groups outputs using the same mechanism already built into macOS, the one behind Audio MIDI Setup's Multi-Output Device, so there is nothing lower-level to install.
Chorus is a one-time purchase, $9.99, covering up to three Macs, with a 14-day free trial that includes every feature and needs no account or card details to start. It runs on macOS 13 or later on both Intel and Apple Silicon.
For Apple's own steps, see switching your AirPods to another device and if your Mac switches to a different audio device.
Frequently asked questions
How do I stop my Mac from automatically switching audio output?
There is no single switch for it in macOS. Apple documents two causes, each with its own fix. If AirPods keep taking over, go to System Settings, then Bluetooth, click the Info button next to your AirPods, and set Connect to This Mac to When Last Connected to This Mac. If the output jumps back from your display's speakers to headphones or speakers plugged into the Mac, unplug them first, then choose the display's speakers in Sound settings.
Is there an "Automatically switch audio output" setting in Sound settings?
No. Apple's guide to sound output settings for macOS Ventura through macOS 27 lists no such option: the Output settings show your devices with volume, balance and mute controls. Automatic switching for AirPods is set per device in Bluetooth settings instead.
Why does Zoom or Teams use a different speaker from the rest of my Mac?
Zoom and Microsoft Teams each keep their own speaker and microphone choice, separate from the one in System Settings. Change the speaker in that app's own audio settings and your calls will use it.
How do I stop a Bluetooth speaker taking over when it connects?
For AirPods, use the Connect to This Mac setting in Bluetooth settings. For other Bluetooth speakers and headphones, Apple does not document a setting for this, so switch the speaker off while you are not using it, or remove it from the Bluetooth list in System Settings if you no longer use it with this Mac. Chorus's Auto-Switch also lets you choose which devices your Mac switches to.
What is the difference between stopping automatic switching and using Chorus's Auto-Switch?
Stopping automatic switching means you choose the output yourself every time. Chorus's Auto-Switch is opt-in switching you control: it follows only the devices and groups you choose, in the order you set.