All articles

Acid Reflux and Sleep: Why Heartburn Wakes You at Night (and What Helps)

Acid reflux at night disrupts sleep more than daytime reflux. Here is why lying flat makes heartburn worse, and the positional and timing changes research supports.

Acid reflux disrupts sleep because lying flat removes the two defenses your body relies on during the day: gravity, which normally keeps stomach contents down, and swallowing, which clears acid from the esophagus within seconds. Asleep and horizontal, you have neither. Acid that would have been cleared in under a minute while you were upright can sit against the esophageal lining for several minutes instead — long enough to cause a burn, a cough, a sour taste, or a full awakening you may not consciously connect to your stomach at all.

That last part is why nighttime reflux is so often missed. Plenty of people who wake repeatedly, feel unrefreshed in the morning, and assume they are simply “bad sleepers” are having reflux events that never quite cross into conscious heartburn. The research on this is clearer than the everyday advice suggests, and most of what actually helps is free.

Why does acid reflux get worse when you lie down?

Three things change the moment you go horizontal.

Gravity stops helping. Upright, gravity keeps the stomach’s contents where they belong and helps return anything that escapes. Flat, a small volume of acid can travel the length of the esophagus with nothing to stop it.

Swallowing nearly stops. Awake, you swallow reflexively hundreds of times an hour, and each swallow sends a wave of saliva down to neutralize and clear acid. During deep sleep, swallowing frequency drops dramatically. Acid clearance time — the interval between a reflux event and the esophagus returning to normal pH — lengthens substantially.

You do not wake up for most of it. Reflux during sleep tends to produce brief arousals rather than full awakenings, so the sleep architecture takes a hit without the person ever getting a symptom they can name.

And the relationship runs in both directions. Schey and colleagues (2007, Gastroenterology) took patients with erosive esophagitis and healthy controls through a crossover trial of one night of sleep deprivation (three hours or less) versus several nights of sufficient sleep. After the short night, patients perceived acid in the esophagus as significantly more painful — the same stimulus, more pain. The authors described it as a potential vicious cycle: reflux fragments sleep, and fragmented sleep makes the next night’s reflux hurt more.

That matters for anyone already sleeping in pieces. If you are up with a baby or waking with night sweats, you arrive at each reflux event with a nervous system primed to feel it more.

Is nighttime reflux different from daytime heartburn?

Functionally, yes. Daytime reflux is usually brief and self-clearing. Nighttime reflux involves longer acid contact, which is why it tracks with the more stubborn consequences — chronic cough, morning hoarseness, throat clearing, dental erosion, and a particular flavor of unrefreshing sleep.

It is also why the most common symptom of nighttime reflux is not heartburn. It is waking up multiple times without a clear reason — a dry throat, a cough, or a sudden jolt of anxiety rather than a burning chest. If your awakenings cluster in the first half of the night, within a few hours of your last meal, reflux is worth considering.

What does the timing of your last meal actually change?

This is the single best-evidenced lever, and the number is specific.

Fujiwara and colleagues (2005, American Journal of Gastroenterology) compared 147 people with GERD against 294 matched controls. After adjusting for smoking, drinking and BMI, people whose dinner-to-bed interval was under three hours had an odds ratio of 7.45 for GERD compared with those who left four hours or more. That is a large effect for a change that costs nothing.

A later systematic review by Ness-Jensen and colleagues (2016, Clinical Gastroenterology and Hepatology) reviewed the whole lifestyle-intervention literature and concluded that avoiding late evening meals and elevating the head of the bed are the interventions with real evidence behind them for nocturnal reflux — alongside weight loss and smoking cessation where relevant. Notably, the review did not support the long list of blanket food restrictions people are usually handed.

There is an obvious tension here. “Finish dinner three hours before bed” is easy advice for someone with a predictable evening and nearly impossible for someone feeding a baby at 10pm, or eating their first real meal of the day after bedtime. We covered that trade-off in eating before bed. The workable compromise is usually not skipping the late meal but making it smaller and lower in fat, since fat slows gastric emptying and keeps the stomach full longer.

Which sleep position is best for acid reflux?

Left side down. This is one of the few sleep-position claims with direct physiological measurement behind it rather than folklore.

Khoury and colleagues (1999, American Journal of Gastroenterology) monitored sleep position alongside esophageal pH in patients with abnormal recumbent reflux. Sleeping on the right side produced significantly more reflux episodes and longer acid exposure than the left, driven by a higher rate of transient lower esophageal sphincter relaxations. The authors concluded the left lateral position is preferred, and that patients should be actively helped to hold it.

Person and colleagues (2015, Journal of Clinical Gastroenterology) tested this more rigorously using a positioning device that held participants left-side-down on an incline, running four six-hour impedance-pH studies per person. Left side with the head and torso elevated produced significantly less esophageal acid exposure than flat sleeping, than a standard wedge alone, and than right-side-down.

The anatomy explains it: on the left side, the junction between esophagus and stomach sits above the level of the stomach contents. On the right, it sits below. Same volume of acid, opposite gravitational relationship.

