Why Is Your Cough Worse at Night? Causes and Relief

Coughing gets worse at night because lying down changes how mucus drains, how acid moves in your digestive tract, and how your body regulates inflammation. Several of these factors stack on top of each other once you’re horizontal, which is why a cough that barely bothers you during the day can keep you awake for hours.

Mucus Pools in Your Throat When You Lie Down

During the day, gravity pulls mucus down through your nose and throat, and you swallow it without thinking. When you lie flat, that drainage system stops working. Mucus collects at the back of your throat instead, irritating the tissue there and triggering the urge to cough. This is called post-nasal drip, and it’s the single most common reason nighttime coughing flares up, whether you have a cold, allergies, or a sinus infection.

The irritation isn’t just from the presence of mucus. The mucus itself can be thick or inflammatory, especially during an infection, and the longer it sits against the back of your throat, the more it activates the nerve endings that signal your brain to cough. This is why you often wake up coughing in the middle of the night rather than right when you go to bed: it takes time for enough mucus to accumulate.

Acid Reflux Activates the Same Cough Nerves

Your esophagus and your airways share a nerve network rooted in a set of fibers called the vagus nerve. When stomach acid creeps upward (which happens more easily when you’re lying flat), it irritates the lining of your esophagus. That irritation travels along the same nerve pathways that serve your lungs and throat, and your brain interprets the signal as a reason to cough. You don’t need to feel heartburn for this to happen. Many people with reflux-related cough have no burning sensation at all.

This shared wiring also creates a feedback loop. Coughing increases pressure in your abdomen, which can push more acid upward, which triggers more coughing. Researchers have described this as a “vicious cough-reflux loop,” and it helps explain why some nighttime coughing fits feel like they escalate rather than settle down on their own. If you notice your cough is worse after large or late meals, reflux is a likely contributor.

Your Body’s Anti-Inflammatory System Dips at Night

Cortisol, your body’s main anti-inflammatory hormone, follows a 24-hour cycle. Levels are lowest in the evening and during early sleep, then peak right before you wake up in the morning. That nighttime dip means your airways have less natural protection against swelling and irritation. If you have any degree of airway inflammation, from asthma, allergies, a lingering cold, or even dry air, the effects become more noticeable when cortisol is at its lowest.

This is also why people with asthma often experience their worst symptoms between midnight and early morning. The combination of lower cortisol and the horizontal position creates a window where airways are narrower and more reactive to triggers.

Your Bedroom May Be Full of Triggers

Dust mites thrive in warm, humid environments, and your bed is ideal habitat. They concentrate in mattresses, pillows, and padded headboards. When you shift around during sleep, you stir up the allergens they produce, and your immune system responds with inflammation in your nose and airways. According to the Mayo Clinic, dust mite allergy symptoms are most likely to flare while you’re sleeping or cleaning, precisely because those are the moments when the allergens become airborne.

Pet dander is another common bedroom trigger, especially if your cat or dog sleeps on the bed or even in the same room. Dander particles are tiny enough to stay suspended in still air for hours and settle into fabric surfaces where they accumulate over time. Even if you aren’t obviously allergic to your pet, low-grade irritation from dander exposure during eight hours of sleep can be enough to provoke a cough.

Dry air compounds the problem. When humidity drops below 30%, the mucous membranes lining your nose and throat lose moisture and become more sensitive to irritation. The Cleveland Clinic recommends keeping bedroom humidity between 30% and 50%. Going above 50% creates a different problem: mold growth and increased dust mite reproduction, both of which make nighttime coughing worse.

Dry Cough vs. Wet Cough at Night

A wet, productive cough (one that brings up mucus) is usually driven by the post-nasal drip and mucus pooling described above. Elevating your head is the most effective position change for this type of cough, because it lets gravity keep drainage moving downward instead of collecting in your throat. Adding an extra pillow or raising the head of your bed by a few inches can make a noticeable difference, though raising your head too high can cause neck pain.

A dry cough responds differently. Sleeping on your side rather than your back can help minimize irritation, because lying flat on your back is the position most likely to worsen both post-nasal drip and airway dryness. If dry air is the main trigger, a humidifier set within that 30% to 50% range can calm the irritation enough to let you sleep.

Practical Steps to Reduce Nighttime Coughing

Most nighttime coughs respond to a few environmental changes rather than medication. Start with your sleep position: elevate your head with an extra pillow or a wedge so mucus drains rather than pools. If your cough is dry, try sleeping on your side. Keep your bedroom humidity in the 30% to 50% range. Wash your bedding in hot water weekly to reduce dust mite allergens, and keep pets off the bed if you suspect dander is a factor.

If reflux is contributing, avoid eating within two to three hours of bedtime. Elevating the head of your bed helps here too, since it works against gravity for both mucus and stomach acid. A cough that persists nightly for more than three weeks, especially without an obvious cold or allergy trigger, is worth investigating further. The cause is almost always one of the mechanisms above, but identifying which one is driving your cough makes targeted relief much easier.