# Magnesium for restless legs: does it help?

Source: https://magnesiumguide.uk/benefits/restless-legs/
Author: Nell Hartley · Updated 2026-11-04

**Short answer:** Maybe, but the evidence is thin. One trial of 75 people in Iran found 250 mg of magnesium oxide a day eased restless legs more than placebo after two months, and two small studies without a placebo also reported improvement. A 2019 systematic review could not say whether magnesium works. Low iron is a far better-established cause to check first.

**Evidence grade:** Weak evidence. Mixed or very small human studies, or studies without a proper placebo group.

## Does magnesium help restless legs?

It might, but nobody can say for sure. Restless legs syndrome causes an uncomfortable urge to move your legs, usually in the evening and at night, and magnesium is one of the most common things people try. The research is a handful of small studies. We grade it **weak**, using [our four evidence grades](/about/evidence-grades/): there is some human evidence that points towards a benefit, but it is small and unconfirmed.

A 2019 systematic review by sleep researchers in Sydney searched for every study of magnesium for restless legs and the related problem of jerking legs during sleep (periodic limb movement disorder). It found just eight studies with usable data: one randomised placebo-controlled trial, three case series and four reports of single patients. The trial found no clear benefit, but it may have been too small to detect one. The reviewers concluded that it is not clear whether magnesium helps, or for whom.

## What have the studies found?

