Proton pump inhibitors (PPIs) are among the most widely used medications in the world. Omeprazole, esomeprazole, lansoprazole, and pantoprazole are available by prescription and over the counter, and many people take them for years. H2 blockers such as famotidine are milder cousins that also reduce stomach acid.
These are genuinely useful drugs. They help manage reflux, protect the esophagus, heal ulcers, and prevent stomach bleeding in people on certain other medications. The point of this brief isn’t to argue against them. It’s to explain a side effect that’s easy to miss: stomach acid does more than cause heartburn, and turning it down for a long time can affect how well you absorb a few nutrients.
Why Stomach Acid Matters for Absorption
Acid does a few jobs in nutrient absorption:
- It releases vitamin B12 from the proteins it’s bound to in food.
- It helps convert non-heme iron (the kind in plants and fortified foods) into a form the gut absorbs more easily.
- It helps dissolve calcium carbonate, the most common form in supplements and antacids.
PPIs block the final step of acid production and can cut it dramatically. H2 blockers reduce it less. Over months to years, that can add up.
Vitamin B12: The Best-Documented Link
This is the association with the most consistent research behind it. Observational studies have found that people who used PPIs or H2 blockers for two years or more were more likely to have low B12 status than non-users, with higher doses linked to greater risk. The risk isn’t universal, and most users don’t become deficient, but it’s real enough that many clinicians check B12 in long-term users.
B12 deficiency develops slowly because the liver stores years’ worth. When it appears, symptoms can include fatigue, numbness or tingling in the hands and feet, balance problems, memory changes, and a specific type of anemia. Nerve symptoms can become lasting if deficiency goes on too long, which is why catching it early matters.
Risk stacks up in certain groups: adults over 50 (who absorb food B12 less well anyway), people taking metformin, and people who eat little or no animal food. We cover the age-related side of this in our research brief on nutrient absorption and aging.
The useful detail: The crystalline vitamin B12 in supplements and fortified foods isn’t bound to protein, so it doesn’t need stomach acid to be released. That’s why oral supplements tend to work for long-term PPI users.
Dose: For maintenance, typical supplement doses run 25 to 250 mcg/day. If a blood test shows deficiency, a clinician may use higher oral doses (often around 1,000 mcg/day) or injections, depending on severity. B12 has no established upper limit and is considered very low risk.
Magnesium: Uncommon but Potentially Serious
Low blood magnesium (hypomagnesemia) is a less common but more urgent concern. Case reports and observational data have linked it to long-term PPI use, usually after a year or more, and regulators have added warnings to PPI labels. The mechanism appears to involve reduced magnesium absorption in the intestine rather than stomach acid itself, which may be why it happens with PPIs but is rarely reported with H2 blockers.
Symptoms of significant deficiency can include muscle cramps and spasms, tremor, fatigue, irregular heartbeat, and, in severe cases, seizures. Low magnesium can also lower potassium and calcium.
The risk is higher in people who also take diuretics (especially loop or thiazide types) or digoxin, where low magnesium makes heart rhythm problems more likely. In some reported cases, supplementation alone didn’t fully correct levels while the PPI continued.
Practical approach: If you’ve used a PPI long-term and take a diuretic or digoxin, or you notice cramps, tremor, or palpitations, ask your clinician about checking magnesium. If supplementation is recommended, supplemental magnesium is typically 100 to 350 mg/day. The upper limit for supplemental magnesium in adults is 350 mg/day unless a clinician directs otherwise. People with kidney disease should not take magnesium without medical guidance, because impaired kidneys can’t clear it.
Calcium and Bone Health: An Association, Not a Verdict
Observational studies have linked long-term, high-dose PPI use with a modestly higher risk of hip, wrist, and spine fractures, and regulators added fracture language to labels. Whether PPIs directly cause this is still debated. People who need long-term PPIs often differ from non-users in age, other medications, and overall health, and studies can’t fully adjust for that.
Reduced calcium carbonate absorption is one proposed explanation, but the evidence for a direct calcium mechanism is mixed.
Reasonable steps: Get calcium mostly from food. If you supplement, calcium citrate absorbs well without stomach acid, while calcium carbonate absorbs best with a meal. Take no more than about 500 mg at once, and aim for a total intake from food and supplements of roughly 1,000 to 1,200 mg/day depending on age and sex. Our calcium guide covers forms and limits in more detail.
Iron: Relevant for Some
Because acid helps with non-heme iron absorption, long-term acid suppression has been linked to lower iron stores in some studies. The effect seems most relevant for people who already have other risk factors, such as heavy menstrual periods, a plant-based diet, frequent blood donation, or a digestive condition.
Don’t take iron “just in case.” Excess iron is harmful, and supplements can cause constipation and stomach upset. If you’re a long-term PPI user with fatigue or known risk factors, ask for a ferritin and iron panel first. Our guide to blood tests before supplementing explains which labs are useful.
What About Zinc and Vitamin C?
Some small studies suggest acid suppression may modestly reduce zinc absorption and lower vitamin C levels in stomach fluid. The clinical significance is unclear, and routine supplementation isn’t generally recommended for these.
Interactions and Timing
- Don’t stop your PPI abruptly. Many people get rebound acid hypersecretion, temporary heartburn that’s worse than before, for a few weeks. If you think you no longer need the medication, ask your prescriber about a gradual taper.
- Calcium, magnesium, and iron can interfere with some medications, including levothyroxine and certain antibiotics (tetracyclines and fluoroquinolones). Spacing them by several hours is usually recommended. See our supplement-drug interactions guide.
- Antacids count too. Calcium- or magnesium-based antacids add to your total mineral intake, which matters for upper limits and kidney health.
- Pregnancy and nursing: Nutrient needs change, so check with your provider before adding anything.
Bottom Line
PPIs and H2 blockers are effective, often necessary medications, and most people who take them won’t develop a meaningful deficiency. The best-supported concern with long-term use is lower vitamin B12, which oral supplements address well. Low magnesium is less common but can be serious, especially with diuretics or digoxin. The practical move isn’t to quit your medication. It’s to ask your prescriber whether you still need it at the current dose, and whether periodic B12 and magnesium checks make sense for you.
This article is for educational purposes only and is not medical advice. Talk to a qualified healthcare provider before starting or stopping any supplement or medication, especially if you are pregnant, nursing, taking medication, or managing a health condition.