Heartburn usually starts when stomach acid gets past the valve at the top of your stomach (the lower esophageal sphincter) and reaches your food pipe (esophagus). That's why most of the habits below come down to gravity, meal size and bedtime.
The list
Seven Heartburn Habits, Rated S to F
-
S Tier: No Food 3 Hours Before Bed
Dr. Brown's take: one of the most useful things you can do. Food still sitting in your stomach when you lie down can slowly creep up while you sleep.
Why it works: lying flat takes gravity out of the picture. In a small trial, a meal eaten 2 hours before bed led to more acid reflux overnight than the same meal 6 hours before. The American College of Gastroenterology suggests finishing meals 2 to 3 hours before bed. Start here -
A Tier: A Raised Bed (Blocks or a Wedge)
Dr. Brown's take: stick blocks under the legs at the head of your bed and lift it a little. Gravity helps a ton, which is one reason so many people get heartburn at night and not during the day.
Why it works: aim for 6 to 8 inches, so your whole upper body slopes up from the hips, not just your neck. Blocks under the bed legs and foam wedges are what trials tested, and the American College of Gastroenterology suggests a raised bed for heartburn at night. -
A Tier: Sleeping on Your Left Side
Dr. Brown's take: your left side is much better for heartburn, and your right side can make it worse.
Why it works: on your right side, the valve sits below the pool of stomach contents, and in a small lab study it relaxed more often. In a trial, a small device that buzzed whenever people rolled onto their right side eased nighttime heartburn more often than a look-alike that didn't. -
A Tier: A Smaller Dinner
Dr. Brown's take: a huge meal stretches your stomach, and that stretch signals the valve to relax and open. A smaller dinner helps keep heartburn down at night.
Why it works: in a lab study, stretching the stomach with a balloon made the valve relax three to four times as often. How much people ate mattered more than how fatty the meal was. -
D Tier: Baking Soda and Water
Dr. Brown's take: it's very short-lived, and it comes with a huge load of sodium.
Why: it neutralizes acid for a short time, but each half teaspoon has 656 mg of sodium. The label says to dissolve it completely, never take it when you're overly full, and ask a doctor first if you're on a low-sodium diet. Too much can throw off your body's acid-base balance. Read the label first -
D Tier: Drinking Milk
Dr. Brown's take: milk may feel good for a second, but it's basically like having a meal right before bed.
Why: its protein and calcium prompt your stomach to make more acid, and a glass at bedtime is still food in your stomach when you lie down. In a large study of women, milk wasn't linked to heartburn either way. -
F Tier: Apple Cider Vinegar
Dr. Brown's take: there are no significant human trials, and it can irritate the enamel on your teeth and, in some people, your food pipe.
Why: vinegar is an acid. It wore away tooth enamel in lab tests, and an apple cider vinegar tablet injured one person's food pipe in a published case. Skip it
What else helps
More Habits Worth Adding
These weren't in the video. Each has some research behind it, from strong (losing weight) to early (gum and belly breathing).
-
S Tier: Losing Some Weight, If You've Gained
If you've put on weight, especially around your middle, losing some is the lifestyle step with the strongest evidence for easing heartburn. It's the one the American College of Gastroenterology gives a strong recommendation.
Added for this guide -
A Tier: Staying Upright After Meals
The same idea as no food 3 hours before bed, at any time of day. Give it 2 to 3 hours after eating before you nap or stretch out on the couch.
Added for this guide -
A Tier: Quitting Smoking
Smoking lowers the valve's pressure in lab studies. In a study of people at a quit-smoking clinic, those who stayed smoke-free for a year were more likely to see their heartburn improve than those who didn't quit.
Added for this guide -
B Tier: Going Easy on Alcohol
Alcohol relaxes the valve in lab studies, and drinking more often is linked with more reflux. Cutting back is worth a try.
Added for this guide -
B Tier: Knowing Your Own Triggers
Chocolate and peppermint relax the valve in lab studies. Coffee, citrus and spicy food barely change it, but they still bother some people. You don't need to cut everything. Notice which foods seem to set it off.
Added for this guide -
C Tier: Chewing Gum After Meals
Chewing sugar-free gum for about 30 minutes after a meal makes you swallow more often, which helps clear acid back down. The studies are small, but it's easy to try. If gum gives you gas or bloating, skip this one.
Added for this guide -
C Tier: Belly Breathing
Slow breathing exercises, where your belly rises instead of your chest, train your diaphragm: the muscle that wraps around the valve. Early studies are promising.
Added for this guide
Rated by Dr. Brown on cameraDashed: added for this guide
Put it together
A Simple Plan for Tonight
Most of this list comes down to one valve and gravity.
Eat a Smaller Dinner, Earlier
Finish about 3 hours before bed.
Stay Upright Until Bedtime
Sit or stand after dinner instead of lying on the couch.
Raise the Head of Your Bed
Blocks or a wedge, 6 to 8 inches.
Fall Asleep on Your Left Side
Your right side makes heartburn more likely.
When to get help
When Heartburn Needs a Doctor
If you need something for heartburn on 2 or more days a week, or you've used heartburn medicine for more than 2 weeks, talk to your doctor. Frequent heartburn deserves a proper look, not a longer list of habits.
When to See a Doctor
- You need something for heartburn on 2 or more days a week.
- You've used heartburn medicine for more than 2 weeks.
- Swallowing is hard or painful, or food feels like it sticks.
- You're losing weight without trying.
- You keep vomiting.
- You've been told you have anemia (a low red blood cell count).
- Heartburn or indigestion is new and you're 60 or older.
Get Care Right Away
Call 911 or go to the emergency room if you have:
- Chest pain or pressure, especially with shortness of breath, a cold sweat, nausea, lightheadedness, or pain spreading to your arm, back, neck or jaw. It can be a heart attack, even when it feels like heartburn.
- Chest pain that's new, severe or feels different from any heartburn you've had.
- Vomit with blood in it, or vomit that looks like coffee grounds.
- Black or bloody stools.
Calling 911 is almost always the fastest way to get treatment.
Taking medication? Check with your doctor before adding a supplement if you take any medication. Don't stop or change a prescription on your own.
From Dr. Brown's company
If You Want Extra Support
Re:flux
For occasional heartburn.*
A dietary supplement made with four plant ingredients: atractylodes, noni fruit, dandelion root and hesperidin from citrus. Take 2 capsules twice a day, with or without food.
Use it alongside the habits on this list, not instead of them. If you need something for heartburn on 2 or more days a week, or you've used heartburn medicine for more than 2 weeks, talk to your doctor.
Dr. Brown co-founded and co-owns KBS Research, the company behind Atrantil and Re:flux.
*These statements have not been evaluated by the Food and Drug Administration. This product is not intended to diagnose, treat, cure, or prevent any disease. Don't use Re:flux if you're pregnant or nursing, or allergic to any of its ingredients. If you take any medication or have a health condition, check with your doctor first. See the full list in How to take Re:flux.
Questions
Common Questions
Why is heartburn worse at night?
When you're upright, gravity helps keep stomach acid down. Lying flat takes that help away, and a late meal leaves more in your stomach to move up. Lying on your right side adds to it. That's why the top of the list is about bedtime.
Do pillows work as well as blocks or a wedge?
Nobody has tested pillows, so it's hard to say. Blocks under the bed legs and foam wedges are what the studies tested. If you use pillows, prop up your upper back as well as your head, so your chest ends up higher than your stomach. The goal is a slope from your hips up, not a bent neck.
Do I have to give up coffee?
Not necessarily. Coffee barely changes the valve in lab studies, but it bothers some people. In a large study of women, those who drank more than 6 coffees, teas or sodas a day were more likely to start getting heartburn every week than those who drank none, and swapping two of those drinks a day for water was linked to a slightly lower chance. If coffee seems to set yours off, try cutting back for a couple of weeks.
Sources
Where This Comes From
- How heartburn happens, meal timing, a raised bed, weight, smoking, trigger foods and warning signs: Katz PO, et al. American College of Gastroenterology clinical guideline. Am J Gastroenterol. 2022;117(1):27-56. PubMed · Full text
- Late meals: Piesman M, et al. Am J Gastroenterol. 2007;102(10):2128-34. PubMed
- Raising the head of the bed 6 to 8 inches: NIDDK (NIH), lifestyle changes for heartburn, reviewed July 2020. NIDDK. Blocks and wedges: Hamilton JW, et al. Dig Dis Sci. 1988;33(5):518-22. PubMed. Albarqouni L, et al. BMC Fam Pract. 2021;22(1):24. PubMed
- Sleeping on your left side: Schuitenmaker JM, et al. Clin Gastroenterol Hepatol. 2022;20(12):2753-62. PubMed. van Herwaarden MA, et al. Am J Gastroenterol. 2000;95(10):2731-6. PubMed
- Meal size: Holloway RH, et al. Gastroenterology. 1985;89(4):779-84. PubMed. Pehl C, et al. Aliment Pharmacol Ther. 2001;15(2):233-9. PubMed. Colombo P, et al. Scand J Gastroenterol. 2002;37(1):3-5. PubMed
- Baking soda: sodium bicarbonate (baking soda) Drug Facts label. DailyMed. Inokuchi R, et al. Am J Emerg Med. 2026;103:45-49. PubMed
- Milk: Ippoliti AF, et al. Ann Intern Med. 1976;84(3):286-9. PubMed. Milk, coffee, tea and soda: Mehta RS, et al. Clin Gastroenterol Hepatol. 2020;18(10):2226-33. PubMed
- Apple cider vinegar: Ahuja A, Ahuja NK. Curr Gastroenterol Rep. 2019;21(8):39. PubMed. Willershausen I, et al. Clin Lab. 2014;60(5):783-90. PubMed. Hill LL, et al. J Am Diet Assoc. 2005;105(7):1141-4. PubMed
- Weight, smoking and other lifestyle steps: Ness-Jensen E, et al. Clin Gastroenterol Hepatol. 2016;14(2):175-82. PubMed
- Quitting smoking: Kohata Y, et al. PLoS One. 2016;11(2):e0147860. PubMed
- Alcohol: Pan J, et al. Alcohol Alcohol. 2019;54(1):62-69. PubMed
- Chewing gum: Moazzez R, et al. J Dent Res. 2005;84(11):1062-5. PubMed. Avidan B, et al. Aliment Pharmacol Ther. 2001;15(2):151-5. PubMed
- Belly breathing: Eherer AJ, et al. Am J Gastroenterol. 2012;107(3):372-8. PubMed
- Heartburn 2 or more days a week, more than 2 weeks of heartburn medicine, and warning signs: Drug Facts label for an over-the-counter heartburn medicine. DailyMed
- Warning signs: NIDDK (NIH), symptoms and causes, 2020. NIDDK
- New symptoms at 60 or older: Moayyedi P, et al. American College of Gastroenterology and Canadian Association of Gastroenterology clinical guideline. Am J Gastroenterol. 2017;112(7):988-1013. PubMed
- Heart attack warning signs: American Heart Association. Warning signs of a heart attack. Reviewed December 2024. heart.org