A GERD cough at night is triggered when stomach acid travels up into your esophagus while you’re lying down, either irritating nerve endings that activate a cough reflex or allowing tiny amounts of stomach contents to reach your airways. The good news: a combination of body positioning, meal timing, and targeted use of over-the-counter remedies can significantly reduce or eliminate it. Here’s what actually works.
Why Lying Down Makes GERD Cough Worse
When you’re upright during the day, gravity keeps stomach acid where it belongs. The moment you lie flat, that advantage disappears. Acid pools near the valve at the top of your stomach, and if that valve is weak or relaxes at the wrong time, acid creeps into your esophagus. Two things happen from there. First, acid touching nerve endings in your lower esophagus can trigger a reflex arc that tells your brain to cough, even if nothing reaches your throat. Second, in some people, small amounts of stomach contents (including digestive enzymes and bile) make it all the way up and get inhaled into the airways, causing direct irritation.
This is why you can have a persistent nighttime cough without classic heartburn. The absence of burning or regurgitation doesn’t rule out acid reflux as the cause. If your cough is dry, worse after meals or when lying down, and doesn’t respond to asthma inhalers or allergy treatments, reflux is a likely culprit.
Elevate the Head of Your Bed
This is the single most effective physical change you can make. Propping your head and torso at an angle uses gravity to keep acid in your stomach even while you sleep. The key detail: stacking pillows under your head doesn’t work well because it bends your neck without changing the angle of your esophagus relative to your stomach. You need to elevate the entire upper body.
Place 10 to 20 cm (roughly 4 to 8 inches) of blocks or risers under the legs at the head of your bed, or use a full-length wedge pillow that extends from your hips to your head. Start with 10 cm for a few weeks, and if that’s not enough, increase to 20 cm. Research supports this height range for reducing esophageal acid exposure overnight, though the evidence is stronger at the higher elevation.
Sleep on Your Left Side
Your sleeping position matters more than most people realize. When you lie on your right side, your esophagus sits below the level of your stomach, essentially creating a downhill path for acid to flow upward. Rolling onto your left side reverses this: the junction between your esophagus and stomach sits above the pool of acid, making reflux less likely and helping acid clear faster when it does occur. A systematic review confirmed that left-side sleeping is associated with measurably improved reflux symptoms. Combining left-side sleeping with head-of-bed elevation gives you the strongest gravity advantage.
Time Your Last Meal Carefully
Eating close to bedtime is one of the most common and fixable causes of nighttime reflux. The standard recommendation is to stop eating at least three hours before you lie down. This gives your stomach time to empty most of its contents, reducing the volume of acid available to reflux. For many people, this single change noticeably reduces nighttime coughing within a few days.
What you eat at dinner matters too. High-fat meals, large portions, and high-calorie meals all slow stomach emptying and relax the valve at the top of your stomach. The same goes for chocolate, mint, carbonated drinks, alcohol, and caffeine. Spicy foods, citrus, tomatoes, onions, and garlic are also common triggers. You don’t necessarily need to eliminate all of these permanently, but cutting them from your evening meal is a good starting experiment.
Over-the-Counter Options That Help at Night
Three categories of OTC medications target nighttime reflux in different ways, and understanding the differences helps you choose the right one.
Alginate-based remedies (like Gaviscon Advance) work differently from standard antacids. When they hit stomach acid, they form a gel-like raft that floats on top of your stomach contents and physically blocks acid from rising into your esophagus. This makes them particularly well-suited for nighttime use: take a dose after your last meal or just before bed, and the raft sits in place for hours. Studies show alginates are over four times more effective than placebo or standard antacids at resolving reflux symptoms, and at least one trial specifically measured improvement in nighttime symptoms.
Acid-reducing medications come in two types. Proton pump inhibitors (PPIs) like omeprazole are the most potent and are taken before meals. They’re effective during the day, but more than 75% of people on twice-daily PPIs still experience “nocturnal acid breakthrough,” periods overnight when stomach acid spikes despite the medication. H2 blockers like famotidine work through a different mechanism and are particularly useful when taken at bedtime. In one study, adding a bedtime H2 blocker to an existing PPI regimen increased the percentage of overnight time with controlled acid levels from about 55% to over 96%. If you’re already on a PPI and still coughing at night, a bedtime H2 blocker is worth discussing with your pharmacist or doctor.
When the Cough Isn’t Just GERD
Nighttime cough has several possible causes, and sometimes more than one is at play. Post-nasal drip from allergies or sinus issues, asthma, and GERD are the three most common culprits for chronic cough, and they frequently overlap.
A few patterns point toward GERD as the primary cause: coughing that worsens after eating, a cough that started in adulthood without a family history of asthma, poor response to inhalers, and the presence of any reflux symptoms like a sour taste or throat clearing. If you have new-onset wheezing or shortness of breath as an adult, especially with heartburn before the breathing symptoms, GERD-triggered airway irritation is a strong possibility.
Obstructive sleep apnea also has a notable connection. Among people diagnosed with GERD, about 12% also have sleep apnea, compared to roughly 5% in the general population. Obesity is the strongest shared risk factor. Sleep apnea can worsen reflux by creating pressure changes in your chest that pull acid upward. If you snore heavily, wake up gasping, or feel unrested despite adequate sleep, treating the sleep apnea may be necessary to get the cough under control.
If Lifestyle Changes Aren’t Enough
Give the combination of bed elevation, left-side sleeping, meal timing, and dietary changes a solid two to three weeks. Many people see meaningful improvement in that window. If your nighttime cough persists despite these measures plus OTC medication, the next step is typically pH monitoring, a test that measures acid levels in your esophagus over 24 to 48 hours to confirm whether reflux is actually causing the cough. This is especially important if you’ve never had classic heartburn symptoms, since the cough could have a different underlying cause entirely.
For people with confirmed GERD-related cough that doesn’t respond to optimized medication, further evaluation may include testing while on medication to see whether non-acid reflux (stomach contents that aren’t acidic but still irritate the esophagus) is responsible. This distinction changes the treatment approach significantly, since acid-suppressing drugs won’t help with non-acid reflux.