What Vitamins Does Metformin Deplete?

Metformin’s best-documented nutritional effect is lowering vitamin B12 levels, and this happens frequently enough that many researchers argue routine screening should be standard practice for anyone on the drug long term. Beyond B12, there is credible evidence that metformin can reduce levels of folate, vitamin B6, and magnesium, though the data for these are thinner. One nutrient that metformin does not appear to deplete, despite persistent claims online, is vitamin D. The practical stakes here are real: the symptoms of B12 deficiency look a lot like the complications of diabetes itself, which means they often get missed.

Vitamin B12 Is the Big One

Of all the nutrients linked to metformin use, vitamin B12 has by far the strongest and most consistent evidence behind it. Studies of people with type 2 diabetes on metformin routinely find that a substantial fraction are B12-deficient. One study of 329 long-term metformin users found that roughly two-thirds had outright B12 deficiency, with another quarter in the borderline range, leaving only about one in ten with normal levels.1Cureus. Prevalence of Vitamin B12 Deficiency in Type 2 Diabetic Patients on Long-Term Metformin Therapy Another study comparing diabetic patients to a control group found that 70% of those with diabetes had B12 deficiency, and that metformin monotherapy specifically carried an eightfold higher risk.2CrossRef. Vitamin B12 Deficiency in Type 2 Diabetes Mellitus: Prevalence, Risk Factors, and the Influence of Metformin These are striking numbers, even accounting for the fact that diabetes itself contributes to lower B12 independently of medication.

The relationship between metformin dose and B12 levels is clearer than the relationship between duration of use and B12 levels, which surprises most people. A study that broke daily metformin doses into four tiers found that B12 dropped in a dose-dependent fashion. After adjusting for age, sex, alcohol use, and other variables, patients taking 1,500 to 2,000 mg per day had more than three times the odds of B12 deficiency compared to those on less than 1,000 mg, and patients taking 2,000 mg or more had nearly nine times the odds.3Wolters Kluwer Health. Association between metformin dose and vitamin B12 deficiency in patients with type 2 diabetes Duration of use also matters in some analyses: one study found that using metformin for three or more years roughly doubled the adjusted odds of deficiency compared to shorter use, and that each additional gram per day nearly tripled the risk.4JAMA Network. Risk factors of vitamin B(12) deficiency in patients receiving metformin But when both dose and duration are examined together, dose consistently emerges as the stronger predictor.

How Metformin Lowers B12

B12 absorption happens in the last stretch of the small intestine, where the vitamin binds to receptors on the intestinal wall in a process that depends on calcium. Metformin interferes with this calcium-dependent step. A well-known study demonstrated that giving supplemental calcium to metformin users reversed the B12 malabsorption.5PubMed Central. Increased intake of calcium reverses vitamin B12 malabsorption induced by metformin A more recent pilot study in healthy adults confirmed this directly using a labeled B12 tracer: B12 absorption dropped when metformin was given and bounced back when calcium was added.6PubMed Central. Effect of calcium supplementation on reversing metformin-based inhibition of vitamin B(12) bioavailability in healthy adults using a [(13)C] cyanocobalamin tracer – A pilot study

Metformin also reshapes the gut microbiome in ways that could indirectly affect nutrient absorption. A randomized, double-blind trial in people with treatment-naive type 2 diabetes showed that four months of metformin strongly altered gut microbial composition, affecting pathways that included metal transport.7Nature. Metformin alters the gut microbiome of individuals with treatment-naive type 2 diabetes, contributing to the therapeutic effects of the drug Whether these microbiome shifts directly worsen B12 status is still an open question, but the gut environment clearly changes in ways that go beyond a single mechanism.

What About Folate, B6, and Magnesium?

B12 gets the headlines, but a handful of other nutrients deserve attention. The evidence for each is less robust, but not negligible.

