Snoring happens when your airway gets blocked while you sleep. When you're asleep, your muscles relax, and sometimes they block the space where air goes through your nose or mouth. This makes the air vibrate as it passes through, creating that loud snoring sound.