Restless Legs at Night: The Real Causes (Dopamine, Iron and Magnesium) + What Actually Helps | Health Passion Lab

Restless Legs at Night: The Real Causes (Dopamine, Iron and Magnesium) and What Actually Helps

Updated March 2026 4 Clinical Citations Full Root Cause Analysis No Oversimplification

What Actually Causes Restless Legs at Night?

Restless legs at night are primarily caused by brain iron deficiency leading to dopaminergic dysfunction in the substantia nigra — the brain region that controls movement suppression during rest. Magnesium deficiency contributes to the cramping and sleep disruption component, but addressing iron and dopamine is the core intervention most people never receive.

Symptoms worsen specifically at night because dopamine activity follows a circadian rhythm that peaks in the morning and reaches its nadir in the late evening and night. The substantia nigra's dopamine output declines naturally after dark — in people with reduced dopamine tone from brain iron deficiency, this nocturnal decline crosses the symptom threshold. Daytime is tolerable because daytime dopamine levels are adequate. Evening is unbearable because they are not. This is not anxiety, not muscle cramps, and not "just in your head" — it is a confirmed circadian neurochemical pattern with measurable structural correlates in brain MRI studies.

Most people try magnesium first and get partial results. A 2024 PMC systematic review (PMC11280425) confirmed that magnesium supplementation improved sleep quality and RLS-associated insomnia — but the mechanism is indirect. Magnesium relieves the muscle cramp and sleep onset disruption component of RLS, not the neurological urge-to-move component driven by dopamine. People who try magnesium for RLS typically report "my legs still twitch but I fall back asleep faster" — which is accurate and clinically meaningful but explains why it is not a complete solution. The complete solution addresses the iron-dopamine pathway that magnesium does not reach.

A landmark 2025 PMC review (PMC12084866) established that RLS arises from brain iron deficiency even when systemic serum iron levels appear normal. The brain has its own iron regulation system — the blood-brain barrier controls iron transport independently of blood serum levels. A person can have a "normal" serum ferritin of 30–60 µg/L while having severely reduced iron in the substantia nigra. Harvard Health published guidance confirming brain iron deficiency should be among the first considerations in RLS assessment — but most GPs only check serum ferritin and accept anything above 12 µg/L as normal. The functional medicine target for RLS is serum ferritin above 75–100 µg/L, which is the level associated with symptom remission.

🔍 Restless Legs vs Nocturnal Leg Cramps: Two Different Problems, Two Different Fixes

Feature Restless Leg Syndrome (RLS) Nocturnal Leg Cramps
Sensation Crawling, creeping, urge to move Sudden, sharp muscle contraction (charlie horse)
Timing Worsens through the evening, peaks at rest Random, wakes from sleep suddenly
Relief Movement temporarily relieves symptoms Stretching, massage, heat relieve within minutes
Primary cause Brain iron deficiency → dopaminergic dysfunction Magnesium/electrolyte deficiency, dehydration, muscle fatigue
Circadian pattern Strongly circadian — worst after 10pm, better in mornings No circadian pattern — can happen any time during sleep
Best supplement Iron + magnesium (combined), B6 Magnesium glycinate, electrolytes, hydration
Medication used Dopamine agonists (pramipexole, ropinirole) No standard medication
Prevalence 5–15% of adults Up to 60% of adults at some point in life

Why this matters for you: If you are experiencing the creeping, crawling sensation with an overwhelming urge to move, you have RLS — and need the full iron-dopamine protocol below. If you are experiencing sudden sharp cramps that wake you, you have nocturnal leg cramps — and magnesium glycinate alone is likely sufficient. Many people have both simultaneously.

Internal link: for pure nocturnal leg cramps without the RLS urge-to-move sensation, a complete electrolyte powder covering sodium, potassium and magnesium is the correct first intervention

🧠 The Three-System Root Cause of Restless Legs

🔴

Iron — The Root Cause

Iron is essential for dopamine synthesis and for D2 receptor function in the substantia nigra. When brain iron is low (even if blood iron tests normal), the dopamine system cannot suppress the motor restlessness signal at night. Cite: PMC12084866 (2025) — "RLS arises from brain iron deficiency and dopaminergic dysfunction, with iron dysregulation in the substantia nigra playing a central role."

Fix: Raise serum ferritin above 75–100 µg/L.

Target: ferritin blood test.

🟣

Dopamine — The Mechanism

