I have a MacBook Pro that is almost always connected to one of two Thunderbolt displays. Sometimes it will also be connected to a USB headset. Every time I disconnect the headset the audio input and output gets set to the build in speakers. However, when the headphones are not plugged in, the display speakers should be used and I have to switch it back. Is there any way to set device priority similar to how you can do it with WiFi networks? It would be awesome if I could set a rule like "Prefer headset over Display over internal", just like I do for WiFi networks.

Sounds like a small problem, but it get's incredibly annoying throughout my day, because I switch between display speakers and headphones a lot.

1 Answer 1


Posted as answer just to be able to inline pictures...

Not really sure how to test this, as I don't have a Macbook - but what happens if you use Audio Midi Setup & mute the unwanted output? It might then skip it when you unplug the headphones.

enter image description here

…or possibly setting up a Multi-Output device, set to be your default output, with only the used connections checked…

enter image description here

  • Where is that screen? Using El Capitan 10.11.6 I don't see anything like it, just a really dumbed-down Sound screen.
    – Ed Randall
    Mar 27, 2017 at 8:03
  • 3
    Applications/Utilities/Audio Midi setup
    – Tetsujin
    Mar 27, 2017 at 8:07
  • Have you (or anyone else) been able to test this? Does it accomplish what the querent is asking for? - I'm trying to figure out how (or whether it's possible) to have the MacBook use only my wireless headset for input/output when the headset is turned on, and use only my MacBook for (input/)output otherwise. My MacBook sometimes switches to my external HDMI-connected monitors for audio, but those monitors don't have speakers.
    – V2Blast
    Nov 5, 2021 at 22:30
  • @V2Blast - I've never been able to test it, I'm afraid. I've never owned a laptop [or a headset]. I did at one time come up with an AppleScript to change output - Using Apple Script to Manage Sound Output Selection if that might be any use.
    – Tetsujin
    Nov 6, 2021 at 7:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .