Heartburn happens when stomach acid flows back into your esophagus, and several things can help: adjusting what you eat, changing how you sleep, losing weight, and using over-the-counter medications that range from fast-acting antacids to longer-term acid reducers. The right approach depends on how often you get heartburn and how severe it is.
How Heartburn Medications Work
Three main types of over-the-counter medications treat heartburn, and they work in fundamentally different ways. Choosing the right one depends on whether you need fast relief right now or consistent control over days and weeks.
Antacids (like Tums or Rolaids) neutralize acid that’s already in your stomach. They work almost immediately, which makes them the go-to for occasional, mild heartburn. The tradeoff is that relief doesn’t last long, and absorbable antacids like calcium carbonate should only be used for a day or two at a time.
H2 blockers (like famotidine, sold as Pepcid) block one of the chemical signals that tells your stomach to produce acid. They kick in within 30 to 60 minutes and peak at one to two hours. You can take them as needed, which makes them practical for predictable heartburn, like when you know a heavy dinner is coming. One caveat: your body can develop tolerance to H2 blockers within about three days of daily use, making them less effective over time.
Proton pump inhibitors (like omeprazole, sold as Prilosec) are the strongest acid suppressors available without a prescription. They permanently shut down the acid-producing pumps in your stomach lining, so your body has to build new ones. That power comes with a slower start: PPIs need to be taken daily for four to eight weeks to fully suppress acid, because not all of those pumps are active at the same time. Taking one pill when you feel a flare won’t give you reliable results. For the best effect, take a PPI 30 to 60 minutes before your first meal of the day, when the most pumps are ready to be shut down.
Risks of Long-Term Acid Suppression
PPIs are safe for short courses, but using them for months or years raises some concerns. Stomach acid plays a role in absorbing nutrients, and suppressing it long-term has been linked to higher fracture risk (from reduced calcium absorption), deficiencies in magnesium, iron, and vitamin B12, and increased susceptibility to certain infections like pneumonia and C. difficile. These risks are all tied to the basic consequence of having less stomach acid doing its job. If you’ve been on a PPI for more than eight weeks without a clear plan, it’s worth revisiting whether you still need it.
Foods That Trigger Heartburn
Certain foods relax the muscular valve between your esophagus and stomach, or they slow digestion so food sits in your stomach longer, both of which increase the chance of acid washing upward. The biggest offenders are foods high in fat, salt, or spice: fried food, fast food, pizza, bacon, sausage, cheese, and processed snacks like potato chips. Chili powder, black pepper, and cayenne are common culprits too.
A second group of triggers works through different mechanisms. Tomato-based sauces and citrus fruits are acidic on their own. Chocolate and peppermint directly relax the esophageal valve. Carbonated beverages increase pressure inside the stomach. You don’t necessarily need to eliminate all of these permanently, but tracking which ones consistently bother you gives you a practical, medication-free way to reduce episodes.
Sleep Position and Timing
Gravity is your cheapest heartburn remedy. When you lie flat, acid can pool in your esophagus for long periods. Elevating your upper body with a wedge pillow (not just extra pillows, which can bend you at the waist and make things worse) helps acid drain back down into your stomach.
Research from Harvard Health also points to sleeping on your left side. When study participants lay on their left side, acid cleared from the esophagus significantly faster compared to lying on the back or right side. The anatomy explains this: your stomach curves in a way that keeps the junction with your esophagus above the pool of acid when you’re on your left. On your right side, that junction sits below the acid level, essentially bathing it. Avoiding food for two to three hours before bed further reduces the amount of acid your stomach is producing when you lie down.
Weight Loss and Stomach Pressure
Excess abdominal fat physically squeezes the stomach and the valve at the top of it, pushing acid upward. Losing weight, particularly around the midsection, directly eases that pressure. The American Gastroenterological Association highlights reduced waist circumference as a key factor in lowering reflux symptoms. This isn’t about reaching an ideal BMI. Even modest weight loss can make a noticeable difference if you carry weight around your middle.
Ginger, Chamomile, and Alkaline Water
Ginger has been used as a digestive aid for centuries, and chamomile tea may have a soothing effect on the digestive tract, though neither has undergone the rigorous testing that prescription medications have. If you find a cup of ginger or chamomile tea after dinner helps settle things, there’s little downside to using it. One note: if you have a ragweed allergy, chamomile can cause allergic reactions.
Alkaline water with a pH of 8.8 has shown an interesting property. During acid reflux, a digestive enzyme called pepsin can lodge in the tissues of your esophagus, continuing to irritate them even after the acid itself clears. Alkaline water at that pH level can neutralize pepsin, potentially reducing damage. It’s not a replacement for other approaches, but it may offer a small additional benefit, especially if you’re dealing with throat irritation from reflux.
Symptoms That Need Attention
Most heartburn is uncomfortable but manageable. A few specific symptoms, however, signal something more serious. Trouble swallowing food, or pain when you swallow, suggests the esophagus may be narrowing from chronic irritation. Unexplained weight loss alongside reflux symptoms is a red flag. So is anemia showing up on routine blood work, which can indicate slow, hidden blood loss from the upper digestive tract. Vomiting blood or having stools that are black or bloody points to active bleeding. Any of these warrant prompt evaluation rather than another round of antacids.

