Nighttime acid reflux is harder to manage than daytime episodes because your body loses two key defenses when you lie down: gravity stops helping keep stomach contents in place, and your natural swallowing and saliva production drop dramatically during sleep. The result is that acid sits in the esophagus longer, causing more damage and worse symptoms than the same amount of reflux during the day. The good news is that a combination of timing, positioning, and the right treatments can make a significant difference.
Why Reflux Gets Worse at Night
During the day, gravity pulls stomach acid downward, and every time you swallow, a small wave of muscle contraction clears acid out of the esophagus. At night, both of those mechanisms essentially shut off. When you’re lying flat, your esophagus and stomach are at the same level, so acid can flow freely in either direction. And because you swallow far less often during sleep, any acid that does reach the esophagus stays there much longer.
In healthy people, nighttime reflux is actually rare. The valve at the top of your stomach (the lower esophageal sphincter) only relaxes briefly during moments of wakefulness or light arousal. But in people with reflux disease, that valve is often weak or sluggish, allowing acid to escape consistently throughout the night rather than just during the transition to sleep. That prolonged acid exposure is what causes the burning, the disrupted sleep, and over time, inflammation or damage to the esophageal lining.
Stop Eating 2 to 3 Hours Before Bed
This is the single most impactful lifestyle change for nighttime reflux. The American College of Gastroenterology recommends avoiding meals within two to three hours of bedtime. Eating close to lying down means your stomach is still actively producing acid and processing food right when you lose gravity’s help. A short gap between your last meal and sleep is consistently linked to worse symptoms and greater need for medication.
This applies to snacks and drinks too, not just full meals. If you tend to graze in the evening, try shifting your eating window earlier. A light, low-fat dinner eaten three hours before bed will produce far less overnight acid than a heavy meal eaten one hour before.
Sleep on Your Left Side
Sleep position matters more than most people realize. A systematic review and meta-analysis found that sleeping on your left side significantly improves reflux symptoms compared to sleeping on your right. The reason is anatomical: when you lie on your right side, your esophagus sits below the junction where it meets the stomach, essentially creating a downhill path for acid. On your left side, that junction sits above the stomach contents, making it harder for acid to travel upward.
If you’re a back or right-side sleeper, this can take some adjustment. Some people use a body pillow behind their back to keep from rolling over during the night. Even partial compliance helps. If you wake up with symptoms, shifting to your left side can reduce the burn faster than staying on your back.
Elevate the Head of Your Bed
Propping your head and upper body at an angle restores some of the gravitational advantage you lose when lying flat. Most wedge pillows designed for reflux sit at a 30- to 45-degree angle and raise the head between six and twelve inches, according to Cleveland Clinic guidance.
The key detail here is that you need to elevate your entire upper body, not just your head. Stacking regular pillows under your neck can actually make things worse by bending you at the waist and increasing pressure on your stomach. A foam wedge pillow that supports you from the lower back up is more effective. Alternatively, you can place risers or blocks under the legs at the head of your bed frame to create a gentle incline across the whole mattress.
Watch What You Drink in the Evening
Certain beverages directly weaken the valve that keeps acid in your stomach. Carbonated drinks are particularly problematic: research on healthy subjects found that a single carbonated beverage cut valve pressure roughly in half (from about 40 mmHg to 18.5 mmHg) and increased the frequency of valve relaxations tenfold compared to baseline. That effect doesn’t require a soda habit. One sparkling water before bed can do it.
Alcohol relaxes the same valve and also slows stomach emptying, a combination that makes nighttime reflux almost inevitable for many people. Coffee and peppermint tea have similar valve-relaxing effects. If you’re looking for something to drink in the evening, plain water in small amounts or non-citrus herbal teas (like chamomile or ginger) are safer choices.
Over-the-Counter Medications That Help at Night
Two main types of acid-reducing medication work differently, and understanding the distinction helps you use them more effectively for nighttime symptoms.
Proton pump inhibitors (PPIs, like omeprazole and lansoprazole) are the strongest acid suppressors, but they’re designed to be taken before meals, not at bedtime. They work by blocking acid production at its source, and they need an active, food-stimulated stomach to be most effective. Even when taken twice daily before meals, more than 75% of patients still experience a period of acid breakthrough overnight.
H2 blockers (like famotidine) work through a different pathway and are better suited for bedtime use. In patients already on a twice-daily PPI, adding an H2 blocker at bedtime increased the percentage of overnight time with controlled stomach acid from 51% to 96%. It also cut the duration of acid exposure in the esophagus during breakthrough episodes from 42 minutes down to 18 minutes. If you’re already taking a PPI and still waking up with symptoms, a bedtime H2 blocker is worth discussing with your doctor.
Alginate-based products (like Gaviscon Advance) work completely differently from both of those. When they contact stomach acid, they form a gel-like raft that floats on top of your stomach contents and physically blocks acid from reaching the esophagus. This barrier effect is especially useful right after dinner, since it targets the pool of acid that sits at the top of the stomach after a meal. The effect is temporary, but it can bridge the gap between your last meal and the point where your stomach empties enough to reduce reflux risk.
Breathing Exercises That Strengthen the Valve
Your diaphragm wraps around the lower esophageal sphincter and acts as an external support system for that valve. Diaphragmatic breathing training, where you practice slow, deep belly breaths that engage the diaphragm, has been shown to physically strengthen this support. In a study of 53 patients with reflux symptoms, three months of regular diaphragmatic breathing increased resting valve pressure from 25.6 to 29.1 mmHg and also improved the strength of the muscle contractions that push food down the esophagus.
The practice itself is simple: lie on your back or sit comfortably, place one hand on your chest and one on your belly, and breathe slowly so that only your belly hand rises. Five to ten minutes before bed doubles as both a reflux intervention and a relaxation technique. It won’t replace medication for severe reflux, but as an add-on strategy it has real physiological effects on the structures that prevent acid from escaping.
Melatonin’s Unexpected Role
Melatonin is best known as a sleep hormone, but it’s also produced in large quantities by cells lining the stomach and intestinal tract. In the gut, melatonin reduces acid secretion, stimulates the release of gastrin (a hormone that tightens the lower esophageal sphincter), and promotes protective mucus in the esophageal lining. Unlike sedative sleep aids, which can suppress the arousal responses that help you clear acid during sleep, melatonin supports sleep without impairing those protective reflexes. Research into specific dosing for reflux is still being formalized, but the dual benefit for both sleep quality and reflux mechanics makes it an interesting option for nighttime sufferers.
Signs That Nighttime Reflux Needs Medical Attention
Occasional heartburn at night is common and manageable with the strategies above. But nocturnal reflux is associated with the more severe end of the reflux spectrum, including esophageal inflammation, narrowing of the esophagus, and a precancerous condition called Barrett’s esophagus. If you’re waking up choking or coughing, experiencing a chronic nighttime cough, having difficulty swallowing, or noticing that symptoms persist despite consistent lifestyle changes and over-the-counter treatment, those are signals that the situation has moved beyond what self-management can handle. Persistent nighttime reflux that doesn’t respond to the measures outlined here typically warrants a gastroenterology evaluation, which may include monitoring acid levels over 24 to 48 hours to understand exactly what’s happening while you sleep.

