For occasional heartburn, antacids and alginate-based products (like Gaviscon) carry the fewest risks because they work locally in your stomach rather than being absorbed into your bloodstream. For people who need daily relief, famotidine (Pepcid) is widely considered the safest systemic option, offering meaningful acid reduction with a side effect profile no worse than a sugar pill in pooled analyses. Proton pump inhibitors (PPIs) like omeprazole are the most powerful choice and remain safe for short-term use, but their long-term risk profile is more complex.
The right medicine depends on how frequent and severe your symptoms are. Here’s how each class stacks up on safety.
Antacids and Alginates: Lowest Risk Overall
Over-the-counter antacids containing calcium carbonate (Tums), magnesium, or aluminum neutralize stomach acid on contact. They work within minutes, wear off in one to three hours, and are generally safe with few reported side effects. Because they act locally rather than changing how your body produces acid, they don’t cause the systemic concerns associated with stronger medications.
Each antacid ingredient has its own quirks. Calcium carbonate can cause constipation and gas, and very high doses over long periods can lead to elevated calcium levels. Magnesium-based antacids tend to cause loose stools. Aluminum-based formulas lean toward constipation. Both magnesium and aluminum salts should be used cautiously if you have kidney problems, since impaired kidneys can’t clear these minerals efficiently. Sodium bicarbonate (baking soda antacids) is a poor choice for anyone watching sodium intake, including people with high blood pressure or heart failure.
Alginate-based products like Gaviscon work differently. When the alginate meets stomach acid, it forms a gel “raft” that floats on top of your stomach contents and physically blocks acid from splashing into your esophagus. In clinical trials, this approach showed a tolerability profile similar to placebo, meaning side effects were essentially no different from taking nothing at all. Because the gel barrier stays in your stomach rather than entering your bloodstream, it avoids the drug interactions and nutrient absorption issues that come with stronger medications.
The limitation of antacids and alginates is power. They’re great for occasional heartburn after a heavy meal but aren’t strong enough to heal damage in your esophagus or control daily symptoms.
H2 Blockers: The Safest Daily Option
H2 blockers reduce acid production by blocking histamine signals to your stomach’s acid-producing cells. They’ve been available since the late 1970s and have an excellent long-term safety record. The estimated rate of side effects is 5% to 8%, but pooled analyses of famotidine and ranitidine showed side effects were no greater than placebo. When side effects do occur, they’re typically mild: headache, dizziness, diarrhea, or constipation.
Famotidine (Pepcid) is the standout in this class. It has the cleanest interaction profile, meaning it’s unlikely to interfere with other medications you take. This matters especially if you’re on a blood thinner like clopidogrel (Plavix). The FDA specifically warns against combining clopidogrel with certain PPIs because they can reduce the blood thinner’s effectiveness. Famotidine doesn’t have this problem. In one study, famotidine showed no meaningful inhibition of the enzymes that activate clopidogrel, even at high concentrations.
Cimetidine (Tagamet), the oldest H2 blocker, is the exception in this class. It strongly inhibits several liver enzymes responsible for processing other drugs, which can lead to significant interactions. If you take multiple medications, famotidine is the better choice.
H2 Blockers and Older Adults
One caveat worth knowing: the American Geriatrics Society’s Beers Criteria, a widely used guide for medication safety in people over 65, flags all H2 blockers as potentially inappropriate for older adults who are at risk of delirium. This doesn’t mean they’re dangerous for every older person, but it’s worth discussing with a doctor if confusion or cognitive changes are a concern.
PPIs: Most Effective but With Trade-Offs
Proton pump inhibitors, including omeprazole (Prilosec), esomeprazole (Nexium), lansoprazole (Prevacid), and pantoprazole (Protonix), are the most powerful acid suppressors available. They shut down the stomach’s acid pumps directly and are the only medications proven to heal erosive damage in the esophagus. The American College of Gastroenterology recommends PPIs as first-line treatment for confirmed reflux disease, typically as an eight-week course taken once daily before a meal.
For short-term use, PPIs are well tolerated. The most common side effects are headache, diarrhea, constipation, and dizziness, similar to H2 blockers. The safety questions arise with long-term use, which is where the research gets more nuanced.
A meta-analysis of over 6.8 million people found PPI users had a 72% increased relative risk of developing chronic kidney disease compared to non-users. PPI use is also associated with a roughly 28% increased risk of major bone fractures, and long-term use of two years or more raises the risk of vitamin B12 deficiency. PPIs also increase susceptibility to certain gut infections, more so than H2 blockers, likely because stomach acid is one of your body’s defenses against ingested bacteria.
These numbers sound alarming, but context matters. A 72% increase in relative risk sounds large, but if the baseline risk is small, the absolute increase in your personal risk remains modest. Still, these findings are why guidelines recommend using the lowest effective dose for the shortest necessary time, and attempting to step down to an H2 blocker or stop entirely when symptoms are controlled.
The Rebound Problem With PPIs
One underappreciated safety issue with PPIs is what happens when you stop taking them. After weeks or months of suppressed acid production, your stomach compensates by ramping up the hormonal signals that drive acid secretion. When you suddenly stop the medication, acid production can temporarily spike above your original baseline levels, a phenomenon called rebound acid hypersecretion.
Symptoms typically appear 5 to 14 days after stopping and last about 4 to 5 days on average, though some people experience them three to four weeks later. After more than a year of PPI use, this rebound effect can persist for over 8 weeks but generally resolves within 6 months. This rebound can make it feel like you “need” the medication, creating a cycle that’s difficult to break. Tapering the dose gradually rather than stopping abruptly helps minimize this effect.
Safety During Pregnancy
Heartburn is extremely common during pregnancy, and the safest starting point is antacids or famotidine. If those aren’t enough, PPIs are considered safe for pregnant women. All PPIs except omeprazole carry an FDA pregnancy category B rating, meaning animal studies showed no harm and human data is reassuring. Omeprazole carries a category C rating due to limited early data, but multiple studies since then have found it to be as safe as any other PPI during pregnancy.
Sodium bicarbonate antacids should be avoided in pregnancy due to risks of fluid overload and metabolic imbalances for both mother and baby.
Matching the Medicine to Your Symptoms
For heartburn that happens once or twice a week after meals, an antacid or alginate product offers fast relief with virtually no safety concerns. If you’re dealing with symptoms several times a week, famotidine taken daily provides stronger, longer-lasting control with a side effect profile comparable to placebo and minimal drug interactions.
PPIs are appropriate when you have frequent symptoms that don’t respond to H2 blockers, or when a doctor has confirmed erosive esophagitis or Barrett’s esophagus. For people with moderate to severe esophageal damage (LA grade C or D), long-term PPI therapy is recommended because the risk of disease progression outweighs the medication’s long-term concerns. For everyone else, the goal is to use PPIs for the shortest effective period, then step down to an H2 blocker or stop if symptoms allow.
If you take clopidogrel or other medications processed through the same liver enzymes, pantoprazole is the least likely PPI to cause interactions, and famotidine is an even safer alternative.

