Latest research: Reflux and heartburn

Heartburn at night: causes and what helps

Heartburn at night is common because lying down makes it easier for stomach acid to flow back up, and your body clears it more slowly while you sleep. Late or large meals, alcohol, extra weight, pregnancy and a hiatus hernia can all add to it. Simple changes, such as eating earlier, raising the head of your bed and sleeping on your left side, have research behind them and help many people.

By The Gut Report editorial team. Updated . 8 minute read.

The short answer

  • The NHS says heartburn is often worse after eating, when lying down and when bending over.
  • During sleep you swallow and make saliva less, so acid that does come up stays in the food pipe for longer.
  • The NHS advises not eating within 3 or 4 hours of bed. A 2007 trial found more reflux lying down after a meal 2 hours before bed than after one 6 hours before.
  • Raising the head of the bed by about 10 to 20cm helps more than extra pillows, which the NHS says can make symptoms worse.
  • In a 2022 trial, a wearable device that nudged people off their right side halved night-time symptoms in 44% of users, compared with 24% on a sham device.
  • Chest pain that feels tight or squeezing, or spreads to your arm, neck or jaw, could be your heart. Call 999.

Why is heartburn worse at night?

Heartburn is a burning feeling in the middle of your chest. It happens when stomach acid flows back up into your food pipe (oesophagus). The NHS notes that symptoms are often worse after eating, when lying down and when bending over.

There are three main reasons night can be harder:

  • Gravity stops helping. When you stand or sit, gravity helps keep stomach contents down. Lying flat removes that help.
  • Your body clears acid more slowly. A 2010 review explains that reflux actually happens less often during sleep. But swallowing, saliva and the squeezing movements of the food pipe all slow down, so any acid that does come up stays there for longer.
  • The valve relaxes after meals. A ring of muscle at the bottom of the food pipe acts as a valve. A 2026 review describes how it briefly relaxes by itself, often when the stomach is stretched after eating. A late dinner means these relaxations happen close to bedtime.

Night-time reflux and sleep can affect each other. A 2023 study of more than 48,000 women found those with reflux symptoms more than once a week were more likely to develop poor sleep.

What causes heartburn at night?

The NHS lists these common causes and triggers:

  • coffee, tomatoes, alcohol, chocolate, and fatty or spicy foods
  • being overweight
  • smoking
  • pregnancy
  • stress and anxiety
  • hormonal changes
  • some medicines, such as ibuprofen
  • a hiatus hernia, when part of the stomach moves up into the chest (read more in our article on hiatus hernia).

NICE also asks GPs to review medicines that can cause indigestion. These include some blood pressure medicines (calcium channel blockers), nitrates, theophylline, bisphosphonates, steroids and anti-inflammatory painkillers. If you take any of these, keep taking them and ask your pharmacist or GP whether they might play a part.

Triggers vary from person to person. A 2023 review by two reflux specialists found that the evidence for single foods is limited, while large, high-calorie meals have stronger evidence. For a fuller picture of causes, read What's new in reflux research.

If your night-time symptoms are more of a cough, hoarse voice or throat clearing than burning, our article on silent reflux in adults may be useful.

How to stop heartburn at night

These changes come from NHS and NICE advice, the American College of Gastroenterology (ACG) 2022 guideline, and research on night-time reflux.

Leave a gap between your last meal and bed

The NHS advises not eating within 3 or 4 hours of going to bed. The ACG guideline says to avoid meals within 2 to 3 hours of bedtime.

The research supports this, though it is not large:

  • A 2005 Japanese study compared 147 people with reflux disease and 294 people without. Going to bed less than 3 hours after dinner was linked to about seven times the odds of reflux disease, compared with leaving 4 hours or more. This shows a link, not proof of cause.
  • A small 2007 trial gave 30 people with reflux the same meal either 6 hours or 2 hours before bed. After the late meal there was more reflux while lying down, especially in people with a hiatus hernia or extra weight. Symptom scores did not differ over the two nights, though.

Make your evening meal smaller

The NHS suggests eating smaller, more frequent meals. The 2023 specialist review found that large meal volume and high calorie content increase reflux. A lighter dinner may help more than cutting out any one food. Our guide to the best foods for gut health has ideas for meals built around everyday foods.

Should I raise the head of my bed?

Yes, if your symptoms are worse at night. The NHS says raising the head of the bed by around 10 to 20cm, so your chest and head are above your waist, helps relieve symptoms. You can do this with sturdy blocks under the legs at the head end of the bed. Some trials used a foam wedge instead. NICE and the ACG guideline also suggest it.

Don't simply stack up extra pillows. The NHS says this can increase pressure on your belly and make symptoms worse.

