That cough that hits right as you settle into bed is almost always triggered by the simple act of lying down. When you shift from upright to horizontal, gravity stops helping your body manage mucus, stomach acid, and airway pressure the way it does all day. Several common conditions can cause this, and most are treatable once you identify the pattern.
Post-Nasal Drip Is the Most Common Culprit
When you’re upright, mucus from your sinuses drains down the back of your throat and you swallow it without noticing. The moment you lie down, that drainage changes direction. Instead of sliding straight down into your stomach, mucus pools around your larynx and the back of your throat, where it physically touches nerve endings that exist specifically to trigger a cough.
This isn’t a chemical reaction. Research published in PLOS One confirmed that the cough from post-nasal drip is mechanical: the mucus itself brushing against rapidly adapting receptors in your larynx sends a signal to your brain, and your brain fires the cough reflex. That’s why the cough often starts within minutes of lying down, before you’ve had time to fall asleep. You might not even realize you have post-nasal drip during the day because gravity keeps things moving quietly. Allergies, sinus infections, colds, and even dry air can all increase mucus production enough to make this noticeable at night.
Acid Reflux Without the Heartburn
Stomach acid doesn’t always announce itself with a burning sensation. A condition called laryngopharyngeal reflux (LPR) sends small amounts of acid and digestive enzymes up into the throat and voice box without causing classic heartburn. When you lie flat, the contents of your stomach have an easier path upward because gravity is no longer keeping them in place.
Reflux triggers coughing through several routes. Tiny amounts of acid can reach the airways directly, a process called microaspiration. Acid contacting the throat and voice box causes irritation even without reaching the lungs. And there’s a nerve reflex that connects your esophagus to your bronchial tubes: when acid irritates the esophagus, it can trigger a cough even if nothing reaches your throat at all. If your cough comes with a sour taste, throat clearing, or a hoarse voice in the morning, reflux is worth investigating.
Asthma Can Show Up as a Cough Alone
Not all asthma involves wheezing or shortness of breath. Cough-variant asthma produces a dry, persistent cough as its primary symptom, and lying down is one of its strongest triggers. A study in the Journal of Asthma and Allergy found that people with asthma coughed 4.5 times more frequently in the first 30 minutes after getting into bed compared to any other 30-minute window during the night. That spike happened right at the position change, not during the early morning hours when other asthma symptoms typically peak.
The researchers concluded that shifting from upright to lying down alters lung mechanics enough to trigger airway activity. Your airways narrow slightly when you’re horizontal, and if they’re already inflamed or hyperreactive, that small change is enough to set off a cough. If you notice the cough worsens during allergy season, after exercise, or in cold air, asthma could be the underlying cause even if you’ve never been diagnosed.
Bedroom Air and Allergens
Your sleeping environment plays a bigger role than most people realize. Dry air pulls moisture from the lining of your throat and airways, leaving them irritated and more reactive. The Mayo Clinic recommends keeping indoor humidity between 30% and 50% to protect your respiratory tract. Below 30%, your airways dry out. Above 50%, you’re encouraging dust mites and mold, both of which can trigger coughing on their own.
Dust mites concentrate in mattresses, pillows, and bedding. You might breathe fine all day and then start coughing the moment your face hits the pillow because that’s when your exposure spikes. Pet dander follows a similar pattern if your cat or dog spends time on the bed. If the cough only happens in your bedroom, the room itself may be the problem.
Medications That Cause a Persistent Cough
If you take blood pressure medication, check whether it’s an ACE inhibitor. These drugs cause a dry, tickling cough in 5 to 10% of the people who take them. The cough happens because the medication interferes with how your body breaks down a compound that sensitizes airway nerves. The result is a cough reflex that fires too easily, and lying down, where other mild irritants like mucus or dry air are already at work, can push it over the threshold. This cough can start weeks or even months after beginning the medication, so it’s easy to miss the connection.
What the Cough Pattern Tells You
The character of your cough narrows down the cause significantly. A wet, productive cough that worsens when you lie down points toward post-nasal drip or reflux. A dry, tickling cough suggests asthma, dry air, or medication side effects. A cough that improves on nights when you sleep propped up suggests gravity-dependent causes like reflux or post-nasal drip.
Pay attention to what else accompanies the cough. Nasal congestion or throat clearing during the day suggests post-nasal drip. A sour or bitter taste points to reflux. Tightness in the chest or coughing during exercise raises the likelihood of asthma. A cough that started after a new medication is a strong clue.
Practical Ways to Reduce the Cough
Elevating your upper body is the single most effective change for gravity-related causes. The Cleveland Clinic recommends propping yourself up with a few pillows, using an adjustable bed, or sleeping in a recliner. The goal is to keep your head and chest above your stomach so mucus drains downward and acid stays put. Stacking pillows under your head alone can kink your neck; placing them under your shoulders and head together creates a more gradual incline.
For dry air, a humidifier in the bedroom can make a noticeable difference within a few nights. Keep it clean to avoid spraying mold spores into the air. If allergies are a factor, encasing your pillows and mattress in dust-mite-proof covers and washing bedding in hot water weekly reduces your exposure where it matters most.
Avoiding food and drink for two to three hours before bed helps if reflux is the issue. Alcohol and heavy meals relax the valve between your stomach and esophagus, making nighttime reflux worse. Sleeping on your left side also keeps that valve positioned above your stomach contents, reducing the chance of acid creeping upward.
Signs That Need Medical Attention
Most bedtime coughs are caused by manageable conditions, but certain patterns warrant a closer look. Coughing up blood, even small amounts, is not normal and needs evaluation. The same goes for coughing up white or pink foamy material, which can signal fluid in the lungs from heart problems. Significant shortness of breath that worsens when lying flat, called orthopnea, is a hallmark of heart failure, not just a respiratory issue. Unexplained weight loss, night sweats, or a cough that has persisted for more than eight weeks despite home measures all justify a visit to your doctor. A cough that’s been going on for a few weeks after a cold is usually residual inflammation and resolves on its own, but one that never fully clears deserves investigation.

