Background Metformin is the first-line therapy for type 2 diabetes mellitus, but its long-term use is associated with vitamin B12 deficiency, a condition with potential hematological and neurological consequences. This study aims to determine the prevalence of vitamin B12 deficiency in long-term metformin users, identify key predictive factors, and evaluate its association with adverse clinical outcomes. Methods We conducted a retrospective cohort study using electronic health records from a multi-center diabetic clinic. The study included 850 patients with type 2 diabetes who had been using metformin continuously for at least two years. Data on demographics, metformin dose and duration, concurrent medication use (e.g., proton pump inhibitors), and laboratory values (serum B12, hemoglobin, Mean Corpuscular Volume) were extracted. The primary outcome was vitamin B12 deficiency, defined as a serum level <150 pmol/L. Secondary outcomes included peripheral neuropathy and macrocytic anemia. Logistic regression was used to identify predictors of deficiency. Results The overall prevalence of vitamin B12 deficiency (<150 pmol/L) was 22.4%, with an additional 31.5% having borderline levels (150-220 pmol/L). In the multivariate logistic regression analysis, significant independent predictors for B12 deficiency included a longer duration of metformin use (OR 1.15 per year, 95% CI 1.08-1.22), a higher daily dose (OR 1.88 per 1000 mg/day increase, 95% CI 1.45-2.43), older age (OR 1.03 per year, 95% CI 1.01-1.05), and concurrent use of proton pump inhibitors (OR 2.10, 95% CI 1.55-2.85). Clinically, deficient patients had a significantly higher prevalence of peripheral neuropathy (35.8% vs. 14.7%, p < 0.001) and macrocytic anemia (11.6% vs. 3.9%, p < 0.01) compared to patients with sufficient B12 levels. Conclusion Vitamin B12 deficiency is highly prevalent among long-term metformin users and is strongly associated with dose, duration, age, and PPI use. Given the significant link to adverse neurological and hematological outcomes, routine screening for vitamin B12 levels should be considered a standard of care for this patient population.
Metformin has been a cornerstone of type 2 diabetes mellitus (T2DM) management for decades, prized for its efficacy, safety profile, and cardiovascular benefits.[1] However, a growing body of evidence highlights a significant adverse effect: the malabsorption of vitamin B12 (cobalamin), leading to biochemical deficiency.[2] Vitamin B12 is a crucial coenzyme for DNA synthesis and neurological function. Its deficiency can manifest insidiously, progressing from subclinical states to severe and sometimes irreversible conditions, including megaloblastic anemia and peripheral or central neuropathy.[3]
The mechanism of metformin-induced B12 malabsorption is thought to involve interference with the calcium-dependent binding of the intrinsic factor-B12 complex in the terminal ileum.[4] While the association is well-established, there is variability in reported prevalence rates, and a clearer understanding of the most significant predictors is needed to guide clinical practice. Furthermore, the clinical consequences, particularly the exacerbation of diabetic peripheral neuropathy, represent a major concern.[5]
This study aimed to determine how common vitamin B12 deficiency is among long-term metformin users, identify its predictors, and examine its link with peripheral neuropathy and macrocytic anemia. The goal was to better understand and prevent complications related to prolonged metformin therapy.
A retrospective cohort study was performed by analyzing electronic health records (EHR) from January 2015 to December 2024. We identified all patients with a T2DM diagnosis who had been prescribed metformin for a cumulative duration of at least two years. Inclusion criteria required at least one serum vitamin B12 measurement during the study period. Patients receiving B12 supplementation prior to their index B12 measurement or with a history of gastric surgery or pernicious anemia were excluded. A final cohort of 850 patients was included for analysis. Data extracted from the EHR included: patient demographics (age, gender), metformin treatment details (average daily dose, total duration in years), relevant laboratory results (serum B12, HbA1c, hemoglobin, Mean Corpuscular Volume [MCV]), and concurrent prescriptions for proton pump inhibitors (PPIs). • Vitamin B12 Status: Defined as Deficient (<150 pmol/L), Borderline (150-220 pmol/L), and Sufficient (>220 pmol/L). • Macrocytic Anemia: Defined as hemoglobin <13 g/dL for men or <12 g/dL for women, with an MCV > 100 fL. • Peripheral Neuropathy: Identified by the presence of a corresponding ICD-10 diagnosis code in the patient's record. Descriptive statistics were used to summarize the cohort's characteristics. Differences between B12-deficient and sufficient groups were assessed using Student’s t-tests for continuous variables and chi-square tests for categorical variables. A multivariate logistic regression model was constructed to identify independent predictors of vitamin B12 deficiency, with results reported as Odds Ratios (OR) and 95% Confidence Intervals (CI). A p-value < 0.05 was considered statistically significant.
The baseline characteristics of the 850 patients are shown in Table 1. The average age was 64.3 years, with a mean duration of metformin use of 6.8 years.
|
Variable |
Value |
|
Age (years, Mean ± SD) |
64.3 ± 10.1 |
|
Gender (Female, n, %) |
408 (48.0%) |
|
Duration of Metformin Use (years, Mean ± SD) |
6.8 ± 3.5 |
|
Metformin Daily Dose (mg, Mean ± SD) |
1750 ± 450 |
|
HbA1c (%, Mean ± SD) |
7.4 ± 1.1 |
|
Concurrent PPI Use (n, %) |
289 (34.0%) |
|
Table 1: Baseline Demographic and Clinical Characteristics (N=850) |
|
The overall prevalence of vitamin B12 deficiency was 22.4% (n=190), with an additional 31.5% (n=268) of patients having borderline levels (Table 2).
|
B12 status |
Serum B12 Level (pmol/L) |
Frequency (n) |
Percentage (%) |
|
Deficient |
< 150 |
190 |
22.4 |
|
Borderline |
150 - 220 |
268 |
31.5 |
|
Sufficient |
> 220 |
392 |
46.1 |
|
Table 2: Prevalence of Vitamin B12 Status (N=850) |
|||
A comparison between B12-deficient and sufficient patients (Table 3) revealed that the deficient group was significantly older, had been on metformin longer, used a higher daily dose, and had higher rates of concurrent PPI use.
|
Variable |
B12 Deficient (<150) (n=190) |
B12 Sufficient (>220) (n=392) |
p-value |
|
Age (years, Mean ± SD) |
67.8 ± 9.5 |
62.1 ± 10.3 |
< 0.001 |
|
Duration of Use (years) |
8.9 ± 3.1 |
5.5 ± 2.9 |
< 0.001 |
|
Daily Dose (mg) |
1980 ± 310 |
1610 ± 480 |
< 0.001 |
|
PPI Use (%) |
48.4% |
25.5% |
< 0.001 |
|
Table 3: Comparison of Characteristics by Vitamin B12 Status |
|||
The multivariate logistic regression analysis (Table 4) confirmed that metformin duration, daily dose, older age, and PPI use were all significant and independent predictors of B12 deficiency. For every 1000 mg/day increase in metformin dose, the odds of deficiency increased by 88%.
|
Variable |
Odds Ratio (OR) |
95% Confidence Interval (CI) |
p-value |
|
Metformin Duration (per year) |
1.15 |
1.08 - 1.22 |
< 0.001 |
|
Metformin Dose (per 1000mg/day) |
1.88 |
1.45 - 2.43 |
< 0.001 |
|
Age (per year) |
1.03 |
1.01 - 1.05 |
0.012 |
|
Concurrent PPI Use (Yes vs. No) |
2.10 |
1.55 - 2.85 |
< 0.001 |
|
Table 4: Multivariate Logistic Regression of Predictors for Vitamin B12 Deficiency |
|||
Finally, the clinical outcomes analysis (Table 5) showed that patients with vitamin B12 deficiency had a significantly higher prevalence of both peripheral neuropathy and macrocytic anemia compared to their B12-sufficient counterparts.
|
Clinical Outcome |
B12 Deficient (n=190) |
B12 Sufficient (n=392) |
p-value |
|
Peripheral Neuropathy (n, %) |
68 (35.8%) |
58 (14.7%) |
< 0.001 |
|
Macrocytic Anemia (n, %) |
22 (11.6%) |
15 (3.9%) |
0.007 |
|
Table 5: Association of Vitamin B12 Status with Clinical Outcomes |
|||