One question, one page, one clear answer
Health
Updated 3 July 2026

Why Do I Get Heartburn at Night When Lying Down?

Heartburn that worsens when you lie down is a classic pattern with a clear physical explanation. Here's what's happening and how to relieve it.

General information, not medical advice — see terms of use.

Heartburn that gets worse at night when you lie down is extremely common, and it happens because gravity is no longer helping keep stomach acid where it belongs.

What's happening: - Heartburn is caused by stomach acid flowing back up into your esophagus (acid reflux). - When you're upright during the day, gravity helps keep acid down in your stomach. - When you lie down, that gravity advantage disappears, making it easier for acid to flow back up into your esophagus — causing the burning sensation, especially when lying flat. - A weak or relaxed lower esophageal sphincter (the valve between the stomach and esophagus) makes this worse.

Why nighttime reflux matters: - Lying down lets acid stay in the esophagus longer, which can be more irritating than daytime reflux. - It can disrupt sleep and, over time, frequent acid exposure can damage the esophagus.

Common triggers that worsen nighttime heartburn: - Eating a large meal close to bedtime - Trigger foods: spicy, fatty, fried, acidic (tomato, citrus), chocolate, mint, caffeine, alcohol, carbonated drinks - Lying down too soon after eating - Being overweight (extra abdominal pressure) - Smoking - Certain medications

How to relieve and prevent nighttime heartburn:

1. Don't eat close to bedtime: Finish eating at least 3 hours before lying down, so your stomach can empty.

2. Elevate the head of your bed: Raise the head of the bed 6–8 inches (using blocks or a wedge pillow). This uses gravity to keep acid down. Note: piling up regular pillows usually isn't enough and can bend you in a way that increases pressure.

3. Sleep on your left side: Studies suggest left-side sleeping reduces reflux, while right-side sleeping can worsen it.

4. Avoid trigger foods, especially in the evening.

5. Lose excess weight if applicable.

6. Avoid alcohol and smoking, particularly before bed.

7. Wear loose clothing to avoid abdominal pressure.

8. Over-the-counter remedies: Antacids for occasional relief; H2 blockers or proton pump inhibitors (PPIs) for more frequent issues (consult a pharmacist or doctor for ongoing use).

When to see a doctor: - Heartburn occurs more than twice a week (may indicate GERD) - It doesn't improve with lifestyle changes and OTC remedies - You have difficulty swallowing, persistent pain, unexplained weight loss, or vomiting - Symptoms disrupt your sleep regularly

Note: Severe chest pain can sometimes be mistaken for heartburn but be heart-related. If chest pain is intense, spreads to the arm or jaw, or comes with shortness of breath or sweating, seek emergency care.

The takeaway: Nighttime heartburn worsens when lying down because you lose gravity's help keeping acid down. Relief comes from not eating close to bedtime, elevating the head of your bed, sleeping on your left side, and avoiding trigger foods. Frequent heartburn (more than twice a week) warrants a doctor's visit to evaluate for GERD.

Follow-up questions

Why is my heartburn worse when I lie down?

When you're upright, gravity helps keep stomach acid down. Lying down removes that advantage, making it easier for acid to flow back up into your esophagus and cause burning — especially when flat. A relaxed lower esophageal sphincter and eating close to bedtime make nighttime reflux worse.

How do I stop heartburn at night?

Finish eating at least 3 hours before bed, elevate the head of your bed 6–8 inches with blocks or a wedge pillow, sleep on your left side, and avoid trigger foods (spicy, fatty, acidic, caffeine, alcohol) in the evening. Losing excess weight and avoiding smoking also help. Antacids or other OTC remedies can relieve occasional symptoms.

When should I see a doctor about heartburn?

See a doctor if heartburn occurs more than twice a week (a possible sign of GERD), doesn't improve with lifestyle changes and over-the-counter remedies, or comes with difficulty swallowing, persistent pain, unexplained weight loss, or vomiting. Also note that severe chest pain with arm/jaw pain, shortness of breath, or sweating could be heart-related and needs emergency care.

More health answers

This page is general information, not medical advice, and it may not reflect the latest rules where you live. For your own situation, talk to a qualified clinician. Spotted an error? Email per@upperia.se and we will fix it.