Skip to content

Instantly share code, notes, and snippets.

@ide
Created July 10, 2020 02:02
Show Gist options
  • Save ide/9bf0bfc67ca18fb140df5dd2e97aaad5 to your computer and use it in GitHub Desktop.
Save ide/9bf0bfc67ca18fb140df5dd2e97aaad5 to your computer and use it in GitHub Desktop.
Fix audio by restarting coreaudiod on macOS
# macOS regularly enters a bad state where audio doesn't play at all or the sound levels are miscalibrated and the
# speakers are quiet even at high volume settings. Various sites suggest different approaches, some of which worked for me
# and some which didn't.
#
# Restarting the audio daemon is ideal since you don't need to restart your computer and fortunately it has worked in
# several scenarios for me.
# This works for me the most when my audio doesn't work on video calls or when my sound levels are miscalibrated
sudo launchctl stop com.apple.audio.coreaudiod
sudo launchctl start com.apple.audio.coreaudiod
# An alternative, which may not work due to System Integrity Protection
sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist
sudo launchctl load /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist
# Another approach that hasn't worked for me
sudo killall coreaudiod
# Restarting the computer typically helps
# If issues persist, resetting the NVRAM helps as well: https://support.apple.com/en-us/HT204063
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment