Heartburn responds well to a combination of quick-relief options and simple habit changes. For immediate relief, over-the-counter antacids neutralize stomach acid within minutes. For persistent or frequent heartburn, stronger medications, dietary adjustments, and changes to how and when you eat can make a significant difference.
Quick Relief With Antacids
Antacids are the fastest way to calm heartburn. They work by directly neutralizing the acid already sitting in your stomach. Most contain some combination of calcium, magnesium, or aluminum salts. Calcium carbonate (the active ingredient in Tums) does double duty: it neutralizes acid and increases the wave-like muscle contractions in your esophagus that push acid back down into your stomach. These products are widely available, don’t require a prescription, and work within minutes for most people.
A home remedy that works on the same principle: dissolve 1/4 teaspoon of baking soda in a glass of water. It neutralizes acid effectively, but it’s high in sodium, so it’s best used occasionally rather than as a regular fix. Don’t take it within two hours of other medications, as it can interfere with absorption.
Stronger Options for Frequent Heartburn
If you’re reaching for antacids more than a couple of times a week, two other types of over-the-counter medication offer longer-lasting relief by reducing how much acid your stomach produces in the first place.
H2 blockers (like famotidine) reduce acid secretion and keep stomach acid suppressed for about four hours. They’re a good option for predictable heartburn, such as taking one before a meal you know will cause trouble.
Proton pump inhibitors (like omeprazole) are the most powerful acid suppressors available without a prescription. They shut down the acid-producing pumps in your stomach lining and can maintain low acid levels for 15 to 22 hours per day. They’re designed for daily use over a set period, typically two weeks, rather than as-needed dosing.
Long-term PPI use does carry some trade-offs. Because stomach acid helps your body absorb certain nutrients, ongoing use has been linked to deficiencies in magnesium, calcium, vitamin B12, and iron, along with a slightly increased risk of bone fractures. None of this is a reason to avoid them when you need them, but it’s worth knowing if you’ve been taking them for months.
Foods That Trigger Heartburn
Not every trigger food affects every person, but some show up consistently. Fried foods, spicy dishes, bread products, and coffee are among the most common culprits. The reasons vary by food type.
High-fat meals are one of the most reliable triggers. Fat relaxes the muscular valve between your esophagus and stomach, slows the rate at which your stomach empties, and increases the frequency of those brief valve relaxations that let acid splash upward. Spicy foods containing capsaicin (the compound that makes peppers hot) also slow gastric emptying, and they irritate esophageal tissue that’s already inflamed from previous acid exposure. Even high-salt meals can contribute by slowing stomach movement and delaying emptying.
If you’re lactose intolerant or sensitive, dairy is worth watching. Lactose consumption has been shown to increase the number of times the esophageal valve relaxes, leading to more reflux episodes and greater acid exposure in the esophagus.
Rather than eliminating everything at once, it helps to track which specific foods consistently cause your symptoms and focus on reducing those.
When and How You Eat Matters
The gap between your last meal and when you lie down is one of the most important variables. The standard recommendation is at least three hours. In one study, people who ate less than three hours before bed were about 7.5 times more likely to experience reflux compared to those who waited four hours or more. That’s a dramatic difference from a simple timing change.
Eating smaller meals also helps. A large meal stretches the stomach, increases pressure inside it, and makes it easier for acid to push past the valve at the top. If your biggest meal is dinner, shifting some of that volume to lunch can reduce nighttime symptoms noticeably.
Sleep Position and Nighttime Reflux
If heartburn wakes you up or gets worse when you lie down, your sleep position matters more than you might expect. Sleeping on your left side positions your esophagus above the level of your stomach, making it harder for acid to flow upward. Sleeping on your right side does the opposite: it places your esophagus below the junction with your stomach, which promotes reflux and makes it take longer for acid to clear.
Elevating the head of your bed (using a wedge pillow or blocks under the bed frame, not just extra pillows) adds another layer of protection. Combining left-side sleeping with head elevation is the most effective positioning strategy for nighttime reflux.
Loosen What’s Around Your Waist
Tight clothing is an underappreciated heartburn trigger. A study of patients with esophageal inflammation found that wearing a snug belt increased stomach pressure by about 7 to 9 mmHg and roughly doubled the number of reflux episodes after a meal. The bigger problem was what happened after acid reached the esophagus: clearance time jumped from 23 seconds without a belt to 81 seconds with one, because the pressure kept pushing acid back up after each swallowing motion tried to clear it.
The pressure increase from a belt falls within the same range as the pressure difference between a smaller and larger waist circumference, which helps explain why carrying extra weight around the midsection is independently linked to reflux. Wearing looser pants or skipping the belt, especially after meals, is one of the simplest changes you can make.
Ginger and Other Natural Options
Ginger has some evidence behind it for upper digestive symptoms, though the picture is mixed. It appears to speed up stomach emptying and reduce nausea by acting on nerve receptors in the gut. One small trial found that about 1,650 mg of ginger per day improved reflux-like symptoms, and over half the participants showed measurable improvement in stomach muscle activity. However, other trials looking specifically at gastric emptying speed have produced inconsistent results. Ginger tea or supplements are unlikely to cause harm, but they’re best thought of as a complement to other strategies rather than a standalone fix.
Signs That Need Medical Attention
Most heartburn is manageable on your own, but certain symptoms signal something more serious. Difficulty swallowing, pain when swallowing, vomiting (especially with blood), unintentional weight loss, or loss of appetite alongside reflux symptoms all warrant a medical evaluation. These are considered alarm features that may indicate damage to the esophagus or another condition that self-treatment won’t address.

