Input/output tabs
Within the Sound section in System Preferences are tabs to select the devices plugged into your Mac’s sound input and output. Ensure that the speakers are plugged into the right socket on the back of your Mac and the speakers should show up here.