Sound: No output or input devices found

2016 MBP 13-inch 4 Thunderbolt 3 ports running macOS High Sierra version 10.13.6

All of a sudden, my sound isn't working, and using the volume buttons show a mute icon with a stop sign underneath. In my sound preferences, it shows no output or input devices.

Running system_profiler SPAudioDataType in Terminal gives this output:

Audio:

Devices:

Sound Preferences showing no output devices found message


Solution 1:

Reboot the computer and hold D to run the Apple Hardware Test. In my case, it said no issues were found, but after rebooting, everything started working again. Based on the comments, many others have had the same experience.

Thanks to Allan for suggesting the hardware test.