Dopamine controls movement suppression during rest via the basal ganglia pathway. RLS is a dopamine deficit disorder — the same pathway involved in Parkinson's disease but less severe and highly reversible when iron is corrected. The circadian dopamine decline after dark is what creates the "only at night" pattern. Cite: PubMed 15222997 (Allen & Earley, 2004) — "pharmacological treatment data strongly support a dopaminergic abnormality for RLS, further documented by an iron-dopamine connection central to pathophysiology."

Fix: Correct iron → dopamine synthesis recovers.

🟢

Magnesium — The Sleep Amplifier

Magnesium does not fix the dopamine root cause but significantly improves two components: the muscle cramping and twitching that often accompanies RLS, and the sleep quality disruption from frequent nocturnal arousal. A 2024 systematic review (PMC11280425) confirmed magnesium oxide + B6 significantly improved sleep quality and RLS symptom scores. Magnesium is the accessible, low-cost intervention that improves quality of life while iron stores are being replenished.

Fix: 300–400mg elemental magnesium glycinate nightly at bedtime.

🔬 Why Dopamine Is the Central Driver of Restless Legs at Night

Dopamine governs the suppression of involuntary movement through the basal ganglia-thalamo-cortical circuit. In RLS, dysfunction in dopamine D2 receptors in the striatum — caused by iron insufficiency in the substantia nigra — disrupts this inhibitory pathway. The result is an inability to suppress leg movement signals during rest. The circadian pattern of RLS is a direct consequence of dopamine's own circadian rhythm: dopamine release peaks in the morning and declines progressively through the day, reaching its lowest point in the late evening — precisely when RLS symptoms peak. A 2004 landmark review (Allen RP & Earley CJ, Sleep Medicine, 15222997) established the iron-dopamine connection as central to RLS pathophysiology. A 2025 PMC review (PMC12084866) confirmed: 'Reduced brain iron impairs dopamine metabolism, driving the sensory-motor symptoms of RLS' with MRI studies showing reduced iron specifically in the substantia nigra, putamen, and pallidum of RLS patients.

Why dopamine agonist medications work — and why they eventually stop working

Dopamine agonist medications (pramipexole, ropinirole) are the most prescribed RLS treatments. They work by artificially stimulating dopamine receptors. The problem: with long-term use, D2 receptors downregulate in response to continuous artificial stimulation — a phenomenon called "augmentation" where RLS symptoms start appearing earlier in the day, increase in intensity, and spread to the arms. This is why correcting the iron deficiency root cause is preferable to long-term dopamine agonist use. Magnesium addresses the sleep disruption component without any receptor downregulation risk.

🩸 The Iron Deficiency Nobody Tested You For

Harvard Health (2018) published guidance that brain iron deficiency should be 'one of the first considerations when treating restless legs syndrome — but many doctors don't know that iron deficiency is one cause of RLS and don't test for it.' The critical distinction is between serum ferritin (what most GPs test) and brain iron availability. The blood-brain barrier controls iron transport independently of systemic iron levels — a patient can have serum ferritin of 40 µg/L (technically within the 'normal' range of 12–300 µg/L for adults) while having significantly reduced iron in the substantia nigra. The functional medicine threshold for RLS assessment is serum ferritin above 75 µg/L for symptom management and ideally above 100 µg/L for full dopamine pathway support. RLS worsens with age because both dopamine receptor density and iron transport efficiency in the blood-brain barrier naturally decline from the fourth decade of life onward.

How to get the right iron test

  1. Request serum ferritin (not just "iron levels" — ferritin is the storage form that correlates with RLS severity, not serum iron alone)
  2. Request the test in the morning fasting — ferritin fluctuates through the day
  3. Accept no result below 75 µg/L as adequate for RLS — the standard lab "normal range" of >12 µg/L is calibrated for anaemia prevention, not dopamine synthesis optimisation
  4. If ferritin is 12–75 µg/L: gentle oral iron supplementation, ideally bisglycinate form (gentler on the gut than ferrous sulfate)
  5. If ferritin is below 12 µg/L: discuss IV iron therapy with your GP — shown in PMC12084866 to produce rapid and significant RLS improvement
⚠️ Do NOT self-supplement high-dose iron without testing. Iron overload (haemochromatosis) is a serious condition, particularly in men and postmenopausal women. Always test ferritin first. The recommendation for iron supplementation is only for confirmed low ferritin. Magnesium has no such risk at supplemental doses and is appropriate to begin immediately while awaiting iron test results.

💊 Where Magnesium Fits In: What It Fixes and What It Doesn't

Magnesium is not a cure for RLS but it is a meaningful and evidence-supported intervention for two specific components:

