Nighttime coughing is usually triggered by one of a handful of common conditions, most of which get worse when you lie down. Gravity works against you in a horizontal position: mucus pools in the back of your throat, stomach acid creeps upward, and fluid shifts toward your lungs. Understanding which mechanism is driving your cough is the key to stopping it.
Post-Nasal Drip
Post-nasal drip is one of the most frequent reasons people cough at night. Throughout the day, mucus from your sinuses and nasal passages drains harmlessly down the back of your throat. When you lie down, that drainage collects instead of flowing, triggering a persistent tickle and cough reflex. You may also notice frequent throat clearing, a sensation of something dripping in the back of your throat, nasal congestion, or bad breath.
Allergies, sinus infections, colds, and even dry indoor air can all increase mucus production and make post-nasal drip worse. There’s no single test that confirms it as the culprit. Doctors typically diagnose it based on your symptoms, a look at the back of your throat (which may have a bumpy, “cobblestone” texture from chronic irritation), and whether your cough improves with treatment like antihistamines or nasal saline rinses.
Asthma and Circadian Lung Changes
About 75 percent of people with asthma report that their symptoms get worse at night. That’s roughly 20 million people in the U.S. alone. The reasons are partly built into your biology: your body’s internal clock causes airway resistance to peak during the circadian night, with lung function hitting its lowest point around 4 a.m. Sleep itself adds a second layer of airway narrowing on top of the circadian dip.
These two effects are additive, meaning both your circadian rhythm and the act of sleeping independently contribute to tighter airways. Many people don’t realize their airways are compromised unless the narrowing becomes severe enough to wake them. If you find yourself coughing, wheezing, or feeling chest tightness mostly at night or in the early morning hours, undiagnosed or under-treated asthma is a strong possibility.
Acid Reflux (GERD)
Gastroesophageal reflux disease causes stomach acid to flow backward into the esophagus. During the day, gravity and swallowing keep acid moving downward. At night, lying flat removes that advantage, and acid can travel far enough up to reach the vocal cords. When it does, it triggers a dry, irritating cough that may not come with the classic heartburn you’d expect.
Elevating the head of your bed can help. The commonly recommended target is about 7 inches of elevation, or roughly a 30-degree angle. This is not the same as propping yourself up with extra pillows, which bends you at the waist and can actually compress your stomach, making reflux worse. A foam wedge under the mattress or bed risers under the headboard posts keeps your entire upper body on a gentle slope. Eating your last meal at least two to three hours before bed also gives your stomach time to empty before you lie down.
Allergens in Your Bedding
Your bed is a concentrated source of allergens. A single mattress can house anywhere from 100,000 to 10 million dust mites, and a pillow that’s two or more years old may derive roughly 10 percent of its weight from dead mites and their waste. Dust mites thrive in the warm, moist environment your body creates while you sleep, and they feed on the skin cells you shed, enough each day to sustain about a million of them.
If your cough starts soon after getting into bed or is accompanied by a stuffy nose and itchy eyes, dust mite allergy is worth investigating. Hypoallergenic mattress and pillow covers act as a physical barrier: they block new mites from colonizing, trap existing ones inside, and cut off their food supply. Research confirms these covers reduce dust mite exposure, though symptom relief varies from person to person. Lowering bedroom humidity with a dehumidifier also deprives mites of the moisture they need to survive.
Medication Side Effects
A class of blood pressure medications called ACE inhibitors (common examples include lisinopril and enalapril) is notorious for causing a dry, persistent cough. Estimates put the incidence at 5 to 20 percent of people taking these drugs, and the cough tends to be worse at night. It’s a dry, hacking cough with no mucus, and it can start weeks or even months after beginning the medication, which makes it easy to overlook as a side effect.
If you started a new blood pressure medication and developed a cough that won’t quit, the timing is probably not a coincidence. Switching to a different class of blood pressure drug typically resolves the cough within a few weeks.
Heart Failure
A dry nighttime cough can be an early sign of heart failure, a condition where the heart doesn’t pump blood efficiently. When the heart struggles, fluid backs up and seeps into lung tissue. Lying down redistributes that fluid toward the lungs, producing a cough that may wake you or make it hard to sleep flat. You might find that you need to prop yourself up on several pillows to breathe comfortably, or that you wake up gasping after being asleep for a few hours.
Other signs that point toward a cardiac cause include ankle swelling, unexplained weight gain over a short period, shortness of breath during activities that used to feel easy, and fatigue. This is one of the more serious causes of nighttime coughing and warrants prompt medical evaluation if these symptoms sound familiar.
Warning Signs That Need Urgent Attention
Most nighttime coughs are annoying but not dangerous. A few specific symptoms change that picture and call for prompt or emergency care:
- Coughing up blood or pink-tinged mucus
- Difficulty breathing or swallowing
- Chest pain alongside the cough
- Choking or vomiting with coughing episodes
- Fainting spells
A cough that lingers beyond a few weeks, produces thick greenish-yellow phlegm, or comes with a fever, wheezing, ankle swelling, or unexplained weight loss also deserves a medical workup. Chronic cough that doesn’t respond to treatment for common causes sometimes requires imaging to check for less obvious conditions like bronchiectasis or early lung fibrosis.
Simple Steps to Reduce Nighttime Coughing
While identifying the underlying cause matters most, a few practical changes can ease symptoms regardless of what’s driving them. Sleeping with your head elevated on a wedge (not just extra pillows) helps with both reflux and post-nasal drip. Running a humidifier keeps airways from drying out, but keeping overall bedroom humidity moderate discourages dust mites. Washing bedding in hot water weekly and using allergen-proof covers reduces your exposure to mite waste. Avoiding eating within two to three hours of bedtime limits reflux. And keeping your bedroom cool can help, since warm, stagnant air tends to concentrate airborne irritants.
If these measures don’t make a difference after a couple of weeks, the cough is likely driven by something that needs targeted treatment rather than general bedroom hygiene. Tracking when the cough started, whether it’s dry or wet, and what makes it better or worse gives your doctor the clearest picture to work with.

