Low vision version

A dish from the hotel restaurant

Magnesium and type 2 diabetes: can you take it, and what does the evidence say?

HealthUpdated 19 November 20266 min read

You can usually take magnesium with type 2 diabetes if you have no kidney disease and your doctor agrees. But it should not be used to treat diabetes: the American Diabetes Association says there is not enough evidence that magnesium supplements improve blood sugar control. It is better to get magnesium from food and to discuss a supplement with your doctor, especially if a blood test has shown that your magnesium is low.

Below you will find what is known about magnesium and type 2 diabetes, which medicines call for caution, and which form to choose if your doctor has approved a supplement.

Why magnesium comes up with diabetes

Magnesium takes part in the work of more than 300 enzymes, including those involved in controlling glucose levels. People with insulin resistance and type 2 diabetes may be low in magnesium: when blood sugar is high, the kidneys pass more magnesium out in the urine than usual.

Observational studies show an association: people who get more magnesium from food develop type 2 diabetes less often. In one analysis pooling seven studies with 286,668 participants, every extra 100 mg of magnesium a day was linked to a 15% lower risk of diabetes. But this is an association, not proof: people who eat more magnesium-rich foods often eat and live differently in many other ways too.

Does magnesium lower blood sugar in type 2 diabetes?

This has not been tested much, and the results differ:

StudyWho took partWhat happened
Brazil, 30 days, 300 or 600 mg magnesium a day128 people with poorly controlled diabetesAt the higher dose, magnesium levels rose and blood sugar control improved
Mexico, 16 weeks, 300 mg a dayPeople with type 2 diabetes and low blood magnesiumFasting blood sugar and HbA1c fell, and magnesium returned to normal
3 months, 369 mg a day50 people with type 2 diabetes on insulinNo effect on blood sugar control

All three studies were small and short.

The American Diabetes Association concludes that there is not enough evidence to recommend magnesium for improving blood sugar control. There is also no clear data that vitamins and minerals help people with diabetes who are not deficient in them. If your magnesium is low, your doctor will decide on a supplement based on a blood test. Magnesium does not replace diabetes medication.

Can you take magnesium with type 2 diabetes?

Magnesium from food does not harm healthy kidneys: they clear any excess. Caution is needed with supplements and with medicines that contain magnesium:

WhatWhat to know
Upper limitFor adults, 350 mg of magnesium a day from supplements and medicines. Magnesium from food is not counted
Side effectsLarge doses cause diarrhoea, nausea and stomach cramps
KidneysIf your kidneys work less well, the risk of magnesium toxicity rises: they find it harder to clear the excess

Magnesium and metformin: is it compatible? Other medicines too

Metformin is not on the NIH fact sheet’s list of magnesium interactions. That does not mean the combination has been well studied, so it is best to check your regimen with your doctor or pharmacist. These are the medicines for which an interaction is described:

MedicinesWhat happens
Bisphosphonates for osteoporosis, such as alendronateMagnesium interferes with their absorption. Take them at least 2 hours apart
Antibiotics: tetracyclines and quinolones, such as doxycycline and ciprofloxacinTake 2 hours before magnesium or 4–6 hours after
Loop and thiazide diureticsWith long-term use, they increase magnesium loss in the urine
Potassium-sparing diuretics, such as spironolactoneReduce magnesium excretion
Proton pump inhibitors, such as esomeprazoleTaken for longer than a year, they may lower blood magnesium

Which magnesium to choose with type 2 diabetes

We found no evidence that any particular form of magnesium is better specifically for diabetes. What is known is this:

  • magnesium aspartate, citrate, lactate and chloride are absorbed better than oxide and sulfate;
  • diarrhoea is more often caused by magnesium carbonate, chloride, gluconate and oxide;
  • on the label, what matters is the line showing the amount of elemental magnesium, not the weight of the whole compound.

Chelated forms, such as glycinate, are not covered separately in the NIH fact sheet.

Magnesium from food

For adults, the NIH recommends 310–320 mg of magnesium a day for women and 400–420 mg for men; EFSA gives 300 and 350 mg. Good sources are leafy green vegetables, pulses, nuts, seeds and wholegrains:

FoodPortionMagnesium, mg
Pumpkin seeds, roasted28 g156
Chia seeds28 g111
Almonds, roasted28 g80
Spinach, boiled½ cup78
Cashews, roasted28 g74
Black beans, boiled½ cup60

The body absorbs roughly 30–40% of the magnesium in food.

When to see your doctor first

When to see your own doctor first:

  • a doctor has told you that you have kidney disease or reduced kidney function;
  • you take antibiotics, osteoporosis medicines, diuretics or proton pump inhibitors;
  • you are on insulin or diabetes tablets: do not change or stop them because of magnesium;
  • you develop diarrhoea, nausea or weakness after starting magnesium;
  • you are pregnant or breastfeeding.

Frequently asked questions

Can I take magnesium with type 2 diabetes?

In most cases you can, provided you have no kidney disease and your doctor has no objection. The NIH fact sheet sets the upper limit for adults at 350 mg a day from supplements and medicines. Magnesium should not be used to treat diabetes.

Does magnesium lower blood sugar?

The evidence is thin. Small studies have produced mixed results, and the American Diabetes Association does not recommend magnesium to improve blood sugar control. Where improvements were seen, it was mostly in people who were low in magnesium.

Can you take magnesium with metformin?

Metformin is not on the NIH fact sheet’s list of magnesium interactions. That does not mean the combination has been well studied. Ask your doctor or pharmacist how and when to take magnesium alongside your medicines.

What is the best magnesium for type 2 diabetes?

We found no evidence that any one form is better specifically for diabetes. Magnesium aspartate, citrate, lactate and chloride are absorbed better than oxide and sulfate. Look at the amount of elemental magnesium on the label.

This article is for information only and does not replace a consultation with your doctor.

Find my programme