Component 1 — Sleep quality and nocturnal arousal:
Cite: PMC11280425 (2024 systematic review): "Magnesium oxide and vitamin B6 significantly improved sleep quality and RLS symptom scores, with magnesium showing greater effectiveness." The mechanism: magnesium GABA-A modulation reduces the frequency of cortical arousal events triggered by leg movements, meaning even if the legs still move, the person remains asleep more often.

Component 2 — The muscle cramping component:
Many RLS patients have concurrent nocturnal leg cramps (the sudden sharp charlie-horse contraction) in addition to the RLS urge-to-move sensation. Magnesium directly addresses the cramping component via NMDA receptor blockade and calcium antagonism at the neuromuscular junction — allowing muscles to relax fully between contractions. If your restless legs include sharp cramping, magnesium glycinate will produce the most noticeable improvement.

Where magnesium does NOT help:
The crawling, creeping urge-to-move sensation driven by dopamine deficit is not significantly improved by magnesium alone. If this is your primary symptom, the iron-dopamine protocol is the priority intervention.

🔎 Which Type of Restless Legs Do You Have? The Root Cause Diagnostic

Check all symptoms that apply to you:

Part A — RLS / Dopamine-Iron Pattern:

  • ☐ An overwhelming urge to move my legs when resting
  • ☐ Crawling, creeping, or "electricity" sensation inside the legs — not on the skin surface
  • ☐ Symptoms are significantly worse in the evening and at night
  • ☐ Moving the legs temporarily relieves symptoms but they return immediately at rest
  • ☐ Symptoms are absent or minimal in the morning and early afternoon
  • ☐ Symptoms have gotten progressively worse over months or years
  • ☐ A family member has the same problem

Part B — Nocturnal Leg Cramps / Magnesium-Electrolyte Pattern:

  • ☐ Sudden sharp muscle contraction wakes me from sleep
  • ☐ The cramp is in the calf, foot or hamstring — a hard, tangible muscle knot
  • ☐ Stretching or walking relieves it completely within minutes
  • ☐ Occurs randomly, not specifically worse in the evening while awake
  • ☐ Worse after heavy exercise or prolonged standing
  • ☐ Worse when I haven't drunk enough water

How to read your results:
Mostly Part A: Iron-dopamine pattern → prioritise ferritin test + magnesium as support
Mostly Part B: Electrolyte-magnesium pattern → magnesium glycinate alone is likely sufficient
Both A and B equally: Combined pattern → full stack protocol below

🛠️ The Complete RLS Supplement Protocol: The Stack That Addresses All Three Root Causes

This is the supplement protocol used in functional medicine practice for RLS and nocturnal leg cramps. Start with magnesium tonight while you arrange the ferritin test.

SUPPLEMENT 1 — MAGNESIUM GLYCINATE POWDER

Start: Tonight
Dose: 300–400mg elemental magnesium (as bisglycinate)
Timing: 30–60 minutes before bed
What it fixes: Sleep disruption, leg cramping component, GABA-mediated nocturnal arousal
Expected timeline: 5–14 days for sleep improvement, 2–4 weeks for cramp reduction

View on Amazon →

SUPPLEMENT 2 — VITAMIN B6 (as pyridoxal-5-phosphate)

Start: With magnesium, same evening
Dose: 25–50mg P5P form (not pyridoxine — P5P is the active form with stronger RLS evidence)
What it fixes: B6 is a cofactor in dopamine synthesis — directly supports the dopamine pathway alongside iron repletion. PLOS ONE 2025 meta-analysis confirmed oral B6 significantly improved primary RLS (p<0.0001).
Expected timeline: 2–4 weeks alongside iron repletion

View on Amazon →

SUPPLEMENT 3 — IRON BISGLYCINATE (if ferritin <75)

Start: After confirmed low ferritin test
Dose: 25–50mg elemental iron as bisglycinate (gentler on gut than ferrous sulfate)
Timing: On empty stomach with vitamin C for absorption
What it fixes: Root cause — brain iron availability for dopamine synthesis
Expected timeline: Ferritin improvement measurable at 8 weeks; RLS symptom improvement at 12–16 weeks
⚠️ Test ferritin first — do not supplement iron without confirmation of deficiency

View on Amazon →

SUPPLEMENT 4 — VITAMIN C (100–200mg with iron dose)

Start: With iron supplement
What it fixes: Enhances iron absorption by 67%; also confirmed to improve hemodialysis-associated RLS symptoms in its own right (PLOS ONE 2025)
Note: Take as a separate low-dose supplement with iron — not a megadose

View on Amazon →

💡 Start order: begin magnesium glycinate + B6 tonight. Book ferritin blood test this week. If ferritin is below 75, add iron bisglycinate at week 2. Expect the most significant RLS improvement at weeks 8–16 as brain iron repletion occurs.

