How to Alleviate Heartburn: Fast Relief and Prevention

Heartburn relief comes down to two things: neutralizing or reducing the acid your stomach produces, and keeping that acid where it belongs. Some strategies work in minutes, others take weeks to show results, and the best approach usually combines both. Here’s what actually works, why it works, and how to put it into practice.

Quick Relief Options

Over-the-counter antacids (the chewable tablets or liquids you’ll find at any pharmacy) neutralize stomach acid on contact and typically ease symptoms within minutes. They’re the fastest option, but the relief is short-lived, usually lasting 30 to 60 minutes.

A step up from antacids are H2 blockers, which reduce how much acid your stomach makes. They take longer to kick in (usually 30 to 60 minutes) but keep working for roughly four hours. Proton pump inhibitors, or PPIs, are the strongest option. They block acid production at its source, maintaining a lower-acid environment in your stomach for 15 to 22 hours per day. The tradeoff is that PPIs don’t provide instant relief. They need to build up over a few days of consistent use before you’ll feel the full effect, and they work best when taken 30 minutes before a meal.

For an occasional episode, antacids are a reasonable first choice. If you’re reaching for them multiple times a week, an H2 blocker or PPI is more effective and easier on your routine.

Baking Soda as a Home Remedy

Baking soda (sodium bicarbonate) is a legitimate antacid. Dissolved in water, it neutralizes stomach acid quickly. But it comes with real limits. It’s loaded with sodium, so it’s a poor choice if you have high blood pressure, heart disease, kidney problems, or are on a sodium-restricted diet. It also shouldn’t be combined with large amounts of milk or dairy, which can cause a separate metabolic issue. For occasional, mild heartburn in someone without those conditions, a half teaspoon in a glass of water can offer short-term relief. It’s not a substitute for proper treatment if heartburn is a regular occurrence.

Sleep Position Matters More Than You Think

If heartburn bothers you at night, your sleep position is one of the simplest and most effective changes you can make. Sleeping on your left side positions your esophagus above your stomach, making it harder for acid to flow upward. Sleeping on your right side does the opposite: it places the opening between your stomach and esophagus below the level of stomach acid, essentially setting up a pathway for reflux.

A meta-analysis found that left-side sleeping reduced both the total time acid spent in the esophagus and the time it took to clear acid from the esophagus compared to right-side or back sleeping. The difference was significant: acid clearance took roughly 80 seconds less per episode on the left side versus the right. Elevating the head of your bed by about six inches (using blocks under the bedposts, not just extra pillows) adds a gravitational advantage on top of the positional benefit.

Stop Eating Three Hours Before Bed

This is one of the most repeated pieces of advice for a reason: it works. A study comparing people who ate close to bedtime with those who waited four or more hours found that a dinner-to-bed gap of less than three hours made reflux more than seven times as likely. Your stomach needs time to empty before you lie down. Late-night snacking, even something small, can undo the benefits of every other strategy on this list.

Foods That Trigger Heartburn

Certain foods relax the muscular valve between your esophagus and stomach. When that valve loosens, acid escapes upward. The most consistent culprits are high-fat meals, chocolate, alcohol, and carbonated drinks. Fatty foods are particularly problematic because they slow stomach emptying and relax that valve at the same time, a double hit.

You don’t necessarily need to eliminate all of these permanently. Many people find that their triggers are specific. Coffee might bother you but not chocolate, or vice versa. Keeping a simple log of what you ate before an episode helps you identify your personal triggers rather than following a generic restriction list. When choosing protein sources, leaner options like fish, skinless poultry, and tofu are less likely to provoke symptoms than fattier cuts of meat or fried foods.

How Weight Loss Helps

Excess weight, especially around the midsection, pushes up on the stomach and increases pressure on that valve between the stomach and esophagus. Losing weight reliably reduces heartburn frequency, but the amount needed to see results differs. In a prospective study, women saw significant improvement in overall reflux symptoms with just 5 to 10% body weight loss. Men needed a bit more: heartburn scores improved significantly only after losing 10% or more of their starting weight. For someone weighing 200 pounds, that’s 10 to 20 pounds, a realistic target over a few months.

Breathing Exercises That Strengthen the Valve

This one surprises most people. The diaphragm, the large muscle you use to breathe, wraps around the junction between your esophagus and stomach. It acts as an external squeeze on that valve, helping to keep it shut. Diaphragmatic breathing exercises, where you deliberately breathe deep into your belly rather than shallowly into your chest, can strengthen this squeeze over time.

Multiple studies have measured the effect directly. In one, patients who practiced diaphragmatic breathing training saw the pressure at that junction increase from about 20 mmHg to nearly 30 mmHg. Another found a similar jump, from roughly 17 to 25 mmHg. These are meaningful improvements. The exercises also reduce reflux after meals by increasing the pressure difference between the valve and the stomach, making it harder for acid to push through. A basic routine involves sitting or lying comfortably, placing one hand on your chest and one on your belly, and breathing so that only your belly hand rises. Five to ten minutes, once or twice daily, is a reasonable starting point.

When Acid-Reducing Medications Need Monitoring

PPIs are effective and widely used, but they weren’t designed for indefinite use without oversight. Long-term use (roughly two years or more) can impair absorption of several nutrients. Stomach acid plays a key role in absorbing iron, vitamin B12, calcium, and magnesium. Suppress that acid for years, and deficiencies can develop gradually.

A large study found that long-term PPI use significantly increased the risk of vitamin B12 deficiency, particularly at higher doses. A separate meta-analysis of over 100,000 patients found that PPI users had a 43% higher risk of low magnesium levels. Another study found PPI users were more than five times as likely to experience drops in hemoglobin and related blood markers, pointing to iron absorption problems. Bone health is also a concern: reduced calcium absorption may increase fracture risk over time.

None of this means you should stop taking a PPI if you need one. It means that if you’ve been on one for more than a couple of years, periodic blood work to check B12, magnesium, and iron levels is a reasonable precaution. It also means that the lifestyle changes described above aren’t just nice additions to medication. They’re the strategies that can eventually let you reduce or stop acid-suppressing drugs altogether.