Restless Legs at Night: Iron and Magnesium
on May 29, 2026

Restless Legs at Night: Iron and Magnesium

It starts around 9 or 10pm. A creeping, crawling sensation in your calves, or a deep ache that makes you need to move your legs just to get any relief. The moment you stop moving, it comes back. You shift positions, stretch, get up and walk around, and finally fall asleep sometime after midnight because the only time your legs actually quiet down is when you're upright. Your partner is frustrated. You're exhausted. You've looked it up and know the name is restless legs syndrome (RLS), but what causes it and what actually helps is less clear.

Two nutrients have the most consistent connection to RLS: iron and magnesium. Neither is a cure for everyone, and RLS has other contributors including genetics, dopamine pathway function, and certain medications. But nutritional correction for both nutrients is worth trying before anything more complex, and the physiology behind each is specific enough to be actionable.

Iron: The Dopamine Connection

Restless legs syndrome involves the dopamine system in the brain. Dopamine regulates voluntary movement and motor control, and RLS symptoms are thought to involve dysregulated dopamine signaling in the basal ganglia, the brain region that coordinates movement. The connection to iron is direct: iron is an essential cofactor for tyrosine hydroxylase, the enzyme that catalyzes the rate-limiting step in dopamine synthesis.

When brain iron is low, dopamine synthesis slows. And critically, brain iron can be low even when serum iron appears normal. A 2002 autopsy study published in Neurology found significantly lower iron concentrations in the substantia nigra (a key dopamine-producing region) of RLS patients compared to matched controls, despite serum iron being within the normal range in many of those patients.

This is why the clinical threshold for iron supplementation in RLS is different from the threshold for iron-deficiency anemia. A 2017 practice guideline from the American Academy of Sleep Medicine recommends checking serum ferritin in all RLS patients and considering oral supplementation if ferritin is below 75 ng/mL, significantly higher than the standard anemia threshold of 12-20 ng/mL. The brain needs more stored iron than the general anemia diagnostic cutoff captures.

A 2019 randomized controlled trial in Sleep Medicine found that oral ferrous sulfate supplementation significantly reduced RLS symptom severity in patients with ferritin below 75 ng/mL after 12 weeks, compared to placebo. A 2011 Cochrane review concluded that intravenous iron was even more effective for confirmed deficient patients, but oral supplementation showed meaningful benefit for mild-to-moderate cases.

Practical takeaway: if you have RLS symptoms, ask your doctor for a ferritin test specifically, not just hemoglobin. If your ferritin is below 75 ng/mL, oral iron supplementation combined with vitamin C (which improves non-heme iron absorption by up to 4x) is a reasonable starting point. GMMY's Vitamin C Gummies at 125 mg are a practical companion to oral iron supplementation for this purpose. The absorption red flags post covers other factors that affect how much of your iron supplement you actually absorb.

Magnesium: Muscle Relaxation and Nerve Signaling

Magnesium's role in RLS is mechanistically different from iron's. Magnesium is involved in two processes directly relevant to the crawling, twitching leg sensations: muscle relaxation and NMDA receptor regulation.

At the muscle level, calcium triggers muscle contraction and magnesium triggers relaxation. Magnesium acts as a natural calcium antagonist in muscle cells. When magnesium is low, the calcium-magnesium balance shifts toward greater contractile tone, contributing to leg cramps, restlessness, and difficulty relaxing muscles during the transition to sleep.

At the nerve level, NMDA receptors are glutamate-activated channels involved in nerve excitability. Magnesium blocks NMDA receptor activity at rest, functioning as a natural inhibitor of neural excitability. Magnesium deficiency allows NMDA receptors to remain more active, contributing to the heightened peripheral nerve sensitivity that characterizes RLS.

A 1998 double-blind study in Sleep found that 12.4 mmol of magnesium oxide taken before bedtime for 4-6 weeks improved sleep efficiency and reduced periodic limb movements in mild-to-moderate RLS patients. The 2001 follow-up study by the same group found subjective improvement in 10 of 10 RLS patients treated with nighttime magnesium.

The magnesium research for RLS is less robust than the iron research overall, primarily because RLS trials are small and hard to blind effectively. But the biological plausibility is strong, the safety margin is wide at dietary supplement doses, and magnesium deficiency is common. A 2012 analysis in Nutrients found that approximately 48% of U.S. adults consumed below the estimated average requirement for magnesium from food alone.

Why Both Often Appear Together

