
Heartburn at Night: Why It Gets Worse When You Lie Down and 8 Ways to Stop It
Written by Cherlie Joseph, MSN, FNP-BC · Medically reviewed by Naurah Gaspard, DNP, FNP-C, FNP-BC · Updated November 2026
Heartburn often gets worse at night because lying flat removes gravity’s help, and during sleep you swallow less, so acid stays in the esophagus longer. The most effective fixes are finishing dinner 2 to 3 hours before bed, raising the head of your bed and treating frequent reflux with the right medicine.
In this guide
Why heartburn gets worse when you lie down
When you are upright, gravity helps keep stomach contents where they belong. Lie down after a meal and acid can flow back through the lower esophageal sphincter more easily. Sleep adds two more problems: you swallow less often, and you make less saliva, which normally helps wash acid back down and neutralize it. That is why nighttime reflux can cause more burning, coughing and waking up than daytime episodes.
A large or late meal, alcohol and a heavy, fatty dinner make all of this more likely.
8 ways to stop heartburn at night
- Finish eating 2 to 3 hours before bed. The ACG guideline specifically suggests this for people with GERD.
- Raise the head of your bed 6 to 8 inches with bed risers or a foam wedge. The ACG recommends head-of-bed elevation for nighttime symptoms.
- Try sleeping on your left side. Small studies suggest less reflux in this position than on the right side or back.
- Make dinner your smaller meal and go easy on fried, fatty or spicy foods in the evening.
- Skip the nightcap. Alcohol relaxes the esophageal valve.
- Cut off caffeine by mid-afternoon if you notice it worsens symptoms.
- Stop smoking, which weakens the valve and lowers saliva.
- Take reflux medicine at the right time. PPIs such as omeprazole work best taken 30 to 60 minutes before a meal, not at bedtime. Ask your provider or pharmacist how your specific medicine should be timed.
Already treated for reflux and running low on your medicine?
$79 refill review by a nurse practitioner licensed in your state. Adults 18+ in FL, NM, OR and WA.
Request a medication refill →Medicines that can help nighttime reflux
| Type | Examples | Best for |
|---|---|---|
| Antacids | Calcium carbonate, magnesium-based products | Fast relief of occasional symptoms; short-acting |
| H2 blockers | Famotidine | Occasional or predictable heartburn; work within about an hour |
| Proton pump inhibitors (PPIs) | Omeprazole, esomeprazole, lansoprazole, pantoprazole | Frequent heartburn or diagnosed GERD; take a few days for full effect |
Over-the-counter PPIs are labeled for a 14-day course no more than every 4 months unless a provider directs otherwise. If you need them more often, that is a sign to get evaluated.

When nighttime heartburn means something more
Reflux at night does not always feel like burning. It can show up as a nighttime cough, hoarseness in the morning, a sour taste, or waking up choking. Loud snoring with daytime sleepiness can point to sleep apnea, which often travels with reflux and is worth checking. If heartburn wakes you up more than once or twice a week, or you have needed OTC medicine for more than two weeks, talk with a provider about whether you have GERD and what treatment fits. A provider will review whether a prescription is appropriate.
Get in-person care or call 911 if you have:
- Chest pain or pressure that wakes you, especially with sweating, nausea or shortness of breath (call 911; heart problems can feel like heartburn)
- Choking or trouble breathing during sleep
- Trouble swallowing or pain when swallowing
- Vomiting blood or black, tarry stools
- Unexplained weight loss
Frequently asked questions
What is the best sleeping position for acid reflux?
Sleeping with your upper body raised on a wedge or bed risers, and lying on your left side, are the positions most linked with less nighttime reflux. Stacking regular pillows can bend you at the waist and may not help.
Why do I wake up with acid in my throat?
During sleep you swallow less and make less saliva, so acid that refluxes stays in the esophagus and throat longer. Eating close to bedtime and lying flat make this more likely.
Can I take omeprazole at night?
Omeprazole works best when taken 30 to 60 minutes before a meal, usually breakfast. If your symptoms are mostly at night, ask your provider whether a different timing or medicine makes sense for you.
Sources
- ACG Clinical Guideline for the Diagnosis and Management of GERD (Katz et al., 2022)
- NIDDK: Acid Reflux (GER & GERD) in Adults
Keep reading
- GERD diet: foods to avoid and foods that help
- Omeprazole vs pantoprazole
- Sleep apnea and weight
- Insomnia tips that actually help
- Browse all conditions and treatments A to Z
Already treated for reflux and running low on your medicine?
$79 refill review by a nurse practitioner licensed in your state. Adults 18+ in FL, NM, OR and WA.
Request a medication refill →
Cherlie Joseph, MSN, FNP-BC
Board-certified family nurse practitioner licensed in Florida, caring for adults online at OurTopClinic. Meet our providers.
This article is for general education and is not a substitute for medical advice. Treatment, including any prescription, is decided by a licensed provider after reviewing your health history. OurTopClinic is not for emergencies; if you have a medical emergency, call 911. OurTopClinic serves adults located in Florida, New Mexico, Oregon and Washington. Learn more at ourtopclinic.com.