Magnesium for Restless Legs: What the Evidence Actually Shows
Magnesium has been tested for restless legs, but a small trial isn’t enough to make it a reliable treatment.
Restless legs syndrome (RLS) usually involves an urge to move your legs while you’re resting, often at night. If you call the feeling a cramp, that urge is still the useful clue to ask about; cramps can also resemble RLS. One small trial reported improvement with magnesium, but it doesn’t establish a dependable treatment. Iron status and medicines that may worsen symptoms are more useful things to check first. 1 5 9
Start with the pattern, not the supplement
RLS is more than uncomfortable legs at bedtime. The hallmark is a strong urge to move, usually when you’re resting at night. It can come with odd or unpleasant sensations, and moving the affected limb may partly or fully express that urge. 1 9
A night cramp is a possible look-alike. If “cramp” is the word you use, ask yourself what happens alongside it: do you feel a strong need to move your legs while resting? That pattern points more toward RLS than the word “cramp” alone does. A fuller history can help distinguish RLS from cramps, nerve problems, and other conditions when the pattern isn’t clear. 1 5 8
Does magnesium help RLS?
There is a reason magnesium comes up in conversations about legs: it plays a role in normal nerve and muscle function. But that role doesn’t show that taking extra magnesium will relieve RLS. 2
One randomized, single-blind trial assigned 75 people with RLS to magnesium oxide, vitamin B6, or placebo. The magnesium group received 250 mg daily. The study found no statistically significant differences in symptom severity or sleep quality among the groups after the first month; it reported differences at the second-month assessment. One small, single-blind trial cannot establish a dependable benefit or show that magnesium works for women specifically or during pregnancy. 9
So magnesium is not a proven substitute for checking likely contributors to RLS. A more useful next step is to ask whether your iron status should be assessed and whether any of your medicines might be worsening symptoms. Low iron is linked with RLS, and treatment may help when low iron is contributing. Some medicines can also make symptoms worse. Don’t start iron simply because your legs feel restless; whether it’s appropriate depends on your iron results and circumstances. 1 6 7
Why iron and medication review matter
Iron is worth discussing even if you haven’t been told you have anemia. Iron deficiency can develop in stages, and iron stores can be depleted before hemoglobin falls enough for anemia to be diagnosed. Heavy periods are one reason women may be more likely to have low iron. 3 4
A medication review is another practical check. RLS guidance identifies medicines that exacerbate symptoms as part of management, and the NHS notes that some medicines can make symptoms worse. Bring up prescription medicines and other products you use rather than stopping anything on your own. 1 7
If symptoms are disrupting sleep, or self-care hasn’t helped, getting medical advice is a useful next step. Treatment depends on the cause; it may involve treating low iron or considering other RLS treatments, rather than taking magnesium by default. 1
Pregnancy changes the decision
RLS can arise during pregnancy and often improves after birth. A 2026 review describes it as commonly emerging in the second or third trimester and identifies iron deficiency as a consistent risk factor. 1 6
Pregnancy also changes the treatment balance. The review describes management as prioritizing non-drug measures and iron repletion, with medication reserved for severe symptoms that don’t respond to those approaches. It characterizes oral or intravenous iron as the safest and most effective therapy in pregnancy, while emphasizing the need to weigh medication exposure for the fetus. That’s a reason to discuss symptoms and iron status with your maternity care team, not to start magnesium or iron on your own. 6
If you’re considering magnesium anyway
Magnesium supplements can cause diarrhea, nausea, and abdominal cramping. The NIH Office of Dietary Supplements lists an adult upper limit of 350 mg per day from supplements and medicines; this limit doesn’t include magnesium naturally present in food. Magnesium can also interfere with absorption of some oral antibiotics, including doxycycline and ciprofloxacin, and oral bisphosphonates used for osteoporosis. Kidney impairment raises the risk of excess magnesium because the kidneys help remove it. 2
That safety information doesn’t mean magnesium is never appropriate. It means the supplement’s role, your other medicines, and your health history matter. For RLS, start by clarifying whether your symptoms fit the pattern and checking more established contributors, especially iron status and medicines that may aggravate it.
Restlessness, cramps, and magnesium
RLS clue: A strong urge to move your legs while resting, often at night, fits the RLS pattern.19
Cramp look-alike: A night cramp can be confused with RLS. The word “cramp” alone cannot tell you whether that urge-to-move pattern is present.158
Magnesium evidence: One small trial reported later differences, but it does not establish a dependable benefit or a women-specific result.9
More useful checks: Ask whether iron status and medicines that may aggravate symptoms should be reviewed.167
Read the figure as text
Compare the key RLS clue with what a cramp label cannot tell you, then see where magnesium fits.- RLS clue: A strong urge to move your legs while resting, often at night, fits the RLS pattern.19
- Cramp look-alike: A night cramp can be confused with RLS. The word “cramp” alone cannot tell you whether that urge-to-move pattern is present.158
- Magnesium evidence: One small trial reported later differences, but it does not establish a dependable benefit or a women-specific result.9
- More useful checks: Ask whether iron status and medicines that may aggravate symptoms should be reviewed.167
More questions, answered
Does restless legs syndrome always mean low iron?
No. RLS can have no clear cause, and family history, pregnancy, kidney disease, and some medicines are also linked with it. Low iron is one important contributor to check, not an explanation for every case. 1 6
Should I try magnesium before asking about iron?
A small magnesium trial reported improvement, but it doesn’t establish a reliable benefit. Asking whether your iron status should be assessed, and reviewing medicines that may worsen symptoms, are more evidence-grounded first steps. 1 7 9
Sources you can check
- Restless legs syndrome - NHSAccessed 2026-09-25Return to first citation
- Magnesium - Health Professional Fact SheetAccessed 2026-09-25Return to first citation
- Iron - Health Professional Fact SheetAccessed 2026-09-25Return to first citation
- Iron: MedlinePlusAccessed 2026-09-25Return to first citation
- [Paraesthesia in the legs].Eisensehr I. · MMW Fortschritte der Medizin · 2007Return to first citation
- Update on Restless Legs Syndrome Management during Pregnancy.Jung KY. · Sleep medicine clinics · 2026Return to first citation
- An Updated Algorithm for the Management of Restless Legs Syndrome.Silber MH, Berkowski JA, Buchfuhrer MJ, DelRosso LM, Earley CJ, Lipford MC, Manconi M, Winkelman JW, Zak RS, Scientific and Medical Advisory Board of the Restless Legs Syndrome Fou... · Mayo Clinic proceedings · 2026Return to first citation
- RLS-like symptoms: differential diagnosis by history and clinical assessment.Ferini-Strambi L. · Sleep medicine · 2007Return to first citation
- Therapeutic effects of magnesium and vitamin B6 in alleviating the symptoms of restless legs syndrome: a randomized controlled clinical trial.Jadidi A, Rezaei Ashtiani A, Khanmohamadi Hezaveh A, Aghaepour SM. · BMC complementary medicine and therapies · 2022Return to first citation