Does magnesium help diabetes?
Only a little, in short trials. HbA1c barely moved. Diabetes UK says supplements have no clear benefit for people with diabetes unless you’re low in a nutrient or your doctor prescribes them.
On this page

Does magnesium lower blood sugar?
A little. In 9 trials of people with type 2 diabetes, magnesium cut fasting blood sugar by about 0.56 mmol/L after around 12 weeks.
HbA1c, your average sugar over 2 to 3 months, did not change by a clear amount. A bigger review of 23 trials found the effect on HbA1c was minimal.
Think of fasting sugar as one morning’s weather and HbA1c as the season. Magnesium nudged the mornings but barely shifted the season. So it’s no swap for your diabetes medicine.
| Review | Who took part | What changed |
|---|---|---|
| 9 trials (2006) | 370 people with type 2, for 4 to 16 weeks | Fasting sugar down about 0.56 mmol/L. No clear change in HbA1c. |
| 23 trials (2025) | 1,345 people with type 2 | Fasting sugar down. Minimal change in HbA1c, a bit more in over-65s and with longer use. |
| 18 trials (2022) | People with type 2 | An estimated drop of 0.73 percentage points in HbA1c at 500 mg a day (a modelled figure), above the NHS 400 mg amount. |
| 5 trials (2026) | 384 people with prediabetes | No clear change in fasting sugar. 2-hour glucose test (blood sugar checked 2 hours after a sugary drink) down 0.99 mmol/L. |
Sources: Song 2006; Al Maqrashi 2025; Asbaghi 2022; Basit 2026
The trials lasted weeks, not years. The first review said the long-term benefits and safety were still unknown. The 2022 authors said the trials aren’t enough to guide treatment.
Your next step: check what your diabetes team says before you buy a supplement.
What does Diabetes UK say about magnesium?
Diabetes UK lists magnesium among nutrients still being studied. It says there’s no evidence any of them can prevent or cause diabetes.
Its view on vitamin and mineral supplements is plain. They have no clear benefit for people with diabetes, unless you’re deficient or your doctor prescribes them.
So a supplement only makes sense if you have a real shortage of magnesium, or a doctor prescribes it.
Thinking about magnesium? Go in this order
- 1
Food first
Spinach, nuts and wholemeal bread. The NHS says diet should give you enough.
- 2
Worried you’re low?
Talk to your healthcare team.
- 3
When a supplement fits
A supplement for a deficiency, or one your doctor prescribes.
- 4
Keep your medicine
A supplement is not a substitute for diabetes medicine.
Sources: Diabetes UK; NHS
Diabetes UK also warns that supplements may affect how diabetes medicines work. Never stop or change a prescribed medicine without your prescriber.
Diabetes UK says there is some evidence berberine may help some people with type 2 diabetes, but it should not replace diabetes medicine. See berberine and blood sugar and supplements that claim to lower blood sugar.
Why do people with diabetes run low on magnesium?
Your kidneys control how much magnesium you keep. In diabetes they commonly lose more of it, and some medicines can make that worse.
Research funded by Diabetes UK found low blood magnesium is common in type 1 diabetes. Whether supplements help there is still being studied.
- Below 0.7 mmol/LBelow the lab range. Ask what it means for you.
- 0.7 up to 1 mmol/LInside the usual lab range.
- Above 1 mmol/LAbove the lab range. Ask what it means for you.
Source: NHS Gloucestershire pathology
Got a result outside the range? See our magnesium blood test guide, then ask your GP what it means alongside your other results.
Can magnesium prevent type 2 diabetes?
In long-term studies, people who ate more magnesium were less likely to get type 2. Across 13 studies of 536,318 people, each extra 100 mg a day was linked to a 14% lower risk.
Linked to isn’t the same as caused by. The link showed in overweight people, but not in those of a healthy weight.
Supplement trials in prediabetes are small. In 5 trials, fasting sugar didn’t change by a clear amount, though a 2-hour glucose test improved.
The NHS steps for prediabetes are a healthy diet, at least 2.5 hours of activity a week and losing weight if you’re overweight. See prediabetes.
Is magnesium safe if you have diabetes?
The NHS says 400 mg a day or less from supplements is unlikely to cause harm. Taking more than 400 mg for a short time can cause diarrhoea.
Kidney disease changes this. Dangerously high magnesium is almost only seen in people with much lower kidney function taking extra magnesium. The extra came from supplements, or from antacids or laxatives that contain it.
Diabetes UK warns supplements may make complications such as kidney disease worse.
Before you take magnesium with diabetes
- Get magnesium from food first, such as spinach, nuts and wholemeal bread.
- Keep supplements to 400 mg a day or less.
- Have kidney disease? Ask your doctor before you take any magnesium.
- Count antacids and laxatives that contain magnesium.
- Tell your healthcare team about any supplement you take.
- Keep taking your diabetes medicine as prescribed.
Sources: NHS; Diabetes UK; Van Laecke 2019
Choosing a type? See which magnesium to take and how much is too much.
When to speak to a GP
Magnesium can’t stand in for a check on your blood sugar. Speak to a GP or your care team if:
- You have signs of type 2 diabetes, such as feeling very tired, peeing more, constant thirst or losing weight without trying.
- You’ve tried to lower your blood sugar but it’s still high, or you still have symptoms.
- You have kidney disease and want to take magnesium.
- You think you may be low in magnesium.
Call 999 or go to A&E if your blood sugar may be high and you feel sick, are being sick or have stomach pain. The same goes for fast breathing or heartbeat, drowsiness or struggling to stay awake, confusion or difficulty concentrating, fruity breath or high ketones in your blood or pee.
See also the HbA1c blood test and how to lower HbA1c.