Why Do I Cough at Night When I Lay Down?

Lying down removes gravity’s help in keeping stomach acid, mucus, and fluid where they belong, which is why a cough that barely bothers you during the day can flare up the moment your head hits the pillow. The most common causes are acid reflux, asthma, allergies, postnasal drip, and sometimes medications or heart problems. Figuring out which one applies to you usually comes down to paying attention to the pattern and accompanying symptoms.

Acid Reflux Is the Most Overlooked Cause

Gastroesophageal reflux disease (GERD) is one of the top three causes of chronic cough, and it gets significantly worse when you lie flat. During the day, gravity keeps stomach contents down. At night, the muscle at the bottom of your esophagus (which is already weaker in people with reflux) allows acid, digestive enzymes, and even bile to creep upward. This material can irritate nerve endings in the esophagus and throat, triggering a cough reflex. In some cases, tiny amounts of stomach contents get inhaled into the airways, a process called microaspiration, which directly irritates lung tissue.

What makes reflux-related cough tricky is that you don’t always feel the classic heartburn or taste acid. Some people only have the cough. Clues that reflux is the culprit include coughing that worsens after meals, a sour taste in your mouth, throat clearing, or a hoarse voice in the morning. The presence of prolonged, high-volume reflux appears to be the main driver of sudden coughing episodes, regardless of how acidic the reflux actually is.

Asthma Gets Worse at Night for Biological Reasons

If your nighttime cough comes with wheezing, chest tightness, or shortness of breath, asthma is a strong possibility. Your airways naturally narrow at night due to your body’s internal clock. Several things shift while you sleep: levels of epinephrine (which normally keeps airways open) drop, your vagus nerve becomes more active (which constricts airways), and inflammatory cells ramp up their activity. For people with asthma, these normal circadian changes push already-sensitive airways past a tipping point.

A variant called cough-variant asthma produces a chronic cough as its primary symptom, often without the classic wheeze. This form is easy to miss because it doesn’t look like “typical” asthma. A breathing test that measures how your airways respond to a challenge substance can confirm or rule it out.

Your Bedroom May Be the Problem

Dust mites thrive in warm, humid environments, and your mattress, pillows, and bedding are their ideal habitat. When you lie down and shift around, you send allergen particles into the air right next to your face. For people with dust mite allergies, this means symptoms like coughing, sneezing, and congestion are predictably worse during sleep. If your cough improves when you sleep somewhere else (a hotel, a friend’s house) or gets worse during certain seasons, allergens in your sleeping environment are worth investigating.

Pet dander, mold, and even the type of laundry detergent on your sheets can play a role. Washing bedding weekly in hot water, using allergen-proof mattress and pillow covers, and keeping bedroom humidity below 50% can make a noticeable difference.

Postnasal Drip Fills Your Throat While You Sleep

During the day, you unconsciously swallow mucus draining from your sinuses. When you lie down, that mucus pools in the back of your throat instead, triggering a cough. Postnasal drip is commonly tied to allergies, sinus infections, or chronic sinusitis. The cough tends to feel “wet” or productive, and you may notice throat clearing, a tickle in the back of your throat, or nasal congestion alongside it.

One useful distinction: postnasal drip cough is typically more active during the daytime and rare after falling asleep, according to clinical guidelines. If your cough mostly hits in the transition period while you’re lying in bed but awake, and fades once you’re actually asleep, postnasal drip is a likely suspect.

Blood Pressure Medications Can Cause a Persistent Cough

ACE inhibitors, a common class of blood pressure medication, cause a dry, tickling cough in roughly 4% to 35% of people who take them. This cough is not dose-dependent. It’s an individual sensitivity reaction, meaning it either happens to you or it doesn’t, regardless of how much you take. The cough can start within hours of your first dose or appear weeks to months later, which makes it easy to overlook as a side effect.

If you started a new blood pressure medication and developed a persistent dry cough, especially one that feels like a scratching or tickling sensation in your throat, the medication is worth discussing with your prescriber. The cough typically fades within one to four weeks of switching to a different drug, though it can occasionally linger for up to three months.

Heart Failure Is Rare but Important to Recognize

A weakened heart that can’t pump efficiently allows fluid to back up into the lungs. Lying down makes this worse because blood redistributes from your legs into your chest. The result is a cough, sometimes with shortness of breath, that specifically starts or worsens when you recline and improves when you sit up or prop yourself on pillows. This pattern is called orthopnea, and it’s a hallmark of congestive heart failure.

A cough that produces pink or frothy sputum is highly suggestive of heart failure. Other warning signs include swollen ankles, sudden weight gain from fluid retention, and waking up gasping for air in the middle of the night (a related symptom called paroxysmal nocturnal dyspnea). If a new nighttime cough lasts more than a few weeks, especially with any of these features, it warrants prompt evaluation to rule out a cardiac cause. About 20% of patients eventually diagnosed with heart failure initially presented with breathing problems attributed to asthma or other lung conditions.

How to Reduce Nighttime Coughing

Elevating the head of your bed is one of the simplest and most effective changes you can make, regardless of the underlying cause. A 30 to 45 degree angle is the range recommended by multiple medical organizations, including the CDC and the American Thoracic Society, for reducing aspiration and keeping stomach contents and mucus from pooling where they shouldn’t. This means more than just stacking pillows, which can bend your neck without truly elevating your torso. A foam wedge pillow or bed risers under the headboard legs work better.

Beyond elevation, matching your approach to the likely cause makes a big difference:

  • For reflux: Avoid eating within two to three hours of bedtime. Reducing alcohol, caffeine, and fatty or spicy foods in the evening can help. Sleeping on your left side keeps the junction between your stomach and esophagus positioned above stomach acid.
  • For allergies: Encase pillows and mattresses in dust-mite-proof covers. Wash bedding weekly in hot water. Consider removing carpet from the bedroom and keeping pets out of the sleeping area.
  • For postnasal drip: A saline nasal rinse before bed can clear mucus buildup. Running a humidifier (if air is dry) or a dehumidifier (if mold is a concern) helps keep nasal passages from overproducing mucus.
  • For asthma: If you’re already on an inhaler and still coughing at night, your asthma may not be well controlled. Nighttime symptoms are one of the key markers clinicians use to assess whether your current treatment plan needs adjustment.

Narrowing Down Your Cause

Because multiple conditions share the “worse when lying down” pattern, paying attention to the details of your cough is the fastest way to narrow things down. A dry, tickling cough points toward reflux, ACE inhibitors, or cough-variant asthma. A wet, productive cough suggests postnasal drip or a respiratory infection. Coughing that starts right when you get into bed points toward allergens or reflux, while coughing that wakes you from sleep in the early morning hours is more typical of asthma.

If your cough has persisted for more than three weeks and isn’t responding to basic measures like elevation and allergen reduction, the diagnostic process typically involves checking for the big three causes (asthma, reflux, postnasal drip) and ruling them out one by one. Sometimes the answer only becomes clear after a trial treatment for one condition either works or doesn’t, which then points the investigation in a new direction.