The possible association should not be dismissed
A 2025 narrative review discusses hypomagnesemia with metformin and potential gastrointestinal losses, including diarrhea. It also describes complex effects on cellular and renal magnesium handling. This supports considering the medicine in an assessment, but the mechanisms remain incompletely understood. [1]
Diabetes and other exposures can contribute
The review explains that diabetes, dietary factors, other illnesses, alcohol exposure and other medicines may contribute to low magnesium. NIH also identifies diuretics and prolonged proton-pump inhibitor use as relevant in some patients. Finding low magnesium while taking metformin does not isolate one cause. [1][2]
Urinary loss is not the only explanation
The review describes observations of lower urinary magnesium excretion with metformin despite low blood levels in some settings. Thus the simple claim that metformin always flushes magnesium through the kidneys is not justified. Gastrointestinal losses and shifts between compartments complicate interpretation. [1]
Do not confuse magnesium evidence with the B12 warning
MHRA recognizes reduced vitamin B12 as a common metformin adverse effect and gives specific monitoring advice. Vitamin B12 and magnesium are different nutrients. The established B12 warning does not itself prove magnesium depletion or establish a magnesium dose. [3]
Use clinical assessment rather than automatic replacement
Persistent diarrhea, concerning symptoms or a low magnesium result warrant review of the full regimen and kidney function. The narrative review reported no funding or relevant financial interests, but it is not a randomized trial proving that all users need supplementation. Imagine symptoms develop during metformin treatment: investigate the cause and do not independently stop the medicine or escalate magnesium, which can itself worsen diarrhea. [1][2][3]
| Finding | Interpretation |
|---|---|
| Metformin use | One possible contributor |
| Persistent diarrhea | Potential gastrointestinal loss |
| Other medicines and diabetes | Additional explanations |
| B12 warning | Separate nutrient and monitoring question |

Sources for this article
- Hypomagnesemia With Metformin Use in Diabetes Mellitus: A Case and Narrative Review - PMC
Source consulted: 2026-09-21. This is a reference resource, not a claim that we conducted the studies or tested a product. - Magnesium - Health Professional Fact Sheet
Source consulted: 2026-09-21. This is a reference resource, not a claim that we conducted the studies or tested a product. - Metformin and reduced vitamin B12 levels: new advice for monitoring patients at risk - GOV.UK
Source consulted: 2026-09-21. This is a reference resource, not a claim that we conducted the studies or tested a product.