There isn’t one single best medicine for GERD. The right choice depends on how often you have symptoms, how severe they are, and whether acid has already damaged your esophagus. For occasional heartburn, an antacid or H2 blocker works well. For frequent or erosive GERD, a proton pump inhibitor (PPI) is the most effective option available and the standard first-line treatment recommended by gastroenterologists.
Antacids: Fastest Relief, Shortest Duration
Antacids like calcium carbonate (Tums) and magnesium hydroxide (Milk of Magnesia) neutralize stomach acid that’s already there. They start working within minutes, which makes them the go-to for occasional heartburn after a big meal. The trade-off is that they wear off quickly, typically within one to two hours. They don’t prevent acid from being produced, so they won’t help much if your symptoms come back repeatedly throughout the day.
Antacids are best suited for people who get heartburn once or twice a week at most. If you’re reaching for them daily, that’s a sign you need a stronger medication.
H2 Blockers: A Middle Ground
Famotidine (Pepcid) is the most widely used H2 blocker for GERD. Instead of neutralizing acid after it’s made, it reduces how much acid your stomach produces in the first place. It takes longer to kick in, around 30 to 60 minutes, and reaches peak effect at one to two hours. But it lasts far longer than an antacid, anywhere from 6 to 20 hours depending on the dose.
Famotidine is available over the counter in 10 mg and 20 mg tablets, dosed up to twice daily as needed, with a maximum of 40 mg per day. It’s a solid option for people with mild to moderate GERD who don’t have esophageal damage. Some people take it before meals or at bedtime to prevent nighttime reflux.
PPIs: The Strongest Standard Option
Proton pump inhibitors, including omeprazole (Prilosec), lansoprazole (Prevacid), and esomeprazole (Nexium), are the most potent acid-suppressing medications available. They shut down the acid pumps in your stomach lining and reduce acid production by up to 90%. For erosive esophagitis, where stomach acid has visibly damaged the lining of your esophagus, PPIs heal the tissue in the vast majority of cases. Clinical trials show healing rates above 90% after eight weeks of treatment.
PPIs don’t work instantly. They take three to five days to reach their full acid-blocking effect, so they’re not meant for on-the-spot relief. You take them once daily, ideally 30 to 60 minutes before your first meal. Over-the-counter omeprazole comes in a 20 mg dose. Prescription-strength versions are available at higher doses for more severe cases.
If your GERD symptoms happen more than twice a week, or if you have complications like difficulty swallowing, a PPI is generally the first medication a doctor will recommend.
Alginates: A Physical Barrier Approach
Alginates (found in products like Gaviscon Advance) work differently from every other GERD medication. When they mix with stomach acid, they form a gel-like raft that floats on top of your stomach contents. This physical barrier sits between your stomach and esophagus, preventing acid from splashing upward. They begin working right away and can be taken with a meal or immediately after.
Alginates are particularly useful for postmeal reflux, the kind that hits within an hour or two of eating. They can be combined with other treatments and have very few side effects since the gel passes through your system without being absorbed. They won’t heal esophageal damage, but for symptom control, especially in mild GERD or during pregnancy, they’re a practical choice.
Newer Acid Blockers: PCABs
Vonoprazan (Voquezna) represents a newer class of acid suppressors called potassium-competitive acid blockers. Unlike PPIs, which need several days to reach full strength, vonoprazan delivers its maximum acid-blocking effect from the first day. It also works regardless of when you eat, removing the timing constraints that make PPIs tricky for some people.
In a large clinical trial comparing vonoprazan to lansoprazole in patients with erosive esophagitis, vonoprazan healed 75% of patients at two weeks compared to 68% with lansoprazole. By eight weeks, the gap narrowed, with both groups above 91%. The biggest advantage showed up in patients with the most severe esophageal damage (grades C and D), where vonoprazan healed 62% at two weeks versus 52% for lansoprazole. Vonoprazan is prescription-only and typically reserved for cases where PPIs haven’t worked well enough or aren’t tolerated.
Long-Term PPI Use and Safety
Because PPIs are so effective, many people end up taking them for months or years. This has raised legitimate questions about long-term safety. The evidence shows several associations worth knowing about, though the absolute increases in risk are modest for most people.
Bone health is one concern. A meta-analysis found that PPI users had a 30% higher risk of fractures at any site compared to nonusers, with spine fractures showing the largest increase (49% higher risk). The proposed mechanism involves reduced calcium absorption due to lower stomach acid, along with effects on bone cell activity. That said, PPIs don’t appear to reduce bone mineral density directly, suggesting the fracture risk may involve other pathways.
Kidney function is another area of concern. A systematic review found PPI use was associated with a 44% increased risk of acute kidney injury and a 36% increased risk of chronic kidney disease. Over half of patients who developed PPI-related kidney inflammation did not fully recover. Periodic kidney monitoring is reasonable for anyone on long-term PPI therapy, even though no official guidelines mandate it yet.
PPIs can also reduce absorption of vitamin B12 and magnesium over time. None of these risks mean you should avoid PPIs if you genuinely need them. Untreated erosive GERD carries its own serious risks, including Barrett’s esophagus. The goal is to use the lowest effective dose for the shortest necessary duration.
Stepping Down From a PPI
If you’ve been on a PPI for a while and your symptoms are well controlled, your doctor may suggest tapering off. One important thing to know: stopping a PPI can trigger rebound acid hypersecretion, where your stomach temporarily produces more acid than it did before you started the medication. This can make it feel like your GERD has gotten worse, even if the underlying condition has improved.
The American Gastroenterological Association notes that either gradual tapering or abrupt discontinuation can be considered, depending on the situation. For people taking a PPI twice daily, stepping down to once daily is a common first move. Some doctors switch patients to an H2 blocker or alginate during the transition to manage rebound symptoms, which typically resolve within a few weeks.
Choosing the Right Medication
- Occasional heartburn (once or twice a week): Start with antacids or alginates for quick, on-demand relief.
- Frequent heartburn without esophageal damage: Famotidine taken daily or before triggering meals often provides enough control.
- Frequent symptoms or confirmed erosive esophagitis: A PPI is the standard treatment, typically for an 8-week course, then reassessed.
- Severe or PPI-resistant GERD: Vonoprazan or prescription-strength PPIs at higher doses may be needed.
Lifestyle changes, including elevating the head of your bed, avoiding eating within three hours of lying down, and identifying food triggers, improve outcomes regardless of which medication you use. Many people with mild GERD find that combining an alginate with dietary adjustments is enough to avoid daily medication altogether.

