How to Sleep With Heartburn

Learn how to sleep with heartburn using the best sleep positions, dietary changes, and nighttime strategies. Find out which side to sleep on for heartburn relief.

March 24, 2026
Author
Superpower Science Team
Reviewed by
Julija Rabcuka
PhD Candidate at Oxford University
Creative
Jarvis Wang

Key Takeaways

  • Sleeping on your left side keeps your stomach below your esophagus, making it harder for acid to travel upward and reducing reflux episodes significantly.
  • Elevating your head and upper body by 6 to 8 inches (using a wedge pillow or bed risers, not extra pillows) reduces nighttime acid exposure by up to 67%.
  • Eating your last meal at least three hours before bed gives your stomach time to empty and reduces the volume of acid available to reflux.
  • Tight clothing, alcohol, and lying flat immediately after eating are among the most common triggers for nighttime heartburn.
  • Chronic nighttime heartburn (more than twice a week) warrants a conversation with your doctor to rule out GERD or esophageal damage.

Why Heartburn Gets Worse at Night

Gravity stops working in your favor

During the day, gravity helps keep stomach contents in your stomach. When you lie down, that natural barrier disappears. Acid can flow freely toward your lower esophageal sphincter (LES), the muscular valve between your stomach and esophagus. If that valve is weakened or relaxed, acid passes through easily.

Swallowing slows down during sleep

You swallow less frequently while sleeping, and each swallow normally pushes refluxed acid back down into the stomach. With fewer swallows, acid sits in your esophagus longer. A study in the American Journal of Gastroenterology found that acid clearance time during sleep can be 10 to 15 times longer than during waking hours.

Saliva production also drops at night. Saliva is naturally alkaline and helps neutralize acid. Less saliva means less buffering. The combination of reduced swallowing, lower saliva output, and horizontal positioning makes nighttime the perfect storm for heartburn.

Which Side To Sleep On for Heartburn

Left side is the clear winner

If there's one change that makes the biggest difference, it's this: sleep on your left side. Your stomach is positioned slightly to the left of your esophagus. When you lie on your left, the junction between stomach and esophagus sits above the level of stomach acid, creating a natural barrier against reflux.

A study published in the Journal of Clinical Gastroenterology demonstrated that left-side sleeping significantly reduced acid reflux episodes compared to right-side or supine (face-up) sleeping. The effect was consistent across participants, regardless of the severity of their reflux.

Why right-side sleeping makes heartburn worse

When you sleep on your right side, your stomach sits above the esophageal junction. Acid pools near the LES and passes through more easily. The same study showed that right-side sleeping increased both the number of reflux events and the total time acid spent in contact with the esophagus.

If you're a habitual right-side sleeper, this switch may feel uncomfortable at first. Try placing a body pillow behind your back to prevent rolling over during the night. Within a week or two, most people adapt to the new position.

How To Elevate Your Upper Body for Heartburn Relief

Why elevation works

Raising your head and torso by 6 to 8 inches uses gravity to keep acid in your stomach. A clinical study found that head-of-bed elevation reduced esophageal acid exposure by up to 67% and decreased reflux episodes significantly compared to sleeping flat.

The right way to elevate

Stacking extra pillows under your head doesn't work well. It creates a bend at your neck rather than elevating your entire upper body, which can worsen reflux and cause neck pain. Instead, use one of these approaches:

  • A foam wedge pillow (6 to 8 inches at the high end) that supports from your waist up
  • Bed risers or blocks under the head-end legs of your bed frame
  • An adjustable bed base that lets you raise the head section

The goal is a gradual incline from your waist to your head. This keeps acid in your stomach without the discomfort of an awkward neck angle. Combine left-side sleeping with elevation for the most effective position against nighttime heartburn.

Foods and Drinks To Avoid Before Bed

Common dietary triggers