Folate has been linked to metformin use in observational studies, with some data suggesting that long-term therapy raises the probability of folate deficiency alongside B12 deficiency.8PubMed Central. Adverse effect of metformin therapy on serum vitamin B12 and folate: short-term treatment causes disadvantages? Metformin has also been described as having antifolate-like activity, which is especially relevant in diabetic pregnancies where folate status matters for fetal development.9Europe PMC. Interaction between Metformin, Folate and Vitamin B12 and the Potential Impact on Fetal Growth and Long-Term Metabolic Health in Diabetic Pregnancies The folate story is complicated because B12 and folate metabolism overlap, and a B12 deficit can make folate look low even when dietary intake is adequate. Still, the finding has shown up in enough studies that it is worth tracking, particularly for people who are pregnant or planning to be.

Vitamin B6 is a less commonly discussed casualty. A study of older adults found that metformin use was associated with a 48% higher risk of B6 deficiency, measured by plasma levels of the active form of B6. The same study found a 45% higher risk of B12 deficiency in metformin users, so the two depletions appear to travel together.10Oxford Academic. Hyperglycemia and Metformin Use Are Associated With B Vitamin Deficiency and Cognitive Dysfunction in Older Adults B6 does not get talked about much in clinical guidelines for metformin users, but given its role in nerve function and mood regulation, the finding is worth watching.

Magnesium has a more complicated relationship with metformin. Low magnesium is common in type 2 diabetes for reasons that have nothing to do with metformin, but the drug may add an extra push. One large cohort study found that patients taking metformin, whether alone or with another diabetes drug, had lower serum magnesium levels and were more likely to be magnesium-deficient than patients managing diabetes with diet alone.11PubMed Central. The Relationship between Hypomagnesemia, Metformin Therapy and Cardiovascular Disease Complicating Type 2 Diabetes: The Fremantle Diabetes Study A recent case report and narrative review described the mechanism as partly gastrointestinal wasting and partly changes in how the kidneys handle magnesium, though the net effect is still debated because metformin also appears to reduce how much magnesium is excreted in urine.12Europe PMC. Hypomagnesemia With Metformin Use in Diabetes Mellitus: A Case and Narrative Review Disentangling metformin’s effect from diabetes-related magnesium loss is genuinely hard, and the evidence here is thinner than for B12.

Vitamin D Is Probably Not Affected

You will find vitamin D on many lists of “nutrients metformin depletes,” but controlled evidence does not support the claim. A study that adjusted for relevant variables found no significant difference in vitamin D levels between metformin users and nonusers, and metformin did not interfere with vitamin D supplementation even in patients being treated for osteoporosis.13PubMed Central. Effect of metformin therapy on vitamin D and vitamin B₁₂ levels in patients with type 2 diabetes mellitus A post-hoc analysis of a randomized, placebo-controlled trial lasting 16 months reached the same conclusion: metformin had no meaningful effect on total vitamin D levels compared to placebo.14PubMed Central. Long-term treatment with metformin in type 2 diabetes and vitamin D levels: A post-hoc analysis of a randomized placebo-controlled trial People with type 2 diabetes are often vitamin D-deficient for other reasons, including obesity, limited sun exposure, and kidney changes, but pinning that on metformin specifically does not hold up when the confounders are accounted for.

The Symptoms That Get Missed

The reason metformin-induced B12 depletion matters so much in practice is that its symptoms mimic diabetic complications. Peripheral neuropathy, tingling and numbness in the hands and feet, is one of the most common presentations of both diabetic nerve damage and B12 deficiency. Case reports describe patients whose “diabetic neuropathy” turned out to be B12 deficiency from metformin, and whose symptoms improved after B12 supplementation.15Lippincott Williams & Wilkins / South Medical Journal. Metformin-induced vitamin B12 deficiency presenting as a peripheral neuropathy The clinical details are usually different on close examination, but in a busy clinic, the distinction is easy to miss, especially since B12 deficiency can occur without the classic sign of anemia.