A 2021 systematic review found five small trials using bed blocks, a wedge or both. The four that measured symptoms all found an improvement. The authors said the studies had weaknesses, but called it a cheap and safe option.

What is the best sleeping position for acid reflux?

Research favours your left side.

  • A 2022 study tracked the sleep position of 57 people during reflux testing. Lying on the left side was linked to less acid in the food pipe and faster acid clearance than lying on the back or right side.
  • A 2022 randomised trial gave 100 people with night-time reflux a small wearable device. For half, it vibrated whenever they rolled onto their right side; the other half had a dummy version. Night-time symptoms halved in 44% of the first group, compared with 24% of the dummy group.

You don't need a device to try this. Simply starting the night on your left side is a reasonable first step. The 2023 specialist review also lists left-side sleeping among changes that can improve reflux.

Weight, alcohol, smoking and drinks

  • Weight. For people carrying extra weight, losing some is one of the best-supported changes. A Norwegian study of nearly 30,000 adults found that the more weight people lost, the more their reflux symptoms tended to ease.
  • Alcohol. A 2019 meta-analysis of 29 studies linked drinking alcohol to higher odds of reflux disease, with more frequent drinking showing a stronger link. Cutting back, especially in the evening, is worth trying.
  • Smoking. The NHS, NICE and the ACG all advise stopping smoking.
  • Coffee, tea and fizzy drinks. A 2020 study of more than 48,000 women linked drinking more than six servings a day to a higher risk of reflux symptoms, with similar results for decaffeinated drinks. Swapping two servings a day for water was linked to a slightly lower risk.

The NHS also lists managing stress and wearing loose clothing. Our guides to a gut-healthy lifestyle and stress and the gut-brain connection cover these in more detail.

View our top recommended gut support supplements to go alongside the lifestyle changes in this article.

Heartburn at night during pregnancy

Heartburn is very common in pregnancy. The NHS explains it comes from hormone changes and the growing baby pressing on your stomach.

The NHS pregnancy advice suggests:

  • eating smaller meals more often
  • not eating within 3 hours of going to bed
  • sitting upright while you eat and afterwards
  • propping your head and shoulders up in bed
  • sleeping on your left side
  • cutting down on caffeine and on spicy, rich or fatty foods.

Some medicines are suitable in pregnancy, including antacids and alginates. Get them from a pharmacist and tell them you're pregnant. The NHS says not to take antacids within 2 hours of iron or folic acid, as they can affect how well these are absorbed. Speak to your midwife or GP if the changes don't help.

The NHS lists "heartburn that does not go away with heartburn medicines" and pain below the ribs among signs of pre-eclampsia, a blood pressure condition in pregnancy. These need checking straight away, so call your maternity unit, or 111 if you can't reach them.

Heartburn at night in perimenopause

The NHS lists hormonal changes among the causes of heartburn. Beyond that, we found little research on perimenopause and night-time heartburn specifically.

  • A small 2008 survey of about 500 women found upper gut symptoms were common in perimenopausal and menopausal women, and that most had never been diagnosed.
  • Hormone replacement therapy (HRT) has been studied more. A 2023 meta-analysis of five studies linked HRT use to 29% higher odds of reflux disease. The authors said the results should be treated with caution.

If you take HRT, don't stop it because of heartburn. Mention it to your GP, who can look at all the possible causes with you. The tips above apply at any age.

What can I take for heartburn at night?

A pharmacist is a good first stop. The NHS says they may suggest antacids, which neutralise stomach acid, or alginates, which help stop acid coming back up. The NHS says these work best taken with food or soon after eating. They are for short-term relief, not regular long-term use.

If symptoms continue, a GP may suggest a proton pump inhibitor (PPI), such as omeprazole or lansoprazole. NICE recommends a full-dose course for 4 or 8 weeks, then the lowest dose that controls symptoms. Read more in Omeprazole and PPIs and lansoprazole vs omeprazole. If you already take a PPI and want to reduce it, read coming off omeprazole and talk to your GP first.

Is it heartburn or something else?

The NHS says most chest pain is not serious, and heartburn is a common cause. But a heart attack can feel like indigestion, with a burning feeling in the chest.

Call 999 if you have:

  • chest pain that feels tight or like squeezing
  • chest pain that spreads to your arms, neck or jaw
  • chest pain with sweating, feeling sick, light-headedness or shortness of breath
  • sudden chest pain or discomfort that does not go away.

If you're not sure whether it's heartburn, call 999 to be safe. Don't drive yourself to A&E.

When to see a GP about night-time heartburn

The NHS advises seeing a GP if:

  • lifestyle changes and pharmacy medicines are not helping
  • you have heartburn most days
  • food gets stuck when you swallow, you're being sick often, or you're losing weight without trying.

