Why Is My Cough Worse When I Lay Down?

Lying down removes gravity’s help in keeping fluids, mucus, and stomach acid where they belong. When you’re upright, gravity pulls mucus down your throat, keeps acid in your stomach, and helps blood distribute evenly through your lungs. The moment you go horizontal, all of that shifts, and your airways pay the price. Several common conditions can drive this pattern, and the specific cause shapes what you can do about it.

Acid Reflux and GERD

Acid reflux is one of the most common reasons a cough flares up at bedtime. A ring of muscle at the bottom of your esophagus normally keeps stomach acid contained. When you’re standing or sitting, gravity reinforces that barrier. But lying flat, especially after eating, reduces the pressure keeping that valve shut. Stomach contents can creep up into your esophagus and even reach the back of your throat.

Once acid hits the upper esophagus or airway, it can trigger coughing in two ways. It directly irritates cough receptors in the throat and esophagus. It also sets off a nerve reflex through the vagus nerve that causes mucus production in the lower airways, which triggers more coughing. You don’t necessarily need to feel heartburn for this to happen. Some people’s only reflux symptom is a persistent nighttime cough.

Sleeping position matters here. Lying on your right side increases both nighttime and post-meal reflux compared to lying on your left. Elevating the head of your bed by about 30 degrees (roughly 6 to 8 inches at the headboard) helps keep acid down. Stacking pillows under your head alone is less effective because it bends your body at the waist rather than creating a true incline. Avoiding food for two to three hours before bed also reduces the amount of acid available to reflux.

Postnasal Drip

When you have allergies, a sinus infection, or even a common cold, your body produces excess mucus that drains down the back of your throat. Standing up, you swallow most of it without noticing. Lying down changes the drainage angle, letting mucus pool at the back of your throat and tickle the cough receptors there. This is why many people notice a coughing fit within minutes of getting into bed, or wake up coughing in the middle of the night.

If your cough comes with a stuffy nose, facial pressure, or the sensation of something dripping in your throat, postnasal drip is a likely contributor. Saline nasal rinses before bed can thin and flush out mucus. Keeping bedroom humidity between 30% and 50% prevents your airways from drying out, which would otherwise make mucus thicker and harder to clear. A humidifier can help in dry climates or during winter when indoor heating strips moisture from the air, but going above 50% humidity creates a different problem: it feeds dust mites and mold.

Dust Mites and Bedroom Allergens

Your bed itself may be part of the problem. Dust mites thrive in warm, humid environments and concentrate in bedding, mattresses, and padded furniture. Their waste particles are a potent allergen that causes sneezing, nasal congestion, and coughing. Symptoms tend to be worst while you’re sleeping or making the bed, precisely when your face is closest to these allergens and when they’re most likely to become airborne.

Encasing your mattress and pillows in allergen-proof covers reduces exposure significantly. Washing bedding weekly in hot water (at least 130°F) kills mites. If you notice your cough is worse year-round rather than seasonally, and especially if it improves when you sleep somewhere else, dust mite allergy is worth investigating.

Asthma and Airway Narrowing

Asthma-related coughing at night is common enough to have its own name: nocturnal asthma. Several things converge when you lie down and sleep. Your body naturally increases the tone of the nerve signals that constrict airways (parasympathetic tone). Lung volume decreases in the horizontal position, which means your airways are physically smaller. The smooth muscle surrounding your airways also relaxes and “unloads” in a way that makes them more prone to narrowing.

On top of these sleep-specific changes, airway resistance and reductions in peak airflow increase throughout the night as part of your body’s natural circadian rhythm. If you already have inflamed or reactive airways, these normal overnight shifts can push you past the threshold into coughing or wheezing. A nighttime cough that comes with chest tightness, wheezing, or shortness of breath points toward asthma, even if you’ve never been formally diagnosed.

Heart Failure and Fluid Redistribution

A less common but more serious cause involves the heart. When the left side of the heart can’t pump efficiently, fluid backs up into the lungs. In a healthy person, lying down redistributes blood from the legs and abdomen to the chest without any noticeable effect. In someone with heart failure, the heart can’t handle that extra volume. Fluid accumulates in and around the lung tissue, reducing the lungs’ ability to expand and irritating the airways.

This produces a condition called orthopnea: breathlessness that comes on when lying flat and improves when sitting up. A dry, nonproductive cough often accompanies it, sometimes described as a “breathing equivalent” because the cough and the breathlessness share the same cause. Fluid in the bronchial walls can even trigger spasms similar to asthma. If you’ve noticed you need more and more pillows to sleep comfortably, or that you wake up gasping after a few hours of sleep, that pattern warrants prompt medical evaluation. Swollen ankles, unexplained weight gain, and progressive fatigue alongside a worsening nighttime cough are additional warning signs.

Choosing the Right Cough Medicine

Over-the-counter cough products fall into two categories, and picking the wrong one can make things worse. Cough suppressants are designed for dry, nonproductive coughs: the kind where nothing comes up and the cough itself is the problem. If you have a dry cough that wakes you at night, a suppressant containing dextromethorphan is the standard choice. Products with an extended dosing interval of 8 to 12 hours are particularly practical for nighttime use since they can cover a full night’s sleep.

Expectorants work differently. They thin out thick, sticky mucus so you can cough it up more easily. If your cough produces phlegm, an expectorant helps you clear it rather than suppressing the reflex your body needs. Using a suppressant on a productive cough traps mucus in your lungs, which can prolong illness or lead to infection. The simple rule: dry cough, suppressant; wet cough, expectorant.

Signs That Need Attention

Most nighttime coughs trace back to reflux, allergies, or a lingering cold and resolve with the strategies above. But certain patterns suggest something more serious. Coughing up blood, even small streaks, can indicate infection, bronchiectasis, or malignancy. Large amounts of discolored sputum point toward chronic lung conditions or infections like tuberculosis. Unexplained weight loss, night sweats, persistent fever, or progressive fatigue alongside a cough that won’t quit are red flags that need investigation rather than home management.

A cough lasting more than eight weeks is classified as chronic and is worth getting evaluated regardless of other symptoms. The three most common causes of chronic cough in nonsmokers are reflux, postnasal drip, and asthma, all of which respond well to targeted treatment once correctly identified.