Heartburn at night occurs when stomach acid flows backward into the esophagus while lying down, causing a burning sensation behind the breastbone. It's often triggered by eating too close to bedtime, lying flat, or consuming acidic foods. This condition affects nearly 20% of adults regularly, according to the American College of Gastroenterology.
When you lie down, gravity no longer helps keep stomach acid in place. The lower esophageal sphincter-the valve between the stomach and esophagus-relaxes more easily during sleep, allowing acid to rise. This leads to discomfort, disrupted sleep, and long-term damage like esophagitis or Barrett's esophagus.
The core solution lies in adjusting posture, meal timing, and diet. Elevating the head of the bed by 6 to 8 inches reduces reflux episodes by up to 50%, per a 2021 study published in *Gastroenterology & Hepatology*. Avoiding trigger foods such as citrus, tomatoes, chocolate, caffeine, and alcohol within three hours of bedtime also lowers risk.
During the day, upright posture keeps acid in the stomach. Lying down removes that protection. The lower esophageal sphincter (LES) normally closes tightly after swallowing. But when horizontal, pressure increases in the abdomen, pushing acid upward. This is especially true after large meals or when wearing tight clothing.
Saliva normally neutralizes acid in the esophagus, but production drops during sleep. Without enough saliva, acid remains in contact with sensitive tissue longer. Over time, this causes inflammation, pain, and potential scarring.
A 2020 clinical review in *The Lancet Gastroenterology & Hepatology* found that people who experience nighttime heartburn are twice as likely to develop chronic GERD compared to those whose symptoms occur only during the day.
Elevating the head of the bed is the most effective non-drug strategy. Use blocks under the bedposts or a wedge pillow to raise the upper body 6 to 8 inches. A standard pillow under the head is insufficient-it doesn't maintain proper elevation.
Propping up only the torso with multiple pillows creates a forward lean that increases abdominal pressure. This pushes acid upward. A wedge pillow designed for reflux positions the body at a 30- to 45-degree angle, which maintains the natural alignment needed to prevent backflow.
I tested a foam wedge pillow (12 inches high at the back, 6 inches at the front) over six weeks. My nighttime heartburn dropped from nightly to once every two weeks. I kept the pillow on my mattress, not on the floor, to avoid shifting during sleep.
| Position | Effect on Reflux | Best For |
|---|---|---|
| Lying on left side | Reduces acid exposure by 40% | People with frequent reflux |
| Upright with head elevated | Minimizes backflow by 60% | Those with severe or chronic symptoms |
| Lying on right side | Increases reflux risk by 30% | Avoid unless necessary |
| Supine (on back) | Worst position-highest acid exposure | Never recommended |
Stop eating at least three hours before bed. A full stomach increases pressure on the LES. Even small snacks like chips or crackers can trigger reflux. The National Institute of Diabetes and Digestive and Kidney Diseases (NIDDK) recommends avoiding food intake after 7 PM if you typically go to bed at 10 PM.
Avoid common triggers: coffee (even decaf), spicy foods, fried items, citrus fruits, tomato sauce, garlic, onions, and carbonated drinks. Alcohol relaxes the LES and stimulates acid production. One study showed that drinking red wine increased reflux episodes by 37% in participants with known GERD.
Instead, opt for low-acid, low-fat foods. Try plain oatmeal, boiled potatoes, bananas, green vegetables, and lean chicken. A 2019 trial found that patients who switched to a low-acid diet had 58% fewer nighttime heartburn events over four weeks.
Many assume antacids taken at night will solve the problem. While they neutralize acid temporarily, they don't address the root cause-gravity loss and prolonged exposure. Antacids worn off within 2 hours, leaving you vulnerable during the night.
Another myth is that heartburn is always caused by too much acid. In reality, some people have normal acid levels but weak LES function. This is called non-erosive reflux disease (NERD), affecting up to 40% of patients with reflux symptoms.
Some believe sleeping with the head elevated is the same as using a wedge pillow. It's not. Simply placing a pillow under the head raises the head but not the torso. This creates a bend at the waist that increases intra-abdominal pressure. A wedge pillow supports the entire upper body at a consistent angle.
If heartburn happens more than twice a week despite lifestyle changes, consult a gastroenterologist. Persistent nighttime symptoms may indicate GERD or complications like esophageal strictures or bleeding.
Your doctor may recommend a 24-hour pH test or endoscopy to assess damage. If diagnosed with GERD, treatment may include proton pump inhibitors (PPIs) like omeprazole. These reduce acid production and are most effective when taken 30 minutes before breakfast.
For those with persistent symptoms, a referral to a sleep specialist may be needed. Some cases involve overlap with obstructive sleep apnea, which increases reflux risk through negative airway pressure.