
What metformin does to your vitamin B12
Metformin is the first-line drug for type 2 diabetes, and for most people it is a long-term medication. That matters here, because its one well-established nutrient effect builds up slowly. The FDA-approved metformin prescribing information states the drug "may lower serum vitamin B12 concentrations." In 29-week trials, roughly 7% of patients saw a previously normal B12 level drop into the subnormal range.
This is the most honest, best-graded fact on this page: it is FDA-acknowledged, not a marketing claim. The mechanism is specific. Metformin interferes with the calcium-dependent step in the lower small intestine (the ileum) where your body absorbs the B12-intrinsic factor complex. People with low calcium or low B12 intake to begin with are the ones most likely to slip.
The risk is not the same on day one as it is on year five. Real-world studies put the prevalence of low B12 anywhere from about 4% to 41%, and it climbs with higher doses (roughly 1,500 mg/day and up) and longer use (past four or five years). The same FDA label tells prescribers to check hematologic parameters every year and vitamin B12 every two to three years in people on metformin. If your doctor has never run that test, it is a fair thing to ask for.
One more piece of context, kept in proportion. Some studies, including the Fremantle Diabetes Study, found lower serum magnesium in metformin users than in people managing diabetes by diet alone. That signal is observational, and it is partly the diabetes doing it, not the drug by itself. So magnesium is worth knowing about, but it is a softer story than B12.
This article is education, not a change to your treatment. Nothing below is a reason to alter your metformin dose. That decision belongs to your prescriber.
The supplements worth adding, and how to take them
This is what most readers came for: what is safe to put on top of metformin. The test is simple. A supplement earns a place only if it addresses a real gap and does not lower your blood sugar, because anything that drops glucose on top of metformin can push you toward hypoglycemia. The three below pass that test.
Vitamin B12 (methylcobalamin). This is the top pick, and the only one tied to a documented depletion. A sublingual methylcobalamin, around 1,000 mcg, is a common and well-tolerated way to keep levels up. Ideally you dose it to a blood test rather than guessing. If you would rather see how forms and doses compare, our B12 dose-by-form calculator walks through it, and our roundup of the best vitamin B12 supplements covers specific products. One caution: very high-dose B12 can mask the blood picture of anemia, so test first rather than blindly loading up.
Magnesium glycinate. Glycinate is a well-absorbed form that is easier on the gut than oxide or citrate. A typical dose is 200 to 400 mg of elemental magnesium in the evening. It does not lower blood glucose in any clinically meaningful way, which is what keeps it safe alongside metformin. If your kidneys are not working well, clear the dose with your doctor first, since magnesium clears through the kidneys. Our guide to the best magnesium supplement overall compares the options.
Vitamin D3. Low vitamin D is common, and it is common in people with type 2 diabetes too. D3 does not interact with metformin and does not touch your blood sugar. A common maintenance dose sits around 1,000 to 2,000 IU, but the right number depends on your blood level, so test and dose to that.
As an Amazon Associate, UsefulVitamins.com earns from qualifying purchases at no extra cost to you.
Some links in this section are affiliate links. If you buy through them we may earn a small commission, at no extra cost to you. It does not change what we recommend.
| Supplement | What it helps with | How to take it (timing/spacing from your dose) | Caution |
|---|---|---|---|
| Vitamin B12 (methylcobalamin) | The one FDA-acknowledged metformin depletion; supports nerves and red blood cells | Sublingual ~1,000 mcg, any time of day; no spacing needed from metformin; dose to a blood test | High doses can mask anemia on lab work, so test before loading up |
| Magnesium glycinate | Tops up the softer, observational magnesium dip; gentle on the stomach | 200-400 mg elemental in the evening; keep it a couple of hours apart from calcium and iron | Go low and check with your doctor first if you have kidney disease |
| Vitamin D3 | Corrects a common deficiency; no effect on blood sugar | 1,000-2,000 IU with a meal containing fat; no spacing needed from metformin | Dose to your blood level rather than guessing; very high doses need monitoring |