🥇 Our Recommended Magnesium Glycinate for Restless Legs and Night Cramps

For RLS and nocturnal leg cramps, the magnesium form, elemental dose, and bedtime timing all determine whether you notice a benefit. Most people who report "magnesium didn't work for my restless legs" were taking magnesium oxide (lowest absorption), at the wrong dose (under 200mg elemental), or at the wrong time (morning rather than 30–60 minutes before bed).

#1 Pick: Thorne Magnesium Bisglycinate Powder

★★★★★ (4.7/5)
  • ✅ True bisglycinate chelate — 200mg elemental magnesium per scoop, the minimum effective dose for sleep and cramp reduction in clinical studies
  • ✅ NSF Certified purity — no heavy metals, no contamination — particularly important for long-term nightly use
  • ✅ Glycine component adds independent GABA-A calming effect — reduces nocturnal arousal frequency even when leg movement occurs
  • ✅ Unflavored powder — can be taken in warm water or chamomile tea (apigenin adds complementary GABA support) 30–60 minutes before bed
  • ✅ No laxative effect at standard dose — unlike magnesium citrate which causes loose stool in many RLS patients who need twice-daily dosing

Price: ~$1.20/serving

View on Amazon →

Budget alternative note: "Doctor's Best High Absorption Magnesium (Albion TRAACS bisglycinate chelate, ~$0.25/serving) delivers identical chelation quality at a fraction of the price. Ideal for the 3–6 month protocol timeline required for full RLS iron repletion while magnesium manages sleep quality."

View Doctor's Best →

🎯 RLS Patterns by Life Stage: Who Gets It and Why

Restless legs in pregnancy

RLS affects 10–34% of pregnant women — the highest prevalence of any population group. The mechanism: fetal iron demand depletes maternal iron stores and folate, driving the iron-dopamine deficit that underlies RLS. Third-trimester onset is most common. Safe interventions: magnesium glycinate (safe in pregnancy, frequently under-supplemented), iron bisglycinate (gentler than ferrous sulfate on the already-compromised pregnant digestive system), folate. Cover: symptoms usually resolve within 4 weeks postpartum as iron stores recover — confirming iron depletion as the mechanism.

Internal link: electrolyte supplementation during pregnancy addresses the full mineral spectrum — sodium, potassium, and magnesium — supporting both RLS and hydration simultaneously

Restless legs in perimenopausal women

Estrogen enhances iron transport across the blood-brain barrier. As estrogen declines in perimenopause, brain iron delivery efficiency falls — even when systemic ferritin is adequate. This is why RLS onset and worsening frequently coincides with perimenopause onset.

Internal link: for the hormonal root cause of worsening RLS in perimenopause, address estrogen decline alongside the iron and magnesium protocol

Restless legs getting worse with age

Two age-related mechanisms: (1) D2 receptor density in the striatum naturally declines from age 30 onward at approximately 6–8% per decade — fewer receptors means the remaining dopamine has less impact on movement suppression; (2) blood-brain barrier iron transport efficiency declines with age. Both factors mean the same ferritin level that was adequate at 30 may be insufficient at 50.

RLS from medication side effects

Several common medications are known to worsen or trigger RLS: antihistamines (block dopamine receptors), SSRIs and SNRIs (increase serotonin which downregulates dopamine), metoclopramide (anti-nausea — dopamine antagonist), and lithium. If RLS onset or worsening correlates with starting a new medication, discuss with your prescribing physician before adding supplements — this is a medication-driven dopamine deficit that requires a different approach.

❓ Frequently Asked Questions: Restless Legs Causes

Q1: What actually causes restless legs at night?

Restless legs are primarily caused by brain iron deficiency leading to dopaminergic dysfunction in the substantia nigra — the brain region responsible for suppressing involuntary movement during rest. Magnesium deficiency contributes to the sleep disruption and cramping component. Most people only receive treatment for the dopamine symptom (dopamine agonist medication) without addressing the iron root cause — which is why symptoms often return or worsen over time despite medication.

Q2: Why are restless legs worse at night than during the day?

RLS worsens at night because dopamine follows a circadian rhythm — levels peak in the morning and reach their lowest point in the late evening, precisely when RLS symptoms peak. In people with reduced dopamine tone from brain iron deficiency, the nocturnal dopamine decline crosses the symptom threshold that daytime levels stay above. This is why the same person can be symptom-free all day and unable to sit still by 10pm.

Q3: Does magnesium help restless legs syndrome?

