When you lie down, gravity stops helping your body clear mucus from your airways. Fluid shifts from your legs toward your chest, nasal drainage runs down the back of your throat instead of out your nose, and your cough reflex fires. For most people this is a temporary nuisance tied to a cold or allergies. For others it points to asthma, acid reflux, or heart failure, and the pattern of the cough helps tell them apart.
The cough usually has a name: nocturnal cough. It is common, it is often harmless, and it is occasionally the first sign of something that needs medical attention. Understanding which is which starts with knowing what changes in your body when you go horizontal.
Why Do I Cough At Night When I Lay Down?
Lying flat changes three things at once: where fluid collects, how mucus drains, and how hard your body has to work to breathe.
When you stand or sit, gravity pulls mucus and fluid down and out. When you lie down, that drainage pools in the back of your throat and triggers the cough reflex. At the same time, blood that was pooling in your legs returns to your chest, which can increase pressure in the lungs.
The cough reflex itself is a protective mechanism. Nerve endings in your airway sense irritation and send a signal to your brainstem, which produces the cough. It is designed to keep your lungs clear. At night, it is doing its job against a new set of triggers.
There is a detail many people miss: your cough is often worse in the first hour or two after lying down, then again in the early morning. That timing is not random. It tracks with postural drainage and with the natural overnight dip in cortisol, a hormone that suppresses inflammation during the day.
What Causes a Cough Only When Lying Down?
Several conditions produce a cough that is worse lying down than upright. The pattern and accompanying symptoms usually point to the cause.
- Postnasal drip. Mucus from the nose and sinuses runs down the back of the throat when you lie flat. This is one of the most common causes of nighttime cough, especially after a cold or with allergies.
- Acid reflux. Stomach acid can move up into the esophagus and throat when you lie down, irritating the airway and triggering cough. Reflux-related cough often comes with heartburn or a sour taste, but not always.
- Asthma. Airway inflammation and narrowing tend to worsen at night. A cough that wakes you, along with wheezing or chest tightness, is a classic pattern.
- Heart failure. Fluid can build up in the lungs when you lie flat, causing shortness of breath and cough. This is a serious cause and needs medical evaluation.
- Medications. Some blood pressure drugs, notably ACE inhibitors, cause a persistent dry cough. It is not specific to lying down but can feel worse at night.
Most of these are manageable. One is not something to wait on. If your cough comes with breathlessness when lying flat, swelling in the legs, or waking up gasping, seek medical care promptly.
How Does Postnasal Drip Cause a Night Cough?
Postnasal drip is mucus that runs from the back of the nose down the throat. When you are upright, it drains quietly and you swallow it without noticing. When you lie down, it pools against the back of your throat and irritates the cough receptors there.
The result is a cough that starts soon after you get into bed, often dry or tickly at first, then productive as mucus loosens. It tends to ease when you sit up or stand.
Common triggers include colds, allergies, sinus infections, and dry indoor air. Humidifiers and saline nasal sprays are widely used to thin mucus, though evidence for humidifiers specifically is limited. Some clinicians recommend elevating the head of the bed, which uses gravity to keep drainage moving downward.
Can Acid Reflux Cause a Cough When Lying Down?
Yes. Acid reflux is a well-documented cause of chronic cough, and lying down makes it worse because gravity no longer keeps stomach contents below the esophagus.
Reflux-related cough can occur without heartburn. This is called silent reflux, and it is easy to miss because the usual digestive symptoms are absent. The cough is often dry, worse at night, and worse after eating late or lying down soon after a meal.
Practical measures that clinicians commonly recommend include not eating within a few hours of bedtime, elevating the head of the bed, and avoiding large meals late in the day. These are lifestyle measures, not cures, and they work best alongside evaluation if symptoms persist.
When Is a Nighttime Cough a Sign of Something Serious?
Most nighttime coughs are not dangerous. A few patterns deserve prompt medical attention.
Seek care if you have shortness of breath when lying flat that improves when you sit up, swelling in your legs or ankles, coughing up pink or bloody mucus, chest pain, or waking up gasping for air. These can be signs of heart failure or another serious condition and should not be managed at home.
Also see a doctor if the cough has lasted more than eight weeks, if it is accompanied by unexplained weight loss, fever, or night sweats, or if you cough up blood. These are standard red flags in respiratory medicine and warrant evaluation regardless of timing.
For most people, a cough that appears only at night and settles within a few weeks is not a red flag. It is worth tracking the pattern, though, because the timing is often what helps a clinician narrow down the cause.
What Helps a Night Cough?
The most effective approach depends on the cause, which is why identifying the trigger matters more than reaching for a cough syrup.
For postnasal drip, elevating the head of the bed and using saline nasal spray are common first steps. For reflux, avoiding late meals and elevating the head of the bed may help. For asthma, a clinician may prescribe inhaled medication; over-the-counter cough suppressants do not treat the underlying airway inflammation.
General measures that are widely recommended and low-risk include drinking water to stay hydrated, keeping bedroom air from becoming too dry, and avoiding known irritants such as smoke. Honey has some evidence for soothing cough in adults, though it is not appropriate for infants under one year due to the risk of botulism.
What does not have strong evidence: most over-the-counter cough syrups for nighttime cough. Many contain antihistamines or dextromethorphan, and the evidence for benefit is modest at best. They are not a substitute for finding the cause.
Does Sleeping Position Matter?
Yes, and it is one of the simplest things to adjust. Sleeping with your head and upper body elevated uses gravity to reduce postnasal drip pooling and reflux.
Side sleeping can also help, particularly for reflux, though the evidence for a specific side is not strong. What matters more is avoiding lying completely flat if you have either condition.
A wedge pillow or raising the head of the bed by a few inches is the usual approach. Stacking regular pillows tends to shift during the night and is less reliable. If you have heart failure, discuss sleeping position with your doctor, since orthopnea, the need to sit up to breathe, is a symptom that needs evaluation.
What Should You Do Next?
Start by noticing the pattern. Does the cough begin within minutes of lying down, or hours later? Is it dry or productive? Does it come with heartburn, congestion, wheezing, or breathlessness? That information is what a clinician uses to narrow the cause.
If the cough is mild, recent, and tied to a cold or allergies, watchful waiting is reasonable. If it persists beyond a few weeks, worsens, or comes with any of the red flags above, get it checked. Nighttime cough is common and usually treatable once the cause is identified.
Frequently Asked Questions
Why do I cough at night when I lay down but not during the day?
Lying flat lets mucus and stomach contents pool in the throat and airway, which triggers the cough reflex. Gravity no longer helps clear them, so the cough appears only when you are horizontal.
Is a nighttime cough a sign of heart failure?
It can be, especially if it comes with shortness of breath when lying flat, leg swelling, or waking up gasping. Most nighttime coughs are not heart failure, but those symptoms warrant prompt medical evaluation.
Does acid reflux cause a cough at night?
Yes. Reflux is a well-documented cause of chronic cough, and lying down makes it worse because gravity no longer keeps stomach contents below the esophagus. It can occur without heartburn.
When should I see a doctor for a cough that only happens at night?
See a doctor if the cough lasts more than eight weeks, comes with breathlessness when lying flat, leg swelling, chest pain, fever, weight loss, or blood in the mucus. Any of these warrants evaluation.