Iron and magnesium deficiencies co-occur more often than chance. People with restrictive diets, high physical activity, chronic stress, or heavy alcohol use tend to deplete multiple minerals simultaneously. Women with heavy menstrual periods often lose more iron than their diet replaces, and may also be chronically low in magnesium if they're avoiding dairy or don't eat nuts and seeds regularly.

For someone with active RLS, checking ferritin (iron stores) is the higher clinical priority because the iron-RLS connection is more robustly studied and because iron at high doses requires testing to dose safely. Magnesium is lower-stakes: the tolerable upper limit for supplemental magnesium is 350 mg from supplements (the laxative effect of excess magnesium limits over-supplementation naturally), and adding a magnesium supplement concurrently with iron testing is a reasonable parallel approach.

A daily Multivitamin Gummy covers the baseline range for many of these minerals as part of a 10-nutrient profile. For someone actively managing RLS, the multivitamin provides the nutritional foundation while targeted iron and magnesium supplementation addresses the higher therapeutic doses often required.

Lifestyle Factors That Compound Nutritional Deficiency

A few common habits deplete the nutrients most relevant to RLS more quickly than average.

Caffeine. Caffeine inhibits iron absorption when consumed within 1 hour of iron-containing food or supplements. It also depletes magnesium via increased urinary excretion. High caffeine intake and RLS often appear together; the caffeine may be partially perpetuating the deficiency.

Alcohol. Alcohol interferes with iron metabolism, impairs magnesium reabsorption in the kidneys, and disrupts sleep architecture, which worsens RLS symptom perception. Regular alcohol use combined with RLS warrants a nutritional evaluation before anything else.

Heavy exercise. Athletes have higher iron and magnesium requirements due to sweat losses and increased red blood cell turnover. A runner training for a marathon who develops evening restlessness in their legs during peak training is textbook iron-magnesium depletion in an athletic context.

For understanding how diet and gut health affect mineral absorption more broadly, the gut-vitamin connection post goes into the specifics of how gut inflammation and motility affect mineral uptake.

When Nutrition Isn't the Whole Answer

RLS is a neurological condition with multiple causes. Nutrition is one layer, not the whole picture. For moderate-to-severe RLS that significantly disrupts sleep nightly, discuss the full evaluation with a neurologist or sleep medicine physician. They may recommend a dopamine agonist (pramipexole, ropinirole) or other prescription interventions if nutritional correction doesn't provide adequate relief after 8-12 weeks.

Pregnancy substantially worsens RLS in many women, with 10-26% of pregnant women reporting symptoms according to a 2012 review in Sleep Medicine Reviews. This is attributed to rapidly falling iron and folate levels during fetal development. Prenatal vitamin supplementation that includes adequate iron is directly relevant.

Certain medications worsen RLS: antidepressants (SSRIs and TCAs), antinausea drugs (metoclopramide, prochlorperazine), some antihistamines (diphenhydramine), and antipsychotics. If your RLS worsened after starting a new medication, that's worth flagging to your prescriber.

The Energy + Immunity Bundle, pairing B12 and vitamin C, addresses the vitamin C component that enhances iron absorption, making it a practical daily complement to anyone supplementing iron for RLS-related deficiency. Pair the C consistently with iron supplements rather than just with meals for the clearest absorption benefit.

FAQ

How long does iron supplementation take to reduce RLS symptoms?

The 2019 Sleep Medicine RCT found significant improvement at 12 weeks. Ferritin levels typically take 3-6 months to rise meaningfully with oral supplementation, depending on baseline deficiency depth and dose. Most clinicians recommend retesting ferritin at 3 months to track progress.

What form of magnesium is best for RLS?

The 1998 Sleep study used magnesium oxide, but this form has relatively low bioavailability. Magnesium glycinate and magnesium bisglycinate are better absorbed and gentler on the gut. Magnesium citrate is also well-absorbed. Magnesium oxide is the cheapest but may require higher doses to achieve the same tissue effect.

Can I take iron and magnesium at the same time?

They compete for the same intestinal transporters at high doses, so separating them by 2 hours is ideal if you're taking therapeutic doses of both. At the supplemental levels in a multivitamin, the interaction is clinically insignificant.

My RLS is worse in winter. Is that a vitamin D connection?

Possibly. A 2014 study in the Sleep Medicine journal found that RLS severity correlated inversely with serum vitamin D levels. Addressing vitamin D deficiency (common in winter in northern latitudes) through supplementation may offer modest RLS benefit as an add-on to iron and magnesium correction.