Heartburn is a burning sensation behind the breastbone caused by stomach acid flowing back into the esophagus, and you can ease it with a combination of quick-acting remedies, simple positioning changes, and dietary adjustments. Most episodes respond well to strategies you can start using today.
Why Heartburn Happens
A ring of muscle where your esophagus meets your stomach, called the lower esophageal sphincter, normally stays contracted to keep acid from rising upward. It maintains a steady squeeze at a pressure of about 15 to 30 mmHg. When this muscle relaxes at the wrong time, acidic stomach contents flow backward into the esophagus, which has no protective lining against acid. That’s the burn you feel.
These spontaneous relaxations happen in everyone, but certain foods, body positions, and habits make them more frequent or more likely to cause symptoms. Understanding that is key, because it means most heartburn relief comes down to reducing either the acid itself or the conditions that push it upward.
Fast Relief: Antacids and Acid Reducers
If you need relief right now, chewable antacids containing calcium carbonate or a calcium-magnesium blend are your fastest option. A calcium-magnesium carbonate tablet can start raising acid levels toward neutral in under 6 minutes. Standard calcium carbonate chewables take about 30 minutes to noticeably change the acid environment in your esophagus and provide roughly 40 to 60 minutes of relief. Combination antacids that include aluminum hydroxide and magnesium hydroxide last a bit longer, around 80 minutes in the esophagus. The key detail: chewable tablets and effervescent powders work significantly better than swallowable tablets, which had little measurable effect in clinical testing.
For longer-lasting relief, over-the-counter acid reducers work differently. H2 blockers like famotidine take longer to kick in (about 60 to 90 minutes) but suppress acid for roughly 9 hours. Proton pump inhibitors (PPIs) are the strongest option, keeping stomach acid low for 15 to 22 hours per day compared to about 4 hours for H2 blockers. PPIs take several days of daily use to reach full effectiveness, so they’re better suited for recurring heartburn than one-off episodes.
Position Your Body to Reduce Reflux
Gravity is one of the simplest tools for heartburn relief, especially at night. When you lie flat, acid can pool at the junction between your stomach and esophagus. Elevating the head of your bed by about 20 to 28 centimeters (roughly 8 to 11 inches) using blocks under the bed legs or a foam wedge with a 20-degree angle helps keep acid in your stomach. Stacking pillows under your head alone doesn’t work as well because it bends your body at the waist rather than creating a gradual slope.
Which side you sleep on matters too. Lying on your right side positions your stomach above your esophagus, essentially letting acid pour downhill into your throat and increasing the time it takes your esophagus to clear that acid. Sleeping on your left side flips this relationship, placing your esophagus above the stomach, so gravity works in your favor. If nighttime heartburn is a regular problem, combining left-side sleeping with head elevation can make a noticeable difference.
After eating, stay upright for at least two to three hours before lying down. A short walk after a meal can also help by promoting normal digestion.
Foods and Drinks That Trigger Heartburn
Certain substances directly reduce the muscle tone of the sphincter that keeps acid in your stomach. Coffee, alcohol, and chocolate all have pharmacological effects that relax this sphincter. Fatty foods create a different problem: they slow stomach emptying, keeping your stomach full and distended for longer. A full, stretched stomach triggers more of those spontaneous sphincter relaxations that let acid escape upward.
Common triggers worth experimenting with:
- Coffee and caffeinated drinks, including tea in some people
- Alcohol, especially on an empty stomach
- High-fat meals, fried foods, and rich sauces
- Chocolate
- Citrus fruits and tomato-based foods, which add acid directly
- Spicy foods, though sensitivity varies widely
- Carbonated beverages, which increase stomach distension
You don’t necessarily need to eliminate all of these permanently. Triggers vary from person to person, so keeping a simple food diary for a week or two can help you identify your specific culprits. Eating smaller meals also helps by reducing stomach distension, one of the main mechanical causes of reflux.
Baking Soda as a Quick Fix
Dissolving half a teaspoon of baking soda (sodium bicarbonate) in a glass of cold water neutralizes stomach acid quickly. It’s an effective short-term remedy, but it comes with important limits. Don’t exceed five teaspoons in a day, don’t use it for more than two weeks straight, and avoid taking it within one to two hours of other medications, since it can interfere with how they’re absorbed.
Baking soda is very high in sodium, so it’s a poor choice if you have high blood pressure, heart disease, kidney disease, or are on a sodium-restricted diet. It can also cause your body to retain water. If you need heartburn relief regularly enough that baking soda becomes a habit, that’s a signal to try a different approach.
Ginger for Digestive Discomfort
Ginger has a modest evidence base for easing upper digestive symptoms. In a small clinical study, 1.2 grams of ginger sped up stomach emptying in people with digestive discomfort, reducing the half-emptying time of the stomach from about 16 minutes to 12 minutes. Faster stomach emptying means less time for a full stomach to push acid upward. Ginger tea or ginger chews after meals are a reasonable option to try, though the research specifically on acid reflux (rather than general indigestion) is limited.
Weight Loss and Long-Term Improvement
Excess weight, particularly around the midsection, increases abdominal pressure and pushes stomach contents toward the esophagus. Losing weight is one of the most effective long-term strategies for reducing heartburn. In a prospective study, 65% of participants experienced complete resolution of reflux symptoms after losing weight, and another 15% had partial improvement.
The threshold matters, and it differs by sex. Women saw significant improvement with 5 to 10% body weight loss, while men typically needed 10% or more to see meaningful relief. For a 200-pound person, that’s 10 to 20 pounds. Interestingly, waist circumference reduction alone didn’t correlate with symptom improvement in the study. It was overall body weight loss that made the difference, with women improving after losing 5 to 10 centimeters from their waist and men needing a reduction of 10 centimeters or more.
Habits That Reduce Heartburn Over Time
Smoking reduces sphincter tone, so quitting helps even if you don’t notice the connection right away. Wearing tight belts or waistbands increases abdominal pressure and can worsen symptoms. Eating your last meal or snack at least three hours before bed gives your stomach time to empty before you lie down.
If you take over-the-counter pain relievers like ibuprofen or aspirin regularly, these can irritate the esophagus and stomach lining, compounding heartburn. Switching to acetaminophen for routine pain may help if reflux is a recurring issue for you.
Chest Pain That Isn’t Heartburn
Heartburn and heart attacks can feel remarkably similar. Even experienced doctors can’t always distinguish them based on symptoms alone. Both can cause chest pain that comes and goes, and the fact that pain subsides doesn’t rule out a cardiac event. Heart attack symptoms that go beyond typical heartburn include pressure or squeezing in your chest that radiates to your arms, neck, jaw, or back, along with shortness of breath, cold sweat, sudden dizziness, or unusual fatigue. Women are more likely than men to experience jaw or back pain, shortness of breath, and nausea as primary heart attack symptoms rather than classic chest pressure. If your chest pain feels different from your usual heartburn, or if it comes with any of these additional symptoms, treat it as an emergency.

