Is Magnesium Good for Restless Leg Syndrome?

Magnesium can help reduce restless legs syndrome (RLS) symptoms, particularly if your levels are low. The evidence is promising but still limited: only a handful of clinical trials have tested it directly, and the results have been positive enough to make magnesium a reasonable, low-risk option to try, though not a guaranteed fix. Whether it works for you depends largely on what’s driving your symptoms in the first place.

How Magnesium Affects Restless Legs

Magnesium plays a direct role in controlling how your nerves fire and your muscles contract. It works by sitting inside a specific receptor channel in nerve cells, acting as a gatekeeper that blocks calcium from flooding in. When magnesium levels are adequate, this keeps nerve signaling calm and muscles relaxed. When levels drop, calcium flows more freely into nerve and muscle cells, creating excessive neural activity that triggers involuntary muscle contractions and the uncomfortable sensations characteristic of RLS.

This isn’t just a theory. The blocking mechanism has been well documented at the cellular level. Magnesium essentially acts as a natural calcium antagonist in your nervous system. Low magnesium means your nerves become more excitable and your neuromuscular transmission ramps up, which is exactly what produces that crawling, pulling, or aching feeling in your legs that won’t let you sit still.

What the Clinical Evidence Shows

A 2024 open-label pilot study gave 12 adults with primary RLS 200 mg of magnesium citrate daily for 8 weeks and found promising improvements in symptoms. A 2022 randomized controlled trial found that participants taking 250 mg of magnesium oxide (combined with vitamin B6) saw symptom improvement starting after the first month, with significantly better scores on standardized RLS severity and sleep quality questionnaires compared to placebo.

An earlier pilot study published in the journal Sleep tested oral magnesium over 4 to 6 weeks and also reported improvements in periodic leg movements and restless legs symptoms. That said, the body of research is small. A systematic review of dietary supplements for RLS noted that while one review positioned magnesium as a potentially cost-effective and safe option, another concluded that no solid conclusions could yet be drawn about its effectiveness. The trials that exist are encouraging, but they involve small numbers of people.

Magnesium Might Not Be Your Problem

RLS has several possible causes, and magnesium deficiency is only one of them. Iron deficiency in the brain is the most well-established contributor. Even people with normal iron levels on standard blood tests can have insufficient iron in the brain due to problems with how iron is transported and metabolized. This means iron supplementation sometimes helps even when bloodwork looks fine.

Other secondary causes include kidney disease, diabetes, certain medications, and pregnancy. If your RLS is primarily driven by low brain iron rather than low magnesium, supplementing with magnesium alone may not resolve your symptoms. Blood tests can help identify or rule out iron deficiency, kidney problems, vitamin deficiencies, and other conditions that mimic or worsen RLS. Getting this workup done is worth your time, especially if your symptoms are moderate to severe.

Which Form of Magnesium to Choose

Not all magnesium supplements are absorbed equally. Organic forms like magnesium citrate and magnesium glycinate are significantly more bioavailable than inorganic forms like magnesium oxide. Research comparing these forms found that both blood levels and urinary excretion of magnesium were significantly higher after taking citrate compared to oxide, confirming that your body actually absorbs more of it. The solubility of a supplement matters more for absorption than the raw amount of magnesium it contains.

Magnesium oxide is cheap and packs the most elemental magnesium per pill, but your body absorbs very little of it. Magnesium citrate absorbs well but has noticeable laxative effects, which can be a benefit or a drawback depending on your situation. Magnesium glycinate tends to be the gentlest on your stomach while still offering good absorption, making it a practical choice for daily use. Supplements that blend organic and inorganic forms (like oxide combined with glycerophosphate) also performed well in bioavailability testing.

Topical magnesium sprays and gels are unlikely to help. The amount of magnesium absorbed through the skin is low and inefficient, and experts at Mayo Clinic do not recommend transdermal magnesium for sleep-related issues.

Dosage and Timing

The clinical trials showing positive results for RLS used doses ranging from about 200 to 300 mg of elemental magnesium daily. The most recent trial used 200 mg of magnesium citrate taken once daily. The tolerable upper intake level for supplemental magnesium in adults is 350 mg per day, set primarily based on the threshold where digestive side effects like diarrhea become common.

Taking your dose in the evening makes the most sense for RLS, since symptoms typically peak at night when you’re trying to rest. Most people in the trials took their magnesium in the evening as well. Expect to give it at least 4 weeks of consistent daily use before judging whether it’s helping. The randomized trial showed improvement beginning after the first month, and other trials ran for 4 to 8 weeks.

Safety Considerations

For most people, magnesium supplementation at standard doses is very safe. The main side effect is loose stools or diarrhea, especially with citrate or oxide forms. Serious magnesium toxicity is rare and almost always occurs in people with significantly reduced kidney function, since healthy kidneys efficiently clear excess magnesium from the blood.

If you have chronic kidney disease, magnesium supplementation requires more caution. As kidney function declines, the body’s ability to excrete magnesium diminishes, and levels can build up. Current research suggests magnesium administration in people with kidney disease is generally safe when monitored, but blood levels should stay below about 1.2 mmol/L. Symptomatic toxicity, which can include muscle weakness and breathing difficulty, typically only appears at much higher blood concentrations.

Magnesium can also interfere with the absorption of certain medications. If you take osteoporosis drugs like alendronate, or antibiotics such as ciprofloxacin, levofloxacin, or doxycycline, magnesium can bind to these drugs in your gut and reduce how much you absorb. Separate these medications from your magnesium supplement by at least 2 hours before or 4 to 6 hours after.

Magnesium From Food

You can also raise your magnesium intake through diet, which avoids the digestive side effects of supplements entirely. Pumpkin seeds are one of the richest sources, with about 150 mg per ounce. Almonds and cashews each provide roughly 75 to 80 mg per ounce. Dark chocolate, black beans, spinach, and whole grains are also good sources. Most adults need between 310 and 420 mg of total magnesium per day depending on age and sex, and surveys consistently show that a large portion of the population falls short of that target through diet alone.

Combining magnesium-rich foods with a moderate supplement is a reasonable approach, especially if you want to minimize your pill dose while still closing the gap. For mild RLS symptoms, dietary changes alone may be enough to make a noticeable difference, particularly if your current intake is low.