The most effective medicine for acid reflux depends on how often you have symptoms and how severe they are. For occasional heartburn, an antacid or H2 blocker works well. For frequent symptoms (two or more days a week), proton pump inhibitors, or PPIs, are the most potent option available and the treatment that gastroenterology guidelines recommend as first-line therapy.
No single pill is “the best” for everyone. The right choice comes down to how quickly you need relief, how long you need it to last, and whether you’re dealing with actual damage to your esophagus.
Antacids: Fastest Relief, Shortest Duration
Antacids work by directly neutralizing the acid already in your stomach. Products like calcium carbonate (Tums), magnesium hydroxide (Milk of Magnesia), and aluminum hydroxide start working within minutes. That speed makes them ideal for the occasional bout of heartburn after a heavy meal.
The tradeoff is that antacids wear off quickly, typically within one to three hours. They don’t reduce the amount of acid your stomach produces, so they won’t prevent the next episode. If you find yourself reaching for antacids more than twice a week, that’s a signal to consider a stronger option.
H2 Blockers: Moderate Strength, Quick Onset
H2 blockers reduce acid production by blocking histamine receptors on the acid-producing cells in your stomach lining. Famotidine (Pepcid) is the most widely used in this class. These medications can be taken on an as-needed basis because they kick in relatively fast, and they suppress acid for longer than antacids do. Famotidine lasts roughly 30% longer than older H2 blockers like cimetidine.
H2 blockers heal esophageal erosions in about 50% of patients, making them a reasonable middle ground between antacids and PPIs. They’re particularly useful for predictable symptoms. If spicy food or alcohol reliably triggers your reflux, taking an H2 blocker beforehand can head it off. They also play a specific role in nighttime reflux: the American College of Gastroenterology’s 2022 guidelines recommend a bedtime H2 blocker for patients who still experience overnight symptoms despite taking a PPI during the day.
PPIs: The Most Powerful Option
Proton pump inhibitors are the strongest acid-suppressing medications available. They work by irreversibly shutting down the acid pumps in your stomach lining, which reduces acid output far more than H2 blockers can. Common options include omeprazole (Prilosec), esomeprazole (Nexium), and lansoprazole (Prevacid). PPIs heal erosive esophagitis in the majority of patients, including those with severe damage.
PPIs are more effective than H2 blockers, which are more effective than placebo. In studies of patients with heartburn but no visible esophageal damage, PPIs provided a 30% to 35% improvement over placebo for sufficient heartburn control. For patients with esophageal erosions, pooled response rates at four weeks reached 56%. One important detail: PPIs don’t provide instant relief. They need to build up over several days to reach full effect, so they’re designed to be taken daily rather than as needed.
Over-the-counter PPIs like Prilosec OTC come in a 20 mg dose taken once daily for 14 days. Prescription versions may offer higher doses or longer treatment courses. If a standard once-daily PPI isn’t controlling your symptoms, your doctor may increase to twice-daily dosing before trying other approaches.
Alginate-Based Medications
Alginates take a completely different approach. When they mix with stomach acid, they form a gel-like raft that floats on top of your stomach contents and physically blocks acid from splashing up into your esophagus. Products like Gaviscon Advance combine alginates with antacids. One study found alginates more effective than antacids alone for treating reflux. They’re a good option if you want non-systemic relief, meaning the medication works locally in your stomach rather than being absorbed into your bloodstream.
Choosing the Right Level of Treatment
Doctors generally match treatment intensity to symptom severity. If you have mild, occasional heartburn, starting with antacids or an H2 blocker makes sense. If your symptoms are frequent or you have complications like esophagitis, PPIs are the standard starting point. Guidelines recommend titrating down to the lowest effective dose once symptoms are controlled, so you may start on a PPI and step down to an H2 blocker for maintenance.
A few practical considerations can help you decide:
- Symptoms less than twice a week: Antacids or an H2 blocker taken as needed.
- Symptoms twice a week or more: A daily PPI for an initial course of four to eight weeks, since some patients need the full eight weeks to see maximum benefit.
- Nighttime symptoms that persist on a PPI: Adding a bedtime H2 blocker.
- Postmeal symptoms with an upright component: An alginate-based product before or after eating.
Long-Term PPI Safety
PPIs are safe for most people over short courses, but long-term daily use (months to years) carries some risks worth understanding. Meta-analyses have found that long-term PPI users have a modestly increased risk of bone fractures (about 28% higher than nonusers overall), with spine fractures showing the largest increase (49% higher risk). There’s also a small but real association with kidney problems. One large analysis found PPI users had a 36% higher risk of chronic kidney disease and a 44% higher risk of acute kidney injury compared to nonusers.
These are relative increases in risk, not absolute ones. If your baseline risk of a hip fracture is low, a 22% relative increase still leaves you at low risk. But they do matter if you’re taking a PPI indefinitely. This is why guidelines emphasize using the lowest effective dose for the shortest necessary time. If you’ve been on a daily PPI for months and your symptoms are well controlled, it’s worth discussing with your doctor whether you can step down to an H2 blocker or as-needed use.
PPIs can also reduce absorption of vitamin B12 and calcium over time due to the lower acid environment in your stomach, since acid plays a role in releasing these nutrients from food.
Newer Acid Blockers
A newer class of medications called potassium-competitive acid blockers (P-CABs), including vonoprazan, offers faster onset and longer acid suppression than traditional PPIs. They block acid pumps through a different mechanism that doesn’t require the pumps to be actively producing acid first, which is why they work more quickly.
In practice, though, P-CABs have not shown clear superiority over well-dosed PPIs. Early studies suggested vonoprazan outperformed lansoprazole, but when compared against more potent PPIs at optimized doses, the differences disappeared. P-CABs may eventually become a useful alternative, but for now, standard PPIs remain the benchmark.

