Why Coughing Gets Worse at Night: Causes and Relief

Coughing gets worse at night because of a combination of factors that converge once you lie down and your body shifts into its nighttime rhythm. Gravity stops helping drain mucus from your airways, your body’s natural anti-inflammatory defenses drop, and your sleeping environment may expose you to triggers you don’t encounter during the day. Understanding exactly which mechanisms are at play can help you figure out what’s driving your specific nighttime cough and what to do about it.

Your Body’s Natural Anti-Inflammatory System Dips at Night

Cortisol, the hormone your body uses to regulate stress and suppress inflammation, follows a predictable daily cycle. Levels rise in the morning, helping keep airway inflammation in check and cold symptoms manageable. But cortisol drops to its lowest point late at night and into the early morning hours, which allows inflammation in your airways to flare. If you have a cold, allergies, or asthma, this hormonal dip means your airways swell more easily and produce more mucus right when you’re trying to sleep.

This isn’t just a subtle shift. Research from Harvard Medical School found that people with asthma hit their lowest lung function around 4 a.m., during what researchers call the “circadian night.” Many people don’t even realize their airways are significantly more constricted at night unless it’s severe enough to wake them up. In lab studies, participants used their rescue inhalers as much as four times more often during nighttime hours than during the day.

Lying Down Changes How Mucus Drains

When you’re upright, gravity helps mucus drain down from your sinuses and out of your airways. The moment you lie flat, that drainage slows or stops. Mucus from your sinuses begins to pool in the back of your throat, a process called postnasal drip, which triggers your cough reflex. At the same time, mucus sitting in your lower airways doesn’t clear as efficiently without gravity’s help.

This is one reason people with colds, sinus infections, or allergies notice a dramatic worsening of their cough within minutes of getting into bed. The mucus hasn’t suddenly increased. It’s just no longer going anywhere.

Acid Reflux Becomes a Hidden Trigger

Gastroesophageal reflux, commonly known as acid reflux or GERD, is one of the most overlooked causes of nighttime coughing. When you lie flat, stomach acid can travel more easily up into your esophagus and even reach the back of your throat. This triggers coughing through two pathways: a protective reflex activated by a major nerve (the vagus nerve) that senses acid in the esophagus, and microaspiration, where tiny amounts of stomach contents are inhaled into the airway.

What makes reflux-related coughing tricky is that you don’t always feel the classic heartburn. Some people cough repeatedly at night without realizing acid is the cause. If your nighttime cough is dry, persistent, and doesn’t come with obvious cold symptoms, reflux is worth considering.

Your Bedroom May Be Full of Triggers

Dust mites thrive in warm, humid environments, and your bedding is one of their favorite habitats. According to the American Academy of Allergy, Asthma & Immunology, dust mite allergens are among the most common triggers for allergy and asthma symptoms. When you climb into bed, you’re pressing your face into a concentrated source of these allergens for hours at a time. Pet dander, mold spores, and other indoor allergens can also accumulate in carpeting and upholstered furniture in the bedroom.

Air quality changes at night too. If your bedroom air is very dry, it can irritate already-inflamed airways and worsen coughing. If it’s too humid, it encourages mold growth and dust mite reproduction. The EPA recommends keeping indoor humidity between 30% and 50%, and it should never exceed 60%.

Cough-Variant Asthma: When Coughing Is the Only Symptom

Not all asthma involves wheezing or shortness of breath. Cough-variant asthma is a subset of asthma where a persistent cough is the primary (and sometimes only) symptom. There’s no chest tightness, no audible wheeze. Just a cough that tends to be worse at night and with exercise. Because it doesn’t look like “typical” asthma, it often goes undiagnosed for months or years.

If you have a dry cough that keeps coming back at night, doesn’t respond to cold medications, and has persisted for more than eight weeks, this is worth bringing up with a doctor. Breathing tests can help identify whether your airways are narrowing in ways consistent with asthma, even when you feel fine during the day.

Heart Failure Can Cause a Nighttime Cough

A less common but more serious cause of nighttime coughing is congestive heart failure. When the heart can’t pump blood effectively, blood backs up in the blood vessels of the lungs. The increasing pressure forces fluid to leak out of those vessels and into the tiny air sacs where oxygen exchange happens. Your lungs essentially become waterlogged, and your body coughs to try to clear them.

This type of cough is typically worse when lying flat, because the horizontal position redistributes even more fluid into the lungs. It often produces white or pink-tinged mucus and may come with other signs like swollen ankles, fatigue, or waking up gasping for air. This is not a wait-and-see situation. If these symptoms sound familiar, it warrants prompt medical attention.

Practical Ways to Reduce Nighttime Coughing

Elevate Your Head and Upper Body

Sleeping with your head and torso raised to about 30 to 45 degrees helps in two ways: it lets gravity keep mucus draining instead of pooling in your throat, and it reduces the chance of stomach acid traveling up into your esophagus. A wedge pillow works better than stacking regular pillows, which tend to bend you at the neck without actually elevating your upper body enough.

Control Your Bedroom Environment

Wash bedding weekly in hot water to reduce dust mite levels. If you have allergies, consider allergen-proof covers for your mattress and pillows. Use a dehumidifier or air conditioning to keep humidity in the 30% to 50% range. If your air is too dry (common in winter with forced-air heating), a cool-mist humidifier can help soothe irritated airways, but clean it regularly to prevent mold.

Time Your Meals and Medications

If reflux is contributing to your cough, avoid eating for at least two to three hours before bed. Large meals, fatty foods, alcohol, and caffeine all relax the valve between your stomach and esophagus, making reflux more likely. If you take allergy medications or use a nasal spray, using them in the evening gives them time to work before you lie down.

Keep the Air Moving

A warm shower before bed can help loosen mucus. Staying hydrated during the day thins secretions so they drain more easily at night. If your bedroom has carpeting, consider whether it’s harboring allergens that a hard floor would not.

Nighttime coughing that persists for more than a few weeks, produces blood, or comes with weight loss, fever, or difficulty breathing points to something that needs a proper evaluation rather than home remedies alone.