| Study | Who took part | What they took | What happened |
| --- | --- | --- | --- |
| [Jadidi 2022](https://pubmed.ncbi.nlm.nih.gov/36587225/), Iran | 75 adults aged 15 to 50 with restless legs for at least 3 months, split into three groups | 250 mg of magnesium oxide, 40 mg of vitamin B6 or placebo a day, for 2 months | Everyone started at about 31 out of 40 on the standard severity scale. After two months the average was 16 on magnesium, 18 on B6 and 24 on placebo. There was no clear difference at one month. Sleep quality improved more on magnesium too. |
| [Gorantla 2024](https://pubmed.ncbi.nlm.nih.gov/38738598/), USA | 12 adults with untreated restless legs | 200 mg of magnesium citrate a day, for 8 weeks | Severity scores fell by about 7 points out of 40, and leg movements while sitting still fell. No placebo group. |
| [Hornyak 1998](https://pubmed.ncbi.nlm.nih.gov/9703590/), Germany | 10 adults with mild to moderate restless legs or leg movements disturbing their sleep | About 300 mg of magnesium each evening, for 4 to 6 weeks | Fewer leg movements waking them in a sleep lab, and more of the night spent asleep. No placebo group. |

The Iranian trial is the only one that compared magnesium with a dummy pill, and it is the reason we give this a weak grade rather than none. A 2024 review of supplement trials for restless legs picked it out as one of the more promising results, but rated half the trials it looked at as having a high risk of bias.

## Why can't we trust those results yet?

Because restless legs responds well to placebo, and these studies were small. In the Iranian trial the placebo group improved too, from 31 to 24 points, which shows how much symptoms change with expectation and time alone. Magnesium did better than that, but in one trial of 25 people per group. Other weaknesses:

- **Only single-blind.** The patients didn't know which pill they got, but the researchers did, which can colour how results are recorded.
- **A selected group.** The trial left out anyone who was pregnant or had kidney disease, diabetes, multiple sclerosis or anaemia, which are some of the commonest causes of restless legs.
- **No placebo in the other two.** The American and German studies only compared people with themselves before and after. The American authors said a larger placebo-controlled trial is now needed.

None of the main clinical guidelines lists magnesium as a recommended treatment. The 2025 guideline from the American Academy of Sleep Medicine does not include it among its recommendations.

## What should you check before trying magnesium?

Your iron. Low iron in the body's stores is the best-established treatable cause of restless legs, and it can be present even when you are not anaemic. The American Academy of Sleep Medicine advises testing ferritin (stored iron) in everyone with troublesome symptoms, and treating with iron if ferritin is 75 µg/L or below. That is higher than the level usually treated in the general population, so a "normal" ferritin result may still be low for restless legs.

The NHS also lists pregnancy, iron deficiency anaemia, kidney disease and some medicines as things that can bring it on. Antihistamines, some antidepressants and some anti-sickness medicines can make it worse, so ask your pharmacist to look at what you take. And see a GP if it is stopping you sleeping or affecting your mood. [The NHS page on restless legs](https://www.nhs.uk/conditions/restless-legs-syndrome/) lists the self-help steps, such as daytime exercise, cutting caffeine after midday and avoiding alcohol close to bedtime.

Restless legs is also easy to confuse with [night-time leg cramps](/benefits/muscle-cramps/), which feel like a sudden painful tightening of the muscle rather than an urge to move. Magnesium probably doesn't help ordinary cramps either.

## Is it worth trying magnesium for restless legs?

It is reasonable as a low-risk experiment if your iron has been checked and you don't have kidney disease. A sensible approach:

- **Dose:** 200 to 300 mg of elemental magnesium a day, the range used in the studies. That is within the 400 mg a day the NHS says is unlikely to cause harm. See [dose and timing](/how-to-take/dosage-and-timing/).
- **Timing:** the evening, since symptoms peak at night.
- **Form:** any well-absorbed form. [Glycinate](/forms/magnesium-glycinate/) is least likely to upset your stomach; [citrate](/forms/magnesium-citrate/) was used in one study but is more likely to loosen stools.
- **How long:** at least eight weeks, since the placebo-controlled trial saw no difference at one month. Stop if nothing has changed.

Check with your GP or pharmacist first if you have kidney disease, or take antibiotics, bisphosphonates or other medicines that magnesium can affect. See [medicines magnesium interacts with](/safety/drug-interactions/) and [side effects](/safety/side-effects/).

## Frequently asked questions

### Is restless legs a sign of low magnesium?

Not usually. Restless legs is most strongly linked to low iron, family history, pregnancy, kidney disease and some medicines. Studies comparing magnesium levels in people with and without restless legs have given mixed results. A blood test can check both iron and magnesium if your GP thinks it is worth it.

### Which magnesium is best for restless legs?

Nobody has compared forms. The placebo-controlled trial used magnesium oxide and a small uncontrolled study used magnesium citrate. Glycinate is gentler on the stomach, but there is no evidence it works better or worse for restless legs.

### When should I take magnesium for restless legs?

In the evening is reasonable, since symptoms are worst at night, and the earliest study gave it in the evening. No trial has compared different times of day.

### How long does magnesium take to work for restless legs?

In the placebo-controlled trial there was no difference from placebo after one month, only after two. Give it at least eight weeks before deciding, and stop if it hasn't helped.

### Can I take magnesium for restless legs in pregnancy?

Restless legs is common in late pregnancy and usually goes away after the birth. Magnesium has not been tested for restless legs in pregnancy, so ask your midwife or GP first. They may check your iron, because low iron is common in pregnancy and is a known trigger.

## References

1. [Marshall NS et al. Magnesium supplementation for the treatment of restless legs syndrome and periodic limb movement disorder: a systematic review. Sleep Medicine Reviews, 2019.](https://pubmed.ncbi.nlm.nih.gov/31678660/)
2. [Jadidi A et al. Therapeutic effects of magnesium and vitamin B6 in alleviating the symptoms of restless legs syndrome: a randomized controlled clinical trial. BMC Complementary Medicine and Therapies, 2022.](https://pubmed.ncbi.nlm.nih.gov/36587225/)
3. [Gorantla S et al. Magnesium citrate monotherapy improves restless legs syndrome symptoms and multiple suggested immobilization test scores in an open-label pilot study. Journal of Clinical Sleep Medicine, 2024.](https://pubmed.ncbi.nlm.nih.gov/38738598/)
4. [Hornyak M et al. Magnesium therapy for periodic leg movements-related insomnia and restless legs syndrome: an open pilot study. Sleep, 1998.](https://pubmed.ncbi.nlm.nih.gov/9703590/)
5. [González-Parejo P et al. Effects of dietary supplementation in patients with restless legs syndrome: a systematic review. Nutrients, 2024.](https://pubmed.ncbi.nlm.nih.gov/39064758/)
6. [Winkelman JW et al. Treatment of restless legs syndrome and periodic limb movement disorder: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine, 2025.](https://pubmed.ncbi.nlm.nih.gov/39324694/)
7. [NHS. Restless legs syndrome.](https://www.nhs.uk/conditions/restless-legs-syndrome/)