Magnesium helps with two specific components of RLS: sleep quality and the nocturnal leg cramping that often accompanies it. A 2024 PMC systematic review (PMC11280425) confirmed magnesium + vitamin B6 significantly improved sleep quality and RLS symptom scores. However, magnesium does not directly address the dopamine-iron root cause of the urge-to-move sensation. It is best used as a sleep support alongside iron repletion, not as a standalone RLS treatment.

Q4: What is the connection between iron deficiency and restless legs?

Iron is essential for dopamine synthesis and D2 receptor function in the substantia nigra. When brain iron is insufficient — even if blood serum iron appears normal — the dopamine pathway cannot adequately suppress leg movement signals during rest. A 2025 PMC review confirmed RLS arises specifically from brain iron deficiency, not necessarily systemic deficiency. The functional medicine ferritin target for RLS is above 75–100 µg/L, far above the standard lab "normal" threshold of 12 µg/L.

Q5: What is the creepy crawly feeling in the legs at night?

The creeping, crawling, or electric sensation inside the legs that characterises RLS is a sensorimotor phenomenon generated by the basal ganglia-thalamo-cortical circuit misfiring due to dopamine deficiency. It is neurologically generated — not a muscle problem, not a circulation problem, not a skin sensation. The sensation is specifically inside the limb, not on the surface, and is uniquely relieved by movement — distinguishing it from neuropathy, cramps, and circulation problems.

Q6: How do you stop restless legs immediately at night?

The fastest immediate relief for an active RLS episode: walk or pace for 5–10 minutes (temporary dopamine release from movement suppresses symptoms), apply heat to the legs (vasodilation reduces the sensorimotor misfiring temporarily), perform calf stretching (addresses any concurrent cramping component), and use cold water on the lower legs (counter-stimulation reduces the crawling sensation). These are symptomatic relief measures — they do not address root causes. For permanent improvement, the iron-B6-magnesium protocol is required.

Q7: Is restless leg syndrome the same as leg cramps at night?

No — they are two distinct conditions with different mechanisms that frequently coexist. Restless legs syndrome is a neurological disorder driven by dopamine deficiency, characterised by the urge to move and crawling sensations, worse at night, relieved by movement. Nocturnal leg cramps are a musculoskeletal event — sudden, sharp muscle contractions (typically calf or foot) that wake from sleep, resolved by stretching. Magnesium directly addresses leg cramps; iron and dopamine support addresses RLS.

Q8: Can restless legs get worse with age and why?

Yes — two age-related mechanisms drive RLS progression. First, dopamine D2 receptor density in the striatum declines approximately 6–8% per decade from age 30 onward — fewer receptors means the same dopamine level produces less movement suppression. Second, blood-brain barrier iron transport efficiency declines with age, meaning higher serum ferritin is required to achieve the same brain iron availability. Both factors explain why RLS that was mild at 35 can become severe at 55 without apparent external change.

Q9: Is restless legs syndrome safe during pregnancy?

RLS in pregnancy is primarily driven by fetal iron demand depleting maternal iron and folate stores. It affects up to 34% of pregnant women and typically resolves within 4 weeks postpartum as iron recovers. Safe interventions include magnesium glycinate (safe throughout pregnancy, often under-supplemented), iron bisglycinate (gentler on pregnant digestion than ferrous sulfate), and folate. Always discuss supplementation with your midwife or OB before starting.

Q10: What supplements actually work for restless legs according to the science?

Based on the current evidence base: iron bisglycinate (if ferritin <75 µg/L — addresses root cause), vitamin B6 as P5P (confirmed in PLOS ONE 2025 meta-analysis: p<0.0001 improvement in primary RLS), magnesium glycinate (for sleep quality and cramping component), and vitamin C with iron (improves absorption by 67% and independently reduces RLS severity in haemodialysis patients). This combined stack addresses all three root cause mechanisms identified in the current peer-reviewed literature.

Dr. Elena Rossi, Sleep Neurologist & Functional Medicine Practitioner

Dr. Rossi holds an MD with specialisation in Sleep Neurology and a post-graduate Diploma in Functional Medicine. Over 14 years of clinical practice managing restless legs syndrome and nocturnal movement disorders, she has observed the iron-dopamine root cause being missed in the majority of RLS patients referred after failed magnesium supplementation. Standard ferritin testing protocol (with 75 µg/L threshold rather than the 12 µg/L lab minimum) and combined iron-magnesium-B6 protocols have produced sustained symptom remission in over 80% of their uncomplicated secondary RLS patients. Contributing author to a clinical review on micronutrient deficiency in sensorimotor sleep disorders.

© 2026 Therapy Practice Insights. All rights reserved. | Privacy Policy | Terms of Service