Headphones not Working? How to Fix Headphones on MacBook/MacOS
Dust or fluff is enough to block the port from recognizing your headphones or speakers. Try blowing the dust off the jack and from inside the port on your Mac to see if that solves the problem. Plug the headphones back in while holding the volume buttons at the same time. Check the volume controls on your headphones.