What to avoid or space apart
This is the section that matters most. The danger with metformin is usually not what it takes away, but what people add. Metformin lowers blood sugar. Pile a second blood-sugar-lowering agent on top without a plan, and you can drop too low.
Berberine. You will see this sold as "nature's metformin," and that nickname is the warning. Berberine lowers glucose through an AMPK pathway that overlaps with how metformin works, as summarized in this berberine pharmacology overview. Stacking the two can produce additive hypoglycemia. Do not start berberine on your own, and never use it to cut or replace your metformin. It is not a substitute for your prescription.
Other blood-sugar herbs. The same logic covers chromium, alpha-lipoic acid (ALA), gymnema sylvestre, cinnamon extract, fenugreek, and bitter melon. Each can nudge glucose down. Combined with metformin they raise hypoglycemia risk and they muddy the picture, so you and your doctor can no longer tell what your real dose is doing. If you want to try one, do it with prescriber sign-off and glucose monitoring, not as a swap for the drug.
High-dose niacin. This one runs the other way. Niacin (nicotinic acid) at high doses, around 1,500 mg and up, often found in cholesterol or "flush" formulas, can raise blood glucose and work against your metformin. Avoid high-dose niacin unless a doctor prescribed it for a reason. The small amount of niacin in an ordinary multivitamin is not a concern.
Calcium – space apart, do not avoid. Calcium is the odd one out here. Large calcium doses taken at the same moment as minerals like iron or magnesium can compete for absorption, so it is worth spacing big doses a couple of hours apart. But calcium is not on the avoid list. The opposite is true: in a classic Diabetes Care study, oral calcium (about 1.2 g/day) actually reversed metformin's effect on B12 absorption, because the blocked step is calcium-dependent. So keep your calcium intake steady. Do not stop it to "protect" your metformin.
It is easy to lose track once you have a prescription plus three or four bottles. You can write your full list on paper and show it to your pharmacist, which works fine. Or you can use StackMyMed (our own free app) to log your metformin and your supplements in one place, so overlaps and possible interactions get flagged for you to ask your pharmacist about. It does not give medical advice or diagnose anything. It just surfaces the questions worth raising.
Can you cover it with food first?
For B12 and magnesium, food is a real first move, worth trying before the supplement aisle.
For B12: meat, fish, eggs, and dairy are the richest natural sources, and many breakfast cereals and plant milks are fortified. The catch is that metformin interferes with the absorption step, so diet alone may not be enough if you have been on a high dose for years. That is when testing and a supplement actually help. The NIH Office of Dietary Supplements B12 fact sheet lists food sources and intake targets.
For magnesium: leafy greens, nuts, seeds, legumes, and whole grains carry plenty. Most people who eat this way do not need a magnesium capsule at all.
For calcium: dairy, fortified foods, and some leafy greens. Steady daily intake is the goal, not a megadose.
Food first, supplements to fill a tested gap. That order keeps it simple.

See your doctor or pharmacist about this
Every choice here routes back to a professional. Ask for the B12 test the FDA label recommends, and bring your full supplement-and-medication list to your pharmacist or your annual medication review before you add anything. The American Diabetes Association Standards of Care also support periodic B12 testing in metformin users, particularly if there are signs of anemia or nerve symptoms.
Here is what to watch for. New or worsening numbness, tingling, or burning in the hands or feet, balance problems, or unusual fatigue and pale skin can signal vitamin B12 deficiency or anemia from long-term metformin. If that happens, see your doctor or pharmacist promptly and ask for a B12 test (ideally with MMA or homocysteine, which catch it earlier). Do not just self-treat with high-dose B12, because that can mask the anemia on bloodwork while leaving the cause unaddressed.
If you take other medicines too, the same depletion-and-interaction thinking applies. People on acid reducers face a related B12 story, which we cover in our guide to the best supplements for PPI and omeprazole users.
FAQ
Should everyone on metformin take a B12 supplement? Not automatically. The better approach is to get the B12 test the FDA label recommends and supplement if you are low or trending down, especially after several years on a higher dose. Talk it through with your prescriber.
Is berberine a safe natural alternative to metformin? No. It is not a replacement for your prescription, and because it lowers glucose through an overlapping pathway, taking it alongside metformin can drop your blood sugar too far. Do not start it on your own or use it to reduce your dose.
Does metformin really cause magnesium deficiency? The evidence is softer than the B12 story. Observational studies show lower serum magnesium in metformin users, but that is partly the diabetes itself, not the drug alone. A gentle magnesium like glycinate is reasonable, though food is the better first step.
Can I take calcium with metformin? Yes, and you may want to keep your calcium steady, since it helps reverse metformin’s effect on B12 absorption. Just space large calcium doses a couple of hours from iron and magnesium so they do not compete for absorption.
Will any of these supplements lower my blood sugar? The three safe adds here (B12, magnesium glycinate, vitamin D3) do not meaningfully lower glucose, which is why they sit comfortably alongside metformin. The supplements to avoid are the ones that do lower glucose, because that stacks with the drug.
What about vitamin D – is it tied to metformin? Not directly. Low vitamin D is just common, including in type 2 diabetes, and D3 is safe with metformin. Test your level and dose to it rather than guessing.

The bottom line
If you are on metformin, the supplement with the strongest, FDA-acknowledged reason to consider is vitamin B12, because the drug can lower it slowly over years. Magnesium glycinate and vitamin D3 are reasonable, safe extras. The one rule to respect above all: do not add blood-sugar-lowering botanicals like berberine on your own, since stacking them on metformin risks dropping your glucose too low. Get the B12 test, keep your calcium steady, and take your full list to your pharmacist before you add anything. None of this replaces your prescription; keep taking metformin exactly as directed.
This article is for education only. It is not medical advice and not a reason to start, stop, or change any medication or supplement. Talk to your doctor or pharmacist about your own situation.
Reviewed by the UsefulVitamins Editorial Team.