What you eat in the evening directly affects how your night goes. Certain foods relax the LES or increase acid production, making reflux more likely:

  • Spicy foods (capsaicin irritates the esophageal lining)
  • Citrus fruits and tomatoes (high acid content)
  • Chocolate (contains methylxanthine, which relaxes the LES)
  • Peppermint (also relaxes the LES, despite its reputation as a digestive aid)
  • Fried or high-fat foods (slow stomach emptying)
  • Alcohol (relaxes the LES and increases acid production)
  • Carbonated beverages (increase stomach pressure)

What you can eat instead

If you want a bedtime snack that won't trigger heartburn, reach for low-acid, easy-to-digest options. A small handful of pistachios, a banana, or a cup of non-citrus herbal tea are all safer choices. Timing matters too: finish eating at least three hours before bed to give your stomach adequate time to empty.

Evening Habits That Reduce Nighttime Heartburn

Time your last meal carefully

Your stomach takes about two to four hours to empty after a typical meal. Eating dinner earlier in the evening gives your stomach time to process food before you lie down. If you eat at 6 p.m. and go to bed at 10 p.m., you've given your digestive system a solid head start.

Wear loose clothing to bed

Tight waistbands, shapewear, and snug pajamas increase pressure on your abdomen. That pressure pushes stomach contents upward. Switching to loose-fitting sleepwear can make a noticeable difference, especially if you tend to sleep in fitted clothing.

Take a gentle walk after dinner

A 15 to 20 minute walk after your evening meal promotes gastric emptying without the intensity that might worsen reflux. Avoid vigorous exercise within two hours of bedtime, as intense activity can increase abdominal pressure and relax the LES.

Manage stress before bed

Stress increases stomach acid production and can worsen reflux symptoms. A brief wind-down routine that includes deep breathing, light stretching, or reading can help lower stress hormones before sleep. If anxiety is disrupting your sleep, addressing it directly often reduces heartburn as a secondary benefit.

When Heartburn Signals Something More Serious

Heartburn versus GERD

Occasional heartburn after a spicy meal is normal. But if you experience heartburn two or more times a week, you may have gastroesophageal reflux disease (GERD). GERD is a chronic condition that requires medical management and can lead to complications if untreated.

Warning signs to watch for

Contact your doctor if you notice any of these alongside your heartburn:

  • Difficulty swallowing or a feeling that food is stuck in your throat
  • Unintentional weight loss
  • Persistent hoarseness or chronic cough
  • Vomiting blood or dark stools
  • Chest pain (always rule out cardiac causes first)

Chronic acid exposure can damage the esophageal lining, leading to a condition called Barrett's esophagus, which increases the risk of esophageal cancer. Early detection and management matter. Don't ignore heartburn that keeps coming back.

Over-the-Counter Options for Nighttime Relief

Antacids for quick relief

Antacids (like calcium carbonate or magnesium hydroxide) neutralize existing stomach acid and typically provide relief within minutes. They're useful for occasional nighttime heartburn but wear off within one to two hours. They don't prevent acid production, so they're a temporary fix.

H2 blockers for longer protection

H2 receptor antagonists (like famotidine) reduce acid production and can provide relief for up to 12 hours. Taking one 30 minutes before dinner can reduce the amount of acid your stomach produces during the night. These are available over the counter and are generally well tolerated.

When to consider prescription options

If over-the-counter options aren't controlling your symptoms, your doctor may recommend proton pump inhibitors (PPIs) or further testing. PPIs are more potent acid suppressors, but they come with considerations for long-term use. Work with your healthcare provider to find the right approach for your situation. Poor sleep from chronic heartburn affects your overall health, so finding an effective solution is important.

Take the Next Step With Superpower

Chronic heartburn doesn't just ruin your sleep. It can signal underlying metabolic or inflammatory patterns worth investigating. Are your inflammatory markers elevated? Is your digestive health affecting your overall wellbeing?

Superpower's at-home blood panel measures over 100 biomarkers, including inflammatory markers like hs-CRP that can shed light on chronic conditions. Members receive personalized protocols based on their results, helping you move from symptom management to root-cause understanding.

Start your Superpower membership today and take control of your health from the inside out.

Latest