Verified Supplement Data Primary-sourced

H2 Blockers & Antacids: B12, Iron, and What to Watch

By Erin Rose · Published · Methodology · About Us

The short version: H2 blockers (famotidine, cimetidine, nizatidine) and simple antacids (Tums, Mylanta) are the milder cousins of PPIs. They lower stomach acid less completely and, for most people, more briefly. But acid is still what your body uses to pull vitamin B12 loose from food and to help convert iron into a form your gut can absorb. A large JAMA case-control study of nearly 26,000 B12-deficient patients found that both PPI and H2 blocker users had elevated rates of B12 deficiency — H2 blockers around 25% higher risk, PPIs around 65% higher (PMID 24327038). The direction is the same as PPIs; the size of the effect is smaller.

Who this matters for: people taking an H2 blocker or a daily antacid every day, long term — not someone who takes a Tums after a big dinner or a Pepcid before a night out. Roughly 15 million Americans use H2 blockers regularly.

What to do: if you are a daily, long-term user, add a basic oral B12 supplement (any form works fine) and, if a blood test shows you actually need it, an iron supplement taken a few hours apart from your medication. Ask your doctor about periodic B12 testing if you have been on daily therapy for a long stretch. Do not stop the medication to "fix" this — talk to your doctor first.

Are You on an H2 Blocker or Antacid?

This class covers two different kinds of over-the-counter and prescription heartburn relief. Both work by reducing stomach acid, but through different mechanisms and to different degrees:

H2 blockers and common antacids — generic and brand names
Generic NameBrand NameTypeStatus
FamotidinePepcid, Pepcid ACH2 blockerAvailable (OTC and Rx)
CimetidineTagamet, Tagamet HBH2 blockerAvailable (OTC and Rx)
NizatidineAxidH2 blockerAvailable (Rx, limited OTC)
RanitidineZantac (original formulation)H2 blockerWithdrawn from the US market in 2020 — NDMA impurity concern
Calcium carbonateTums, RolaidsAntacidAvailable OTC
Aluminum/magnesium hydroxideMylanta, MaaloxAntacidAvailable OTC

A plain note on ranitidine: the FDA pulled ranitidine (original Zantac) from the market in April 2020 after independent and FDA testing found it could contain NDMA, a probable human carcinogen, and that NDMA levels could increase over time or with storage above room temperature. If you still have old ranitidine tablets in a cabinet somewhere, throw them out. Products sold under the "Zantac" name today contain famotidine, a different drug — not the withdrawn ranitidine formula.

Why This Is the Milder Sibling of PPIs

H2 blockers and PPIs both reduce stomach acid, but they work differently and to different degrees. PPIs shut down the acid pump itself, suppressing acid production by 90-99% for 16-24 hours per dose. H2 blockers block a different signal — the histamine receptor that tells acid-producing cells to turn on — and the suppression is generally less complete and, for many people, shorter-acting. Antacids like Tums do not block acid production at all; they simply neutralize the acid that is already there, which is why their effect on absorption is more limited and more tied to timing around a dose.

This matters because stomach acid does two jobs relevant here: it helps cleave vitamin B12 free from the protein in food so it can be absorbed, and it helps convert dietary iron into the ferrous form your intestine actually takes up. Lower acid, less completely and less often than a PPI, still means somewhat less of both jobs get done — just not to the same extent.

Be honest about the gradient: this is not "H2 blockers are just as bad as PPIs." The JAMA data below shows a real gap between the two — H2 blockers carry meaningfully lower risk than PPIs. It is also not "H2 blockers are totally fine." The same data shows H2 blocker users still had elevated B12 deficiency compared to non-users. Both things are true at once.

The Evidence: B12 and Iron

B12 — The Landmark Study Covers H2 Blockers Too

Most people have heard that PPIs are linked to B12 deficiency. Fewer know the same landmark study also looked at H2 blockers. Lam and colleagues ran a case-control study of 25,956 patients with diagnosed B12 deficiency against 184,199 matched controls, published in JAMA (PMID 24327038). PPI use for 2+ years carried an odds ratio of 1.65 for B12 deficiency. H2 blocker use for 2+ years carried an odds ratio of about 1.25 — smaller, but still a statistically significant, real increase in risk, not a null result.

That fits the broader clinical picture. Acid suppression in general — not just from PPIs — is listed as a recognized cause of vitamin B12 deficiency in clinical review literature aimed at primary care physicians (PMID 28925645). The mechanism is the same one at play with PPIs, just with a smaller drop in acid: less acid means B12 stays bound to food protein longer and less of it gets freed up for absorption.

Iron — Acid Suppression Reduces Absorption, Even in Healthy People

