You can stop most heartburn episodes with a combination of quick relief strategies and longer-term habit changes. Heartburn happens when stomach acid flows backward into your esophagus, the tube connecting your mouth to your stomach. A ring of muscle at the bottom of that tube normally stays closed to keep acid where it belongs, but when it relaxes at the wrong time or doesn’t seal tightly, acid escapes upward and causes that familiar burning sensation behind your breastbone.
Why Heartburn Happens
The muscular ring at the base of your esophagus maintains a constant squeeze pressure of about 15 to 30 mmHg, acting like a one-way valve. It relaxes briefly when you swallow to let food pass into your stomach, then clamps shut again. Heartburn occurs when this valve relaxes when it shouldn’t, a process called transient lower esophageal sphincter relaxation, which is the primary mechanism behind acid reflux even in otherwise healthy people.
Several things make that valve less effective. Excess abdominal fat increases pressure on the stomach from below, physically pushing acid upward. A hiatal hernia can shift the valve out of position so it can’t close completely. And certain foods and drinks chemically trigger the valve to loosen. Understanding these causes is useful because each one points to a specific fix.
Quick Relief for Active Heartburn
When heartburn is already burning, you need something that works fast. Over-the-counter antacids (the chewable tablets or liquid forms) neutralize stomach acid on contact and typically bring relief within minutes. They’re the fastest option but wear off relatively quickly, so they work best for occasional, short-lived episodes.
Baking soda is a home remedy that works on the same principle. The Mayo Clinic lists a dose of one-half teaspoon dissolved in a glass of water, taken every two hours as needed. However, baking soda is high in sodium, so it’s not appropriate if you have high blood pressure, heart disease, kidney disease, or swelling in your legs. It should not be given to children under 6, and the daily maximum is five teaspoons.
Beyond what you swallow, positioning your body helps. Stand up or sit upright if you’ve been lying down. Gravity alone reduces how much acid can travel upward. Loosen any tight clothing around your waist. Sipping cool water can help wash acid back down into your stomach, though drinking large amounts may make things worse by increasing stomach volume.
Medications for Frequent Heartburn
If heartburn shows up more than twice a week, stronger options exist. H2 blockers (sold as famotidine) reduce the amount of acid your stomach produces. They take longer to kick in than antacids, roughly 30 to 60 minutes, but their effects last several hours. They’re a good middle ground between fast-acting antacids and the most powerful option.
Proton pump inhibitors, commonly called PPIs (sold as omeprazole, lansoprazole, and esomeprazole), shut down acid production more completely by permanently disabling the acid pumps in your stomach lining. New pumps regenerate over time, which is why PPIs are taken daily. They don’t provide instant relief since they need a day or two to reach full effect, but they’re the most effective medication for persistent heartburn. Clinical guidelines recommend using the lowest effective dose for the shortest time needed to control symptoms.
Foods and Drinks That Trigger Reflux
Certain foods directly relax the muscular valve at the base of your esophagus, making reflux more likely. The most well-documented triggers include high-fat meals, chocolate, alcohol, mint, and carbonated beverages. All of these reduce the valve’s closing pressure, giving acid an easier escape route.
Other foods don’t necessarily loosen the valve but irritate the esophagus once acid is present. Tomatoes, citrus fruits, onions, garlic, spicy foods, and caffeinated drinks fall into this category. You don’t need to eliminate every item on this list. Most people have a handful of personal triggers, and keeping a simple food diary for a week or two is the fastest way to identify yours.
Swapping in lean protein sources like skinless poultry, fish, and tofu can help if high-fat meals are a consistent trigger for you. Eating smaller portions also matters: a very full stomach increases internal pressure and makes it easier for acid to push past the valve.
Weight Loss Has a Major Impact
Carrying extra weight around your midsection is one of the strongest risk factors for heartburn. Abdominal fat increases the pressure inside your abdomen, which pushes stomach contents upward. Visceral fat also appears to create an inflammatory environment around the gastroesophageal junction that may weaken the valve over time.
A prospective study of overweight participants found that after six months of weight loss (averaging about 29 pounds), the prevalence of reflux symptoms dropped from 37% to 15%. Sixty-five percent of participants experienced complete resolution of their symptoms, and another 15% had partial improvement. Even modest weight loss showed a measurable benefit, with greater percentage of body weight lost correlating to greater symptom reduction. If you’re overweight and dealing with chronic heartburn, losing weight is one of the most effective long-term strategies available.
How You Sleep Makes a Difference
Nighttime heartburn is especially disruptive, and your sleeping position plays a surprisingly large role. Sleeping on your right side positions your stomach above your esophagus, which essentially lets acid pool toward the valve and flow into the esophagus more easily. Sleeping on your left side flips that arrangement, placing the esophagus above the stomach so gravity works in your favor. A systematic review and meta-analysis confirmed that right-side sleeping causes more heartburn and reflux episodes than any other position.
Elevating the head of your bed by 6 to 8 inches also helps. This means raising the bed frame itself or using a foam wedge under your mattress, not just stacking pillows. Pillows alone tend to bend you at the waist, which can actually increase abdominal pressure. The goal is a gentle incline from your hips to your head so gravity keeps acid in your stomach throughout the night.
Timing Your Meals and Other Habits
Eating within two to three hours of lying down is one of the most common causes of nighttime reflux. When you eat, your stomach ramps up acid production to digest the food. If you lie down while that process is still active, acid has a much easier path into your esophagus. Finishing dinner earlier or taking a walk after eating gives your stomach time to empty before bed.
Smoking weakens the esophageal valve and increases acid production at the same time. Tight belts, waistbands, and shapewear increase abdominal pressure the same way excess weight does. Even bending over frequently after meals, common during gardening or cleaning, can push acid upward. Small adjustments to these habits often reduce heartburn frequency without any medication at all.
Signs That Need Medical Attention
Most heartburn is uncomfortable but manageable. Certain symptoms, however, suggest something more serious. Difficulty swallowing, pain when swallowing, unexplained weight loss, anemia, or any sign of bleeding (such as vomiting blood or dark, tarry stools) are red flags that warrant prompt evaluation. These can indicate complications like esophageal narrowing, ulceration, or, rarely, malignancy. Heartburn that doesn’t improve after two weeks of daily over-the-counter PPIs, or heartburn that keeps returning as soon as you stop medication, also deserves a closer look from a gastroenterologist.