Homocysteine levels offer an important clue. When B12 drops, homocysteine tends to rise because B12 is needed to convert homocysteine into methionine. A study comparing metformin users to non-users found that the metformin group had significantly higher homocysteine and methylmalonic acid levels, both functional markers of B12 deficiency, even when serum B12 levels alone might not have triggered concern.16Diabetes Care. Association of Metformin, Elevated Homocysteine, and Methylmalonic Acid Levels and Clinically Worsened Diabetic Peripheral Neuropathy Elevated homocysteine is not just an abstract lab finding: it has been independently associated with diabetic retinopathy risk, suggesting that metformin-driven B12 depletion could contribute to vascular complications through this pathway.17PubMed Central. Relationship between metformin use, vitamin B12 deficiency, hyperhomocysteinemia and vascular complications in patients with type 2 diabetes

Megaloblastic anemia, where red blood cells become abnormally large, is another recognized consequence. Case reports document metformin users developing full-blown megaloblastic anemia from B12 deficiency, with symptoms resolving after B12 injections.18Europe PMC. Metformin Treatment: A Potential Cause of Megaloblastic Anemia in Patients with Type 2 Diabetes Mellitus In practice, the anemia can be subtle. Mean corpuscular volume (a measure of red blood cell size) tends to run higher in metformin users, but not always high enough to trigger an obvious flag on routine bloodwork.19PubMed Central. Influence of metformin intake on serum vitamin B12 levels in patients with type 2 diabetes mellitus

Cognitive Effects and B12 Depletion

There is a genuinely unsettled question about whether metformin-driven B12 loss affects brain function. Metformin itself may have protective effects against dementia through its metabolic benefits, but the B12 deficiency it causes works in the opposite direction. Some research suggests that long-term, high-dose metformin use loses its protective role against dementia precisely because of the associated B12 depletion.20PubMed Central. The Correlation between Metformin Use and Incident Dementia in Patients with New-Onset Diabetes Mellitus: A Population-Based Study

A prospective study tracked newly diagnosed diabetes patients over six months of metformin therapy and found that while blood sugar control improved, B12 levels dropped and homocysteine rose. At the same time, a measure of cognitive processing speed worsened, suggesting that functional B12 deficiency was already affecting brain function within months of starting the drug.21Cureus. Assessing Cognitive Responses and Serum Vitamin B₁₂ Levels in Newly Diagnosed Type 2 Diabetes Mellitus Patients Treated With Metformin: A Prospective Study This is a small study, and cognitive testing in a short window is tricky to interpret, but it adds to a pattern that researchers find concerning: the neurological consequences of metformin-driven B12 depletion may start earlier than previously assumed.

What Makes Some People More Vulnerable

Not everyone on metformin develops B12 deficiency, and the risk is not distributed evenly. Beyond dose, several factors increase vulnerability. Older age, higher body mass index, and longer duration of diabetes all showed statistically significant associations with B12 deficiency in the study of 329 metformin users mentioned earlier.1Cureus. Prevalence of Vitamin B12 Deficiency in Type 2 Diabetic Patients on Long-Term Metformin Therapy

Taking a proton pump inhibitor alongside metformin may compound the risk. PPIs reduce stomach acid, which is needed to free B12 from food proteins. An analysis of adverse event reports found that combining metformin with pantoprazole, a common PPI, was associated with significantly more hospitalizations and life-threatening events compared to pantoprazole alone.22Multidisciplinary Digital Publishing Institute. Vitamin B12 Deficiency Associated with Metformin and Proton Pump Inhibitors and Their Combinations: Results from a disproportionality and Interaction Analysis If you take both a PPI and metformin, your doctor should be paying extra attention to your B12 levels.

Screening and Supplementation

Despite the strength of the evidence linking metformin to B12 depletion, no universally accepted clinical guideline tells doctors exactly when or how often to screen.23Korean Journal of Family Medicine. Metformin-Induced Vitamin B12 Deficiency in Patients with Type 2 Diabetes: A Narrative Review with a Practical Approach for Screening, Diagnosing, and Managing Vitamin B12 Deficiency In practice, many endocrinologists and primary care doctors check B12 annually for long-term metformin users, but the approach varies widely. A diagnostic workup for suspected deficiency typically combines serum B12 with homocysteine and methylmalonic acid, since serum B12 alone can miss functional deficiency.24Elsevier / PubMed Central. Recommendations for diagnosis and management of metformin-induced vitamin B12 (Cbl) deficiency