It's also worth booking an appointment if heartburn keeps waking you, as poor sleep matters too. A GP can offer other treatments and check for other causes, and the steps above are a good place to start in the meantime.

This is general information, not medical advice. See a GP if your symptoms are new, severe or getting worse, or if you notice blood in your poo or lose weight without trying. Don’t stop or change a prescribed medicine without speaking to your GP or pharmacist.

Questions people ask

Why do I only get heartburn at night?
Lying flat removes the help of gravity, and during sleep you swallow and make saliva less, so acid clears more slowly. A late or large evening meal makes this more likely. If it happens most nights or keeps waking you, see a GP.
What is the best sleeping position for acid reflux?
Research favours lying on your left side. A 2022 study found less acid in the food pipe and faster clearance on the left side than on the back or right side. Raising the head of the bed can also help.
How long before bed should I stop eating if I get heartburn?
The NHS suggests not eating within 3 or 4 hours of going to bed. The American College of Gastroenterology advises avoiding meals within 2 to 3 hours of bedtime.
Does sleeping on extra pillows help heartburn?
The NHS advises against it, as extra pillows can bend you at the waist and increase pressure on your tummy. Instead, raise the head end of the bed by about 10 to 20cm so your chest and head are above your waist.
What can I take for heartburn at night while pregnant?
The NHS says antacids and alginates are options in pregnancy. Get them from a pharmacist and tell them you're pregnant. Don't take antacids within 2 hours of iron or folic acid, and speak to your midwife if lifestyle changes don't help.
Can perimenopause cause heartburn at night?
The NHS lists hormonal changes among the causes of heartburn, but research on perimenopause and night-time heartburn specifically is limited. If it is new or troublesome, a GP can check for other causes.

Sources

  1. Heartburn and acid reflux. NHS, 2023
  2. Indigestion and heartburn in pregnancy. NHS
  3. Pre-eclampsia. NHS, 2026
  4. Heart attack: symptoms. NHS
  5. Chest pain. NHS
  6. Gastro-oesophageal reflux disease and dyspepsia in adults: investigation and management (CG184). NICE, 2019
  7. ACG Clinical Guideline for the Diagnosis and Management of Gastroesophageal Reflux Disease. American Journal of Gastroenterology (Katz PO et al.), 2022
  8. ACG updates guidelines for GERD diagnosis, management. Healio
  9. Gastroesophageal reflux disease and sleep disorders: evidence for a causal link and therapeutic implications. Journal of Neurogastroenterology and Motility (Jung HK, Choung RS, Talley NJ), 2010
  10. Pathophysiology of gastroesophageal reflux disease. Digestion (Bertin L et al.), 2026
  11. Dietary factors involved in GERD management. Best Practice & Research Clinical Gastroenterology (Fox M, Gyawali CP), 2023
  12. Association between dinner-to-bed time and gastro-esophageal reflux disease. American Journal of Gastroenterology (Fujiwara Y et al.), 2005
  13. Nocturnal reflux episodes following the administration of a standardized meal. Does timing matter?. American Journal of Gastroenterology (Piesman M et al.), 2007
  14. Head of bed elevation to relieve gastroesophageal reflux symptoms: a systematic review. BMC Family Practice (Albarqouni L et al.), 2021
  15. Associations between sleep position and nocturnal gastroesophageal reflux: a study using concurrent monitoring of sleep position and esophageal pH and impedance. American Journal of Gastroenterology (Schuitenmaker JM et al.), 2022
  16. Sleep positional therapy for nocturnal gastroesophageal reflux: a double-blind, randomized, sham-controlled trial. Clinical Gastroenterology and Hepatology (Schuitenmaker JM et al.), 2022
  17. Weight loss and reduction in gastroesophageal reflux. A prospective population-based cohort study: the HUNT study. American Journal of Gastroenterology (Ness-Jensen E et al.), 2013
  18. Alcohol consumption and the risk of gastroesophageal reflux disease: a systematic review and meta-analysis. Alcohol and Alcoholism (Pan J et al.), 2019
  19. Association between beverage intake and incidence of gastroesophageal reflux symptoms. Clinical Gastroenterology and Hepatology (Mehta RS et al.), 2020
  20. Assessment of gastroesophageal reflux symptoms and sleep quality among women in the Nurses' Health Study II. JAMA Network Open (Ha J et al.), 2023
  21. The prevalence and pattern of gastroesophageal reflux symptoms in perimenopausal and menopausal women. Journal of the American Academy of Nurse Practitioners (Infantino M), 2008
  22. The association between menopausal hormone therapy and gastroesophageal reflux disease: a systematic review and meta-analysis. Menopause (Aldhaleei WA et al.), 2023