32

I ran into an issue where my volume buttons on my mac weren't able to adjust the volume of my computer. I sought a solution and someone suggested using sudo killall coreaudiod. Now I have no volume on my computer at all. How do I fix this?

45

This command will do it:

sudo launchctl stop com.apple.audio.coreaudiod && sudo launchctl start com.apple.audio.coreaudiod

Martin Strouhal's answer didn't work for me on 10.13 / High Sierra due to system integrity protection:

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist
/System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist: _
   Operation not permitted while System Integrity Protection is engaged

However, it was correct in that restarting the service was effective. Also, the latter command (sudo launchctl start com.apple.audio.coreaudiod) worked to restart the service after I had killed coreaudiod using killall coreaudiod.

| improve this answer | |
  • This is going to relaunch the service actually (I can see the spinner on the bar sound icon, but the output audio device does not come back (I only see the damn SoundFlower). – loretoparisi Mar 16 '19 at 15:02
22

You need to reload coreaudiod instead of killing it. This one-liner will fix broken sound without restarting your mac

sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist && sudo launchctl load /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist

| improve this answer | |
  • 6
    I can't believe I have to do this several times a day. – octohedron Jan 21 '17 at 10:26
  • Nice, worked very nicely to clean up my Airplay connection after adding and removing Soundflower. – Foliovision Apr 13 '18 at 21:53
  • I also have to run this again and again to clean up the choppy noise in my speakers. – Charlie Dalsass Feb 11 '19 at 19:14
  • 1
    I get a service already loaded and nothing actually loads. – loretoparisi Mar 16 '19 at 15:01
  • 1
    @octohedron I can't believe this is STILL broken... – Kheldar Jan 25 at 16:06
2

sudo killall coreaudiod should work to kill your audio drivers. It should reload itself within a fraction of a second. (verified on my mbp running 10.14 but used this on a couple of previous versions)

| improve this answer | |
  • This completely worked for me while other solutions did not. NOTE: I had to do this 3 times before coreaudiod stopped pegging the cpu. (mine was consistently hitting 75% cpu utilization) – MER Feb 13 at 23:09
1

You've simply killed Core Audio, which will restart itself if you restart your computer. Try logging out/in, and if that doesn't work restart your computer.

| improve this answer | |
  • does not work with logout only, you need a restart...damn mac windowsness – loretoparisi Mar 16 '19 at 15:04
1

You can also use the command:

sudo launchctl kill SIGTERM system/com.apple.audio.coreaudiod
| improve this answer | |

You must log in to answer this question.

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