Does metformin lower vitamin B12?
Yes. Metformin lowers vitamin B12 [1], more so at higher doses [2] and after years of use [3] [4]. In a trial of people with type 2 diabetes, 10% of those on metformin had a B12 deficiency after 4.3 years, against 3% on a placebo [5]. Low B12 is a common side effect of metformin and affects up to 1 in 10 people who take it [4].
How much does metformin lower B12?
In the studies below, a deficiency meant B12 of about 203 pg/mL (150 pmol/L) or lower, and the first two also counted levels up to 298 pg/mL (220 pmol/L) as borderline [3] [5] [6].
| Who took part | What they took, and what happened |
|---|---|
| 390 adults with type 2 diabetes who used insulin | 850 mg of metformin three times a day, or a placebo, for 4.3 years. B12 in the blood fell by 122 pg/mL (90 pmol/L), or 19%, with metformin and did not change with the placebo. At the end, 10% of the metformin group had a deficiency, against 3% of the placebo group. Another 18% of the metformin group had borderline B12, against 7% of the placebo group [5]. |
| 1,800 overweight adults with raised blood sugar but no diabetes | 850 mg of metformin twice a day, or a placebo, for 3 years, after which the metformin group could keep taking it. After 5 years, 19% of the metformin group had a deficiency or borderline B12, against 10% of the placebo group. After 13 years, 20% of the metformin group and 16% of the placebo group did [3]. |
| People with type 2 diabetes or polycystic ovary syndrome, in 6 trials combined | B12 came out 73 pg/mL (54 pmol/L) lower with metformin than with a placebo or another diabetes medicine. The gap was 107 pg/mL (79 pmol/L) at 2,000 mg of metformin a day or more, and 52 pg/mL (38 pmol/L) below 2,000 mg [1]. |
| Adults aged 50 and over, in a health survey | A deficiency affected 5.8% of people with diabetes who took metformin, 2.4% of those who did not, and 3.3% of people without diabetes [6]. |
By year 13 of the trial of 1,800 adults, the gap between the two groups had shrunk. By then, the placebo group had also taken metformin from their own doctors for 1.7 years on average, while the metformin group had taken it for 9.5 years in total. Among people in the metformin group who were still taking the trial's metformin, the share with a deficiency rose from 5% at 5 years to 9% at 13 years [3].
What are the symptoms of low B12 on metformin?
These are among the symptoms of a lack of B12 [7].
- feeling weak or tired
- a sore or red tongue, sometimes with mouth ulcers
- problems with vision
- problems with memory, understanding and judgement
- numbness, pins and needles, and muscle weakness
- problems with balance and coordination
- psychological problems, from mild depression or anxiety to confusion and dementia
Pale or yellow skin can be another sign [4], and so can trouble concentrating and short-term memory loss, which people sometimes call brain fog [8]. Some of these symptoms can appear before a lack of B12 has led to anaemia, a shortage of healthy red blood cells [7].
Diabetes is the most common cause of nerve damage in the hands and feet, and low B12 is another cause [9]. The two share several symptoms.
| Symptom | Lack of B12 | Diabetic nerve damage |
|---|---|---|
| Pins and needles | Yes [7] | Yes [10] |
| Numbness | Yes [7] | Yes, mostly in the feet [10] |
| Problems with balance or coordination | Yes [7] | Yes [10] |
| Burning or sharp pain in the feet | Not a listed symptom | Yes [10] |
| Problems with memory, understanding and judgement | Yes [7] | Not a listed symptom |
Guidelines ask doctors to look for causes other than diabetes in everyone who has diabetes and nerve damage. A lack of B12 is one of them, especially after years of metformin [11]. The overlap works the other way too: the signs of low B12 can also come from diabetes [4].
A study looked at 122 people with type 2 diabetes and nerve damage. The 59 who had taken metformin for over 6 months had lower B12 than the 63 who had never taken it. The metformin users' nerve damage was also worse, both in a doctor's examination and on nerve tests. The more metformin they had taken in total, the larger these differences were [12]. The study compared metformin users with people who had never taken it, so other differences between the groups, such as how long they had had diabetes, could also play a part.
Does the dose matter, and how fast does B12 fall?
The drop starts early: in a review of four short trials, B12 was already 77 pg/mL (57 pmol/L) lower with metformin than without it after 6 weeks to 3 months [13].
A 1971 study showed how quickly B12 absorption can recover once metformin is stopped. It found poor B12 absorption in 21 of 71 people with diabetes who had taken metformin for a long time. Doctors stopped metformin in 7 of them, and in 6 of the 7, absorption went back to normal within 5 to 28 days [14] [15].
Higher doses lower B12 more. A study of 1,111 adults with type 2 diabetes counted B12 below 300 pg/mL (221 pmol/L) as a deficiency. Compared with less than 1,000 mg of metformin a day, the odds of a deficiency were 3.3 times as high at 1,500 to 2,000 mg and 8.7 times as high at 2,000 mg or more [2].
Three studies found that the years of use matter too. In the trial of 390 adults, the drop in B12 grew over the 4.3 years [5], and in the trial of 1,800 adults, each year of metformin raised the odds of a deficiency by 13% [3]. A third study found that both the dose and the years counted [16]. But two studies found that only the dose counted: the study of 1,111 adults [2] and a study of 550 metformin users at family doctors [17].
How does metformin lower B12?
Your body takes up B12 from food in steps. Stomach acid first frees B12 from the food, and the B12 then binds to intrinsic factor, a protein made in the stomach. The pair travels to the last part of the small intestine, where the gut takes up B12 and intrinsic factor together. This last step needs calcium [14]. The leading explanation is that metformin disturbs this calcium step [3] [14].
Is low B12 on metformin a real lack?
Most studies of metformin and B12 measured total B12, which is all the B12 in the blood. But your cells can use only the active B12 in it, and the rest is inactive [8]. So the question is whether the cells themselves run short of B12.
Signs of a real lack. When cells run short of the B vitamins B12, B6 or folate, the blood substance homocysteine builds up [18]. In the trial of 1,800 adults, high homocysteine was common in the metformin group: after 5 years, 49% of those with a deficiency had it, and 20% of those with borderline B12. After 13 years, the shares were 55% and 36%. The researchers took this as a sign that the cells lacked B12 [3].
Signs that the cells still had enough. In the study of 550 metformin users, 28% had low total B12, but only 4% had low active B12 [17].
In a trial, 52 women with polycystic ovary syndrome took metformin or a placebo for 6 months. Metformin lowered their total B12, but active B12 stayed the same: the drop was all in the inactive form. Methylmalonic acid (MMA) is another substance that builds up in the blood when cells lack B12, and in this trial it did not rise [19].
A 2018 review concluded that metformin clearly lowers B12 in the blood, but that it is unclear whether this leads to a lack in the cells. In the review's view, years of metformin can push people who start with low or low-normal B12 into a real lack. For people who start with enough B12, the review leaves open whether the drop goes that far [14].
Guidelines start with a test of total or active B12. When the result lies in the grey zone between a clear deficiency and a normal level, people with symptoms can get a second test, of MMA [8]. Our article on the B12 blood test gives the levels doctors use and explains what can make a B12 result misleading.
Is metformin linked to memory or thinking?
Four of the studies below linked metformin with less dementia or with better memory or thinking [20] [21] [22] [23]. However, the evidence is mixed: two others linked it with poorer memory and thinking or with higher odds of Alzheimer's disease [24] [25], and a review of 19 studies found no link [26]. Most of these studies compared people who took metformin with people who did not, and such studies cannot show whether metformin itself made the difference.
This matters because metformin is taken mostly by people with type 2 diabetes, and diabetes itself raises the risk of dementia [27]. So the groups in these studies differ in more than metformin, for example in how long they have had diabetes and how severe it is, and these differences alone can make one group look better or worse. Of the single studies in the table, only the trial of 80 adults gave people metformin or a placebo at random.
| Who took part | What was found |
|---|---|
| 3.5 million people with type 2 diabetes, in 20 studies combined | People on metformin developed dementia 24% less often than people with diabetes who did not take it, and 12% less often than people on sulfonylureas, another group of diabetes medicines. In people newly diagnosed with diabetes, there was no difference, and the size of the link varied widely between studies [20]. |
| 123 people aged 70 to 90 with diabetes, followed for 6 years | Overall thinking and planning declined more slowly in the 67 people on metformin than in the 56 not on it, and those on metformin also developed dementia less often [21]. |
| 587 adults aged 60 and over with type 2 diabetes | The 408 on metformin did better on a test of speed of thinking than the 179 on other diabetes medicines. The gap was smaller once the researchers allowed for other differences between the groups [22]. |
| 80 overweight adults with mild memory problems who were not treated for diabetes, in a 12-month trial | On a word-list memory test, people on metformin recalled 9.7 more words after a year than at the start, while people on a placebo recalled 5.3 more. A second test of memory and thinking showed no difference [23]. |
| 4,160 older adults without dementia, 318 of whom had raised blood sugar and took metformin | Metformin use went with a higher risk of doing poorly on a set of memory and thinking tests and on a test of planning. Both links held after the researchers allowed for other differences between people [24]. |
| 7,086 people with Alzheimer's disease and 7,086 people without dementia | People with 60 or more metformin prescriptions had 71% higher odds of Alzheimer's than people who had not taken it, but the odds did not rise step by step with the number of prescriptions [25]. |
| 19 studies combined | The review found no link between metformin and thinking or the risk of dementia [26]. |
Two of these studies also measured B12. In the study of 4,160 older adults, people on metformin lacked B12 and vitamin B6 more often, and the authors suggested that this lack of B vitamins plays a part in their poorer memory and thinking [24]. In the study of 587 adults, people on metformin had lower B12, but their lower B12 did not explain their better speed of thinking [22].
Our article on vitamin B12 and memory explains whether memory problems from a lack of B12 go away with treatment, and our article on B vitamins and memory covers all B vitamins at a glance.
What do doctors do about B12 on metformin?
Guidelines agree that people on metformin should have a B12 test when a lack is suspected, for example with new nerve damage or with anaemia from large red blood cells [4] [8] [28]. They differ on regular tests. US guidelines advise a test once a year after 4 years of metformin, or sooner with another risk, such as a vegan diet or 1,500 mg of metformin a day or more [28]. Some guidelines advise considering regular tests for people with other risks, such as low-normal B12, older age, bowel disease, a vegan diet or a medicine that lowers stomach acid [4]. A lack is treated with B12 injections or tablets, and doctors can start B12 before the test result is back [8] [29].
Metformin usually continues while the lack is treated, and guidelines advise patients not to stop it without first talking to their doctor [4]. For a lack caused by a medicine, no study has shown that injections work better than tablets, or the other way round [8].
A trial included 90 people with type 2 diabetes and nerve damage who had all taken metformin for at least 4 years. Their B12 averaged 313 pg/mL (231 pmol/L), a level at which guidelines still consider a deficiency possible [8]. For a year, they took a placebo or a daily tablet with 1,000 micrograms of B12, in the form called methylcobalamin. Nerve tests, pain, sweating in the feet and quality of life improved with B12, while several of these measures got worse with the placebo [30].
In a study of 11,200 people who had just started metformin, those who also took a medicine that lowers stomach acid, such as omeprazole, were diagnosed with a B12 deficiency or prescribed B12 18% more often than those on metformin alone [31].
Q&A
Do B12 supplements prevent a lack on metformin?
In the study of 1,111 adults with type 2 diabetes, people who took a multivitamin had a deficiency less often [2]. In the trial of 90 people with nerve damage, the average B12 of the group on 1,000 micrograms of B12 a day rose from 314 to 1,053 pg/mL (232 to 777 pmol/L) in a year, while the placebo group's average barely changed [30]. However, the evidence is mixed: in the health survey of adults aged 50 and over, people with diabetes who took a supplement with B12 had a deficiency as often as those who did not. Among people without diabetes, those who took one had two-thirds fewer cases [6].
How long do symptoms take to improve with B12 treatment?
Symptoms can start to improve within 2 weeks, though for some people this takes up to 3 months. It can take much longer for symptoms to go away completely, and they can get worse at first before they improve [8]. The longer a lack goes untreated, the higher the chance of permanent damage [7].
Sources
- Liu Q, Li S, Quan H, Li J. Vitamin B12 status in metformin treated patients: systematic review. PLoS ONE. 2014;9(6):e100379. doi.org/10.1371/journal.pone.0100379
- Kim J, Ahn CW, Fang S, Lee HS, Park JS. Association between metformin dose and vitamin B12 deficiency in patients with type 2 diabetes. Medicine. 2019;98(46):e17918. doi.org/10.1097/MD.0000000000017918
- Aroda VR, Edelstein SL, Goldberg RB, et al.; Diabetes Prevention Program Research Group. Long-term metformin use and vitamin B12 deficiency in the Diabetes Prevention Program Outcomes Study. Journal of Clinical Endocrinology & Metabolism. 2016;101(4):1754–1761. doi.org/10.1210/jc.2015-3754
- MHRA (Medicines and Healthcare products Regulatory Agency). Metformin and reduced vitamin B12 levels: new advice for monitoring patients at risk. Drug Safety Update. 20 June 2022. gov.uk/drug-safety-update/metformin-and-reduced-vitamin-b12-levels-new-advice-for-monitoring-patients-at-risk
- de Jager J, Kooy A, Lehert P, et al. Long term treatment with metformin in patients with type 2 diabetes and risk of vitamin B-12 deficiency: randomised placebo controlled trial. BMJ. 2010;340:c2181. doi.org/10.1136/bmj.c2181
- Reinstatler L, Qi YP, Williamson RS, Garn JV, Oakley GP. Association of biochemical B12 deficiency with metformin therapy and vitamin B12 supplements: the National Health and Nutrition Examination Survey, 1999–2006. Diabetes Care. 2012;35(2):327–333. doi.org/10.2337/dc11-1582
- NHS. Vitamin B12 or folate deficiency anaemia: symptoms. nhs.uk/conditions/vitamin-b12-or-folate-deficiency-anaemia/symptoms
- NICE (National Institute for Health and Care Excellence). Vitamin B12 deficiency in over 16s: diagnosis and management. NICE guideline NG239. 6 March 2024. nice.org.uk/guidance/ng239
- NHS. Peripheral neuropathy: causes. nhs.uk/conditions/peripheral-neuropathy/causes
- NHS. Peripheral neuropathy: symptoms. nhs.uk/conditions/peripheral-neuropathy/symptoms
- American Diabetes Association Professional Practice Committee for Diabetes. 12. Retinopathy, neuropathy, and foot care: Standards of Care in Diabetes—2026. Diabetes Care. 2026;49(Suppl 1):S261–S276. doi.org/10.2337/dc26-S012
- Wile DJ, Toth C. Association of metformin, elevated homocysteine, and methylmalonic acid levels and clinically worsened diabetic peripheral neuropathy. Diabetes Care. 2010;33(1):156–161. doi.org/10.2337/dc09-0606
- Chapman LE, Darling AL, Brown JE. Association between metformin and vitamin B12 deficiency in patients with type 2 diabetes: a systematic review and meta-analysis. Diabetes & Metabolism. 2016;42(5):316–327. doi.org/10.1016/j.diabet.2016.03.008
- Miller JW. Proton pump inhibitors, H2-receptor antagonists, metformin, and vitamin B-12 deficiency: clinical implications. Advances in Nutrition. 2018;9(4):511S–518S. doi.org/10.1093/advances/nmy023
- Tomkin GH, Hadden DR, Weaver JA, Montgomery DA. Vitamin-B12 status of patients on long-term metformin therapy. British Medical Journal. 1971;2(5763):685–687. doi.org/10.1136/bmj.2.5763.685
- Ting RZ, Szeto CC, Chan MH, Ma KK, Chow KM. Risk factors of vitamin B12 deficiency in patients receiving metformin. Archives of Internal Medicine. 2006;166(18):1975–1979. doi.org/10.1001/archinte.166.18.1975
- Beulens JW, Hart HE, Kuijs R, Kooijman-Buiting AM, Rutten GE. Influence of duration and dose of metformin on cobalamin deficiency in type 2 diabetes patients using metformin. Acta Diabetologica. 2015;52(1):47–53. doi.org/10.1007/s00592-014-0597-8
- MedlinePlus (US National Library of Medicine). Homocysteine test. medlineplus.gov/lab-tests/homocysteine-test
- Greibe E, Trolle B, Bor MV, Lauszus FF, Nexo E. Metformin lowers serum cobalamin without changing other markers of cobalamin status: a study on women with polycystic ovary syndrome. Nutrients. 2013;5(7):2475–2482. doi.org/10.3390/nu5072475
- Tang C, Hao J, Tao F, Feng Q, Song Y, Zeng B. Association of metformin use with risk of dementia in patients with type 2 diabetes: a systematic review and meta-analysis. Diabetes, Obesity and Metabolism. 2025;27(4):1992–2001. doi.org/10.1111/dom.16192
- Samaras K, Makkar S, Crawford JD, et al. Metformin use is associated with slowed cognitive decline and reduced incident dementia in older adults with type 2 diabetes: the Sydney Memory and Ageing Study. Diabetes Care. 2020;43(11):2691–2701. doi.org/10.2337/dc20-0892
- Fotros D, Sakhdari H, Shin AC. Metformin use is associated with better cognitive performance in older adults with type 2 diabetes: exploratory analysis of vitamin B12 and methylmalonic acid pathways in NHANES 2011–2014. Diabetes, Obesity and Metabolism. 2026;28(12):11808–11820. doi.org/10.1111/dom.71396
- Luchsinger JA, Perez T, Chang H, et al. Metformin in amnestic mild cognitive impairment: results of a pilot randomized placebo controlled clinical trial. Journal of Alzheimer’s Disease. 2016;51(2):501–514. doi.org/10.3233/JAD-150493
- Porter KM, Ward M, Hughes CF, et al. Hyperglycemia and metformin use are associated with B vitamin deficiency and cognitive dysfunction in older adults. Journal of Clinical Endocrinology & Metabolism. 2019;104(10):4837–4847. doi.org/10.1210/jc.2018-01791
- Imfeld P, Bodmer M, Jick SS, Meier CR. Metformin, other antidiabetic drugs, and risk of Alzheimer’s disease: a population-based case-control study. Journal of the American Geriatrics Society. 2012;60(5):916–921. doi.org/10.1111/j.1532-5415.2012.03916.x
- Tabatabaei Malazy O, Bandarian F, Qorbani M, et al. The effect of metformin on cognitive function: a systematic review and meta-analysis. Journal of Psychopharmacology. 2022;36(6):666–679. doi.org/10.1177/02698811211057304
- Livingston G, Huntley J, Liu KY, et al. Dementia prevention, intervention, and care: 2024 report of the Lancet standing Commission. The Lancet. 2024;404(10452):572–628. doi.org/10.1016/S0140-6736(24)01296-0
- American Diabetes Association Professional Practice Committee for Diabetes. 3. Prevention or delay of diabetes and associated comorbidities: Standards of Care in Diabetes—2026. Diabetes Care. 2026;49(Suppl 1):S50–S60. doi.org/10.2337/dc26-S003
- American Diabetes Association Professional Practice Committee for Diabetes. 9. Pharmacologic approaches to glycemic treatment: Standards of Care in Diabetes—2026. Diabetes Care. 2026;49(Suppl 1):S183–S215. doi.org/10.2337/dc26-S009
- Didangelos T, Karlafti E, Kotzakioulafi E, et al. Vitamin B12 supplementation in diabetic neuropathy: a 1-year, randomized, double-blind, placebo-controlled trial. Nutrients. 2021;13(2):395. doi.org/10.3390/nu13020395
- Jung C, Park S, Kim H. Concomitant use of metformin and proton pump inhibitors increases vitamin B12 deficiency risk in type 2 diabetes. Journal of Diabetes Investigation. 2025;16(6):1020–1027. doi.org/10.1111/jdi.70037