Why You Cough More at Night: Causes and Remedies

Coughing gets worse at night primarily because lying down changes how gravity acts on your body, allowing mucus to pool in your throat, stomach acid to creep into your esophagus, and your airways to narrow. These effects layer on top of natural shifts in your immune system and hormone levels that happen while you sleep, making nighttime a perfect storm for coughing.

Gravity Stops Working in Your Favor

When you’re upright during the day, gravity helps mucus drain down and out of your nasal passages and sinuses. It also keeps stomach acid where it belongs. The moment you lie flat, that advantage disappears. Mucus from a cold, allergies, or sinus congestion slides down the back of your throat (postnasal drip), tickling the nerve endings that trigger a cough. This is the single most common reason people notice their cough ramps up at bedtime, and it applies whether you’re fighting a virus or dealing with chronic allergies.

Acid Reflux and the Lying-Down Effect

Gastroesophageal reflux is one of the top three causes of chronic cough, and it’s uniquely worse at night. When you lie flat, stomach acid can slip past the ring of muscle at the bottom of your esophagus, especially if that muscle is weakened by excess weight, pregnancy, or smoking. Once acid reaches the esophagus, it triggers a cough in two ways: the vagus nerve, which controls both digestion and breathing, fires a protective cough reflex, and tiny amounts of acid can reach the throat and even get inhaled into the upper airway.

Some people with reflux-related cough never experience classic heartburn. The cough itself may be the only symptom, which makes it easy to overlook. Elevating the head of your bed with a wedge pillow (typically angled at 30 to 45 degrees, raising your head 6 to 12 inches) can reduce acid movement into the esophagus significantly. Eating two to three hours before bedtime also helps keep the stomach emptier when you lie down.

Your Airways Naturally Narrow at Night

Lung function follows a 24-hour cycle in everyone, peaking around 4:00 p.m. and dipping to its lowest point near 4:00 a.m. For most healthy people, this fluctuation isn’t noticeable. But if you have asthma, even mild asthma, that dip can be dramatic. Nocturnal asthma is defined by a drop in airflow of at least 15% between bedtime and waking, and it’s driven by circadian shifts in hormone levels, changes in the autonomic nervous system’s activity, and increased airway inflammation during sleep.

Asthma symptoms that are characteristically worse at night or in the early morning, including cough, chest tightness, and shortness of breath, are actually one of the key patterns doctors look for when diagnosing asthma. A subset of people have “cough-variant asthma,” where a dry, persistent cough is the only symptom with no wheezing at all. If your nighttime cough is dry, comes in episodes, and worsens with cold air, exercise, or after a cold, this is worth investigating with a lung function test.

Your Bedroom Is Full of Allergens

Dust mite allergens are detectable in about 84% of U.S. homes, and nearly half have concentrations high enough to trigger allergic sensitization. Your mattress, pillows, and bedding are where dust mites thrive, feeding on dead skin cells in a warm, humid environment. When you climb into bed, you’re pressing your face directly into the highest concentration of these allergens you’ll encounter all day. For anyone with dust mite sensitivity, this means the airways become inflamed and irritated right at the time you’re trying to sleep.

Keeping bedroom humidity between 30% and 50% makes the environment less hospitable for dust mites. Using allergen-proof mattress and pillow covers, washing bedding weekly in hot water, and running air conditioning or a dehumidifier can all meaningfully reduce mite populations and allergen levels. Pet dander works similarly: if a cat or dog sleeps in your bedroom, you’re breathing in concentrated allergen through the night.

Dry Indoor Air Irritates the Airways

Heated homes in winter and air-conditioned rooms in summer both tend to have low humidity, which dries out the mucous membranes lining your nose and throat. Dry membranes are more easily irritated and less efficient at trapping and moving mucus, leaving your throat feeling raw and triggering a cough. A bedroom humidifier set to keep humidity in that 30% to 50% range can help, but going above 50% encourages mold and dust mites, trading one problem for another.

Heart Failure and Fluid Redistribution

A less common but more serious cause of nighttime cough is heart failure. When the heart can’t pump efficiently, fluid accumulates in the lungs, a condition called pulmonary edema. Your body responds to this fluid by coughing, trying to clear the airways. Lying flat makes this worse because blood and fluid that pooled in your legs during the day redistributes into your chest. People with heart failure often notice they need to prop themselves up on multiple pillows to breathe comfortably, or they wake from sleep with sudden coughing and breathlessness.

Signs Your Nighttime Cough Needs Attention

A cough that lingers after a cold for a week or two is usually harmless. But certain patterns signal something more is going on. A cough lasting more than three weeks, a persistent cough paired with fever, thick green or yellow mucus, night sweats, or unexplained weight loss all warrant a medical visit. If you’re coughing up blood or pink-tinged mucus, experiencing sharp chest pain, or having difficulty breathing and swallowing, those are emergency symptoms.

Practical Steps to Quiet a Nighttime Cough

Most nighttime coughs improve once you address the underlying cause, but a few changes can help regardless of the trigger. Elevating your upper body with a wedge pillow reduces both postnasal drip and acid reflux. Keeping your bedroom cool and humidity between 30% and 50% protects your airways from drying out without feeding allergens. Showering before bed washes pollen and irritants out of your hair so they don’t transfer to your pillow.

If allergies are the likely culprit, encasing your mattress and pillows in dust-mite-proof covers and keeping pets out of the bedroom can make a noticeable difference within a few weeks. For reflux, avoiding late meals, alcohol, and spicy or fatty foods in the hours before bed reduces the amount of acid available to travel up the esophagus. And if you suspect asthma, a simple breathing test at a doctor’s office can confirm or rule it out, preventing both unnecessary treatment and missed diagnoses.