Two practical notes. Elevation works best from the head of the bed, not from stacked pillows — bending at the neck or waist can raise abdominal pressure and make things worse. Risers under the bedposts, or a wedge running hip to shoulder, lift the whole torso; Ness-Jensen’s review found this cut supine acid exposure from roughly 21% to 15% of the time. And you cannot control your position while unconscious — trying to is its own source of sleep anxiety. What you can control is the position you fall asleep in, which is where most first-half-of-the-night reflux happens anyway. Our broader guide to sleep position covers the rest.

Why is reflux so common in pregnancy and after birth?

Heartburn affects a substantial share of pregnancies — commonly cited figures run from roughly 30% to as high as 80%, rising sharply in the third trimester. Two mechanisms stack.

Progesterone, which rises dramatically in pregnancy, relaxes smooth muscle throughout the body — including the lower esophageal sphincter, the valve that normally keeps stomach contents contained. At the same time, the growing uterus raises intra-abdominal pressure, pushing upward against a stomach whose exit valve is already less competent than usual.

The result compounds a sleep problem you already have. Reflux is a major contributor to pregnancy insomnia, and it does not always resolve the moment the baby arrives. Postpartum, the mechanical pressure drops away quickly, but other things work against you: eating at unpredictable hours, lying down right after a late feed, dozing reclined on a sofa, and the sleep deprivation that Schey’s work suggests amplifies acid perception. If you are dealing with postpartum insomnia and cannot find a cause, reflux is worth ruling in or out before assuming anxiety alone.

If you are pregnant or breastfeeding, medication is a conversation for your own clinician — some common reflux drugs are considered compatible with pregnancy and lactation and some are not, and that call belongs to someone who knows your history.

Does perimenopause make acid reflux worse?

Often, yes — and it is frequently mistaken for something else.

Reflux symptoms become more common in women across the midlife transition, and the hormonal contribution appears real rather than incidental. Jacobson and colleagues (2008, Archives of Internal Medicine) followed 51,637 postmenopausal women in the Nurses’ Health Study and found that hormone therapy use was associated with a higher likelihood of GERD symptoms, with risk rising alongside duration of use — consistent with the mechanism that both estrogen and progesterone relax the lower esophageal sphincter. The same year, a twin study in Gastroenterology reached a similar conclusion independently.

This does not make hormone therapy a bad idea; for many women the sleep and vasomotor benefits comfortably outweigh a manageable reflux symptom, and that trade-off belongs with a clinician rather than a blog post. We covered the wider picture in does HRT help with sleep and progesterone and sleep.

What matters for sleep is recognition. Nighttime reflux in perimenopause tends to get folded into “menopause wrecked my sleep” and left unaddressed. If you are also experiencing 3am waking or hot flashes, the reflux component can hide behind them entirely — and it is the one with the simplest fixes.

Two midlife factors compound it. Alcohol reduces lower esophageal sphincter tone and delays acid clearance, on top of what it already does to sleep architecture (alcohol and sleep). And reflux and sleep-disordered breathing often travel together, so persistent nighttime reflux alongside snoring or morning headaches is worth weighing against the signs of sleep apnea.

What actually helps, in order of evidence?

  1. Leave three or more hours between your last substantial meal and lying down. The strongest single finding in this literature.
  2. Elevate the head of the bed by six to eight inches using risers or a full-torso wedge, not pillows.
  3. Fall asleep on your left side. Cheap, measurable, and effective for the first sleep cycles.
  4. Make the late meal smaller and lower in fat if you cannot avoid eating late.
  5. Notice alcohol timing rather than banning it — a drink with dinner behaves very differently from a drink an hour before bed.
  6. Track the pattern before changing five things at once. Which nights, after which meals, in which position.

The ACG’s 2022 clinical guideline for GERD (Katz et al., American Journal of Gastroenterology) endorses weight loss where relevant, avoiding late meals, and head-of-bed elevation for nighttime symptoms, while noting that sweeping elimination of “trigger foods” is not well supported for most people. Chasing a food list is usually wasted effort; changing when and how you lie down is not.

When should you talk to a doctor?

Reflux that wakes you regularly, persists beyond a few weeks, or does not respond to timing and positional changes deserves a proper evaluation rather than an indefinite over-the-counter routine. The same goes for difficulty swallowing, food sticking, unintended weight loss, vomiting, or chest pain you are not certain about — chest pain especially should be assessed promptly rather than assumed to be heartburn. That is not cause for alarm; it is the point where self-management stops being the right tool.

The calm version

Reflux at night is a mechanical problem before it is anything else — you removed gravity and slowed your swallowing, and acid stayed where it shouldn’t. That means the fixes are mechanical too: more time between dinner and bed, the head of the bed raised, and falling asleep on your left side. If you are pregnant, postpartum, or in perimenopause, hormones are genuinely working against you here, and noticing that is not the same as being stuck with it. Mendtide’s coach flags heartburn as a context tag when it shows up in your nights, and connects it to the positional and timing patterns in your own data rather than a generic list.

You are not a bad sleeper. You are a person whose body kept doing its job in a position that made the job harder.

Mendtide and this blog are for general education, not medical advice. If sleep problems persist or worry you, talk to a doctor.