Skip to main content
Restless legs and nighttime leg cramps are two of the most common reasons people reach for magnesium. The evidence is mixed but worth understanding — along with the other causes worth ruling out before assuming magnesium is the answer.
Magnesium is a supplement, not a treatment for restless legs syndrome (RLS). Persistent RLS deserves a doctor’s evaluation, partly because it can be linked to low iron and other treatable causes.

Restless legs syndrome (RLS)

RLS is an uncomfortable urge to move the legs, often worse in the evening. Some people — particularly those who are low in magnesium — find magnesium helpful, but high-quality evidence is mixed. Importantly, RLS is frequently linked to low iron, as well as other factors, so persistent symptoms warrant a doctor’s review, which may include checking iron levels. Magnesium is reasonable to ensure adequacy, but it isn’t a guaranteed fix.

Nighttime leg cramps

Magnesium plays a role in normal muscle function, and deficiency can contribute to cramps, which is why it’s a popular remedy for muscle cramps and leg cramps at night. Correcting a shortfall may help some people, though results vary. Staying hydrated, stretching before bed, and reviewing medications with your doctor also matter.

Why the right form matters

If you do try magnesium, well-absorbed, gentle forms are easier on the stomach than cheap magnesium oxide. Spectrum 5 combines five forms of magnesium — glycinate, malate, citrate, oxide, and hydroxide — with marine-sourced Aquamin minerals, aiming for high absorption with a gentle profile.

Use it safely

The tolerable upper intake for supplemental magnesium is about 350 mg per day for adults; more can cause diarrhea. People with kidney disease or who take certain medications should check with a doctor first, since they can’t clear excess magnesium as easily. See the full safety guide and dosage guide.

When to see a doctor

If restless legs or cramps are frequent, disrupt your sleep, or don’t improve, talk to your doctor rather than relying on a supplement alone — especially since iron and other treatable causes may be involved.
Related: Benefits for Muscle · Deficiency Signs · Dosage Guide · Safety