Stomach acid is not optional for iron absorption — it is one of the steps that converts dietary (nonheme) iron into the form your gut lining can actually pull in. A controlled study measuring iron absorption during gastric acid suppression found reduced absorption not just in people with iron-handling disorders, but in healthy control subjects too (PMID 33949198). That is the relevant point for H2 blocker and antacid users: you do not need an underlying iron disorder for acid suppression to measurably cut into how much iron you absorb from a meal.

The iron effect, like the B12 effect, tracks with how much and how long acid is suppressed. A brief, occasional dip in stomach acid from a Tums after dinner does not add up to much. Daily, sustained acid suppression from a long-term H2 blocker regimen does.

Nutrient Impact at a Glance

H2 blockers and antacids — nutrient impact summary
Nutrient Mechanism Evidence Compared to PPIs What to Do
Vitamin B12 Less acid available to free B12 from food protein OR ~1.25 for deficiency with 2+ years of H2 blocker use (PMID 24327038) Real, but smaller than PPIs (OR ~1.65) Basic oral B12 supplement, any form, for long-term daily users
Iron Less acid available to convert dietary iron into an absorbable form Measurable reduction in absorption during acid suppression, including in healthy controls (PMID 33949198) Real, generally smaller effect than with near-total PPI acid suppression Iron only if a blood test confirms low levels; take apart from the medication

What to Take — If You Take This Daily, Long Term

This section is for daily, long-term users — people taking an H2 blocker or antacid every day for months or years, not people reaching for a Tums once in a while. If that is not you, you can skip straight to the FAQ.

Vitamin B12

Any oral B12 supplement works. You do not need a special sublingual or "high-absorption" formulation — B12 in a supplement is already free of food protein, so the acid-dependent step it needs to bypass is already bypassed. A basic 500-1,000 mcg oral B12, methylcobalamin or cyanocobalamin, taken daily, is a reasonable and cheap safeguard for long-term users. Ask your doctor about a periodic B12 blood test (serum B12, and methylmalonic acid if the result is borderline) if you have been on daily therapy for a long time — it is a good idea, not an emergency.

Vitamin B12 supplements ranked by cost per day
ProductDoseDeliveryCertificationCost/DayBuy
Nature Made Vitamin B12 1000 mcg Sublingual Fast Dissolve 1,000 mcg 1 fast dissolve tablet USP Verified $0.11 Buy on Amazon
Jarrow Formulas Methyl B-12 1000 mcg Lemon 1,000 mcg 1 chewable tablet None $0.12 Buy on Amazon
NOW Foods Methyl B-12 5000 mcg Lozenges 5,000 mcg 1 lozenge None $0.25 Buy on Amazon
Solgar Methylcobalamin (Vitamin B12) 5000 mcg Sublingual Nuggets 5,000 mcg 1 nugget (sublingual) None $0.30 Buy on Amazon
Thorne Vitamin B12 as Methylcobalamin 1 mg 1,000 mcg 1 capsule NSF Certified for Sport $0.40 Buy on Amazon

Our Picks

Best Value: Nature Made Vitamin B12 1000 mcg Sublingual Fast Dissolve — $0.11/day. 1000mcg vitamin B12 sublingual fast dissolve. USP Verified. Note: uses cyanocobalamin, not methylcobalamin. $0.10/day.

Budget: Jarrow Formulas Methyl B-12 1000 mcg Lemon — $0.12/day. 1000mcg methylcobalamin chewable tablet. Active B12 form. $0.14/day.

Quality: Thorne Vitamin B12 as Methylcobalamin 1 mg — $0.40/day. 1000mcg methylcobalamin capsule. NSF Certified for Sport. Note: swallowed capsule, not sublingual. $0.40/day.

Iron

Get a blood test first. Unlike B12, you should not just add an iron supplement on the assumption that you need it. Ask your doctor for a ferritin test, ideally alongside a complete blood count, before starting. Iron builds up in the body over time and excess iron is not harmless.

If a test confirms low iron, take it apart from your H2 blocker or antacid dose — a few hours apart, not at the same time — and consider iron bisglycinate, a gentler chelated form with less GI upset than ferrous sulfate. Pairing it with vitamin C can help offset the reduced acid available to convert the iron into its absorbable form.

Iron bisglycinate supplements ranked by cost per day
ProductIron/ServingCost/DayCertificationBuy
NOW Foods Iron 36 mg Double Strength (Ferrochel) 36mg $0.10 None Buy on Amazon
Solgar Gentle Iron (Iron Bisglycinate) 25 mg 25mg $0.11 None Buy on Amazon
Thorne Iron Bisglycinate 25 mg 25mg $0.27 NSF Certified for Sport Buy on Amazon
MegaFood Blood Builder 26mg $0.29 NSF Certified Buy on Amazon

When This Actually Matters

The single most important thing on this page is the difference between occasional use and daily, long-term use. Everything above — the JAMA odds ratios, the iron absorption data, the supplement recommendations — is about people who suppress their stomach acid every day, for months or years. That describes a real, sizeable group: roughly 15 million Americans use H2 blockers regularly, and many more reach for an antacid daily for chronic reflux.

It does not describe someone who takes a Tums after Thanksgiving dinner or a Pepcid before a spicy meal a few times a month. That kind of occasional use does not suppress acid long enough or consistently enough to meaningfully change B12 or iron absorption. If your use pattern is occasional, none of this is a reason to worry or to add supplements you do not otherwise need.

And to say it plainly one more time: none of this is a reason to stop taking a medication you need for reflux, ulcer prevention, or any other prescribed use. If you have been on daily H2 blocker or antacid therapy for a long time, the fix is to add a cheap B12 supplement, get an iron test if you're concerned, and talk to your doctor about periodic monitoring — not to discontinue the medication on your own.

If you are on a PPI instead of an H2 blocker, the depletion picture is broader and generally larger in magnitude — see our full PPI nutrient depletion guide for the complete rundown, including magnesium, calcium, and vitamin C, which are not meaningfully affected by H2 blockers or antacids the way they are by PPIs.

Frequently Asked Questions

Do H2 blockers and antacids cause vitamin B12 or iron deficiency?

They can, with long-term daily use — but the effect is real and smaller than with PPIs, not absent. A large JAMA case-control study of 25,956 B12-deficient patients found that both PPI users AND H2 blocker users had higher rates of B12 deficiency; H2 blockers carried roughly a 25% higher risk (OR about 1.25) versus roughly 65% for PPIs (OR 1.65) (PMID: 24327038). Acid suppression in general is a recognized, listed cause of B12 deficiency (PMID: 28925645). Stomach acid also helps convert dietary iron into a form your gut can absorb, and suppressing that acid measurably reduces iron absorption, including in healthy people with no iron disorder (PMID: 33949198).

Are H2 blockers safer than PPIs for nutrient absorption?

Generally, yes — by degree, not by exemption. H2 blockers reduce stomach acid less completely than PPIs, and the same JAMA study found their B12 deficiency risk was lower than PPIs (OR 1.25 vs 1.65). But "lower risk" is not "no risk." If you take an H2 blocker like famotidine every day for years, you are still suppressing acid every day for years, and the nutrient-absorption math still applies, just to a smaller degree.

Is ranitidine (Zantac) still available?

No. Ranitidine (brand name Zantac) was withdrawn from the US market in 2020 after testing found it could contain NDMA, a probable human carcinogen, and that NDMA levels could rise the longer the product sat on a shelf or in warm storage. If you have old ranitidine in your medicine cabinet, throw it out. "Zantac" products sold today use a different drug, famotidine, and are not the same medication despite the shared brand name.

Should I take a B12 supplement if I take famotidine or Tagamet every day?

If you take an H2 blocker daily for an extended period (think months to years, not an occasional dose), a basic B12 supplement is a reasonable, low-cost safeguard — any oral form works. Periodic B12 testing is also worth asking your doctor about if you have been on daily therapy for a long stretch. This is not urgent for someone taking famotidine occasionally for heartburn.

Does this apply to occasional Tums or Pepcid use for heartburn?

No, not meaningfully. The nutrient-absorption concerns here are about daily, long-term acid suppression — the kind of use pattern that keeps stomach acid low day after day for months or years. Taking a Tums after a big meal or a Pepcid before a spicy dinner does not suppress your acid long enough or often enough to matter for B12 or iron. This is a long-term-use issue, not an occasional-relief issue.

Related Guides

Medication-Nutrient Depletion

Related Supplement Guides

Sources

  1. Lam JR, Schneider JL, Zhao W, Corley DA. Proton pump inhibitor and histamine 2 receptor antagonist use and vitamin B12 deficiency. JAMA. 2013;310(22):2435-2442. Case-control study of 25,956 B12-deficient patients; H2 blocker use 2+ years OR 1.25, PPI use 2+ years OR 1.65. PMID: 24327038
  2. Langan RC, Goodbred AJ. Vitamin B12 Deficiency: Recognition and Management. Am Fam Physician. 2017;96(6):384-389. Clinical review listing acid-suppressing medications, including H2 blockers, as a recognized cause of B12 deficiency. PMID: 28925645
  3. Moris W, Verhaegh PLM, Verbeek J, Swinkels DW, Laarakkers CM, Masclee AAM, Koek GH, van Deursen CTBM. Absorption of nonheme iron during gastric acid suppression in patients with hereditary hemochromatosis and healthy controls. Am J Physiol Gastrointest Liver Physiol. 2021;320(6):G1105-G1110. Reduced iron absorption during acid suppression, seen in healthy controls as well as hemochromatosis patients. PMID: 33949198
  4. U.S. Food and Drug Administration. FDA requests removal of all ranitidine products (Zantac) from the market. April 1, 2020. NDMA impurity concern; ranitidine withdrawn from US market.