For supplementation, both oral and intramuscular B12 appear to work. A study comparing the two routes in metformin-treated patients with confirmed B12 deficiency found no significant difference in B12 levels at three and six months, suggesting that oral supplementation is a reasonable first-line option for most people.25CrossRef. MON-520 Comparison of Oral and Intramuscular Vitamin B12 Supplementation in Metformin-Treated Diabetes Mellitus Patients With Vitamin B12 Deficiency Dose matters, though. A trial testing two oral cyanocobalamin schedules found that daily 1,000 mcg doses for eight weeks raised B12 into the reference range, while a weekly dose of the same amount over 16 weeks brought levels up more modestly. Both approaches improved neurological symptoms and quality of life, but the daily schedule produced clearer biochemical correction.26CrossRef. Possibilities of oral form of cyanocobalamin in pharmacological correction of vitamin B12 deficiency developed in patients with type 2 diabetes mellitus during treatment with metformin

The calcium angle from the mechanism research also has practical implications. Taking calcium with your metformin dose could help preserve B12 absorption, though this strategy is not yet part of standard treatment guidelines. It is one of those situations where the physiology makes sense and the early data support it, but large-scale clinical trials confirming a benefit in routine practice have not been done.

Proton Pump Inhibitors and Compounding Risk

The overlap between PPIs and metformin deserves its own mention because so many people with type 2 diabetes also take acid-reducing medications. Diabetes increases the risk of gastroparesis, reflux, and other GI conditions that get treated with PPIs. Both metformin and PPIs independently lower B12, through different mechanisms. Metformin blocks absorption in the ileum; PPIs reduce the stomach acid needed to release B12 from food in the first place. The combination creates a double hit. If you are on both and have never had your B12 checked, asking your doctor about it is a reasonable step.

Why This Gets Confused With Diabetic Complications

One of the more frustrating aspects of metformin-related B12 depletion is how easily it hides behind diabetes itself. Tingling feet get blamed on diabetic neuropathy. Fatigue gets attributed to blood sugar swings. Cognitive fog gets chalked up to aging or poor metabolic control. Because B12 deficiency can present without anemia, the red blood cell changes that might otherwise raise a flag can be absent.15Lippincott Williams & Wilkins / South Medical Journal. Metformin-induced vitamin B12 deficiency presenting as a peripheral neuropathy The prospective study that tracked cognitive processing speed in new metformin users found measurable slowing within six months, at a point when most clinicians would not yet be thinking about B12 at all.21Cureus. Assessing Cognitive Responses and Serum Vitamin B₁₂ Levels in Newly Diagnosed Type 2 Diabetes Mellitus Patients Treated With Metformin: A Prospective Study

The raised homocysteine that accompanies B12 depletion adds a cardiovascular dimension. In one study, the link between metformin, low B12, high homocysteine, and retinopathy risk formed a clear chain: metformin lowered B12, low B12 raised homocysteine, and elevated homocysteine independently predicted retinopathy.17PubMed Central. Relationship between metformin use, vitamin B12 deficiency, hyperhomocysteinemia and vascular complications in patients with type 2 diabetes This does not mean metformin causes retinopathy. Metformin’s overall metabolic benefits are well established. But it does mean that ignoring its B12-lowering effect could quietly undermine some of the vascular protection the drug is supposed to provide.

Metformin for Non-Diabetic Uses

Metformin is increasingly prescribed off-label for polycystic ovary syndrome, prediabetes, and even as part of anti-aging research protocols. People taking metformin for these purposes often take lower doses and may be younger and healthier than the typical type 2 diabetes population. The nutrient depletion data come almost entirely from studies of people with diabetes, often with other metabolic risk factors. Whether the same degree of B12 depletion occurs at lower doses in metabolically healthier people is not well studied, but the calcium-dependent absorption mechanism does not depend on having diabetes, so there is no biological reason to assume these users are exempt. If you are taking metformin for any reason, periodic B12 monitoring is a reasonable precaution regardless of the indication.