Nadoix
Sleep

Magnesium Glycinate Dose for Restless Legs at Night: How Much, When, and Which Form Actually Helps

Magnesium glycinate dose for restless legs at night: how much, when to take it before bed, why glycinate, and what to check if it isn't working.

By Nadoix Editorial Team · Wellness Research & Editorial

Magnesium Glycinate Dose for Restless Legs at Night: How Much, When, and Which Form Actually Helps

Person lying awake at night rubbing their restless legs — a magnesium glycinate supplement on the nightstand
Person lying awake at night rubbing their restless legs — a magnesium glycinate supplement on the nightstand

You finally lie down, the lights are off, and then it starts — that crawling, fizzing, can't-quite-describe-it feeling deep in your calves. You bend your knees. You kick the covers off. You get up and pace the hallway at 1 a.m. because moving is the only thing that quiets it for a minute. Then you lie back down and it creeps right back in.

If that's you, you've probably already gone down the rabbit hole and typed some version of magnesium glycinate dose for restless legs at night into a search bar — and gotten back a mess of contradictory answers. One page says 200 mg, another says 400, a Reddit thread swears by taking it "before bed" without saying how long before, and half the bottles on the shelf list a number that turns out not to even mean what you think it means.

I want to cut through that. This guide is specifically about the practical questions people with nighttime restless legs actually ask: how much magnesium glycinate to take (in real, elemental terms, not the inflated number on the label), when to take it before bed, why glycinate instead of the cheaper forms, and — maybe most importantly — what to check if it flat-out isn't working. Because sometimes magnesium isn't the answer at all, and knowing that early saves you weeks of frustration.

One honest caveat up front: magnesium is not a cure for restless legs syndrome (RLS), and the evidence behind it is thinner than the supplement aisle would have you believe. RLS can have neurological and iron-metabolism roots that a magnesium capsule won't touch. So if your symptoms are severe, daily, or getting worse, please loop in a healthcare professional — this is a "try it sensibly and know when to escalate" tool, not a diagnosis replacement.

Does magnesium actually help restless legs at night — and what the evidence really says

Let's set expectations honestly, because this is where most supplement content oversells.

There's a plausible mechanism for why magnesium might calm twitchy, restless legs. Magnesium acts as a natural gatekeeper on nerve and muscle excitability — it behaves like a physiological calcium antagonist, sitting in calcium channels and voltage-dependently blocking the NMDA receptor, which dampens excessive excitatory signaling and supports the balance between muscle contraction and relaxation (Herroeder et al., Magnesium — essentials for anesthesiologists, Anesthesiology, 2011). In plain terms: magnesium helps tell over-firing nerves and muscles to settle. That's a reasonable reason to think it could ease the neuromuscular over-activity that RLS feels like.

But mechanism is not proof, and here's the part the shelf talkers skip. The clinical evidence for magnesium in RLS is genuinely limited and mixed. A systematic review looking specifically at magnesium for RLS and periodic limb movement disorder found very little high-quality data — essentially one small randomized controlled trial plus a handful of case series and case reports — and concluded that no solid conclusions could be drawn about whether it works (Marshall et al., Sleep Medicine Reviews, 2019). A more recent review of dietary supplements in RLS reached the same cautious place, noting only one RCT on magnesium and openly conflicting conclusions across the literature (González-Parejo et al., Nutrients, 2024).

That said, it isn't all discouraging. A 2022 randomized controlled trial of 75 patients found that magnesium supplementation (250 mg of magnesium oxide daily) reduced RLS symptom severity and improved sleep quality compared with placebo (Jadidi et al., BMC Complementary Medicine and Therapies, 2022). One trial doesn't overturn a cautious systematic review, but it's a real, human, positive signal.

So where does that leave you? Roughly here: magnesium is low-risk, low-cost, and mechanistically sensible, with modest and inconsistent evidence. It's most likely to help if you're actually low on magnesium to begin with, and least likely to help if your restless legs are being driven by something magnesium can't fix (we'll get to iron). It's a reasonable first experiment — not a guaranteed fix.

If your bigger question is whether magnesium or melatonin is the smarter nighttime tool overall, we compare them head-to-head in our guide on magnesium for sleep vs melatonin.

How much magnesium glycinate for restless legs? (dose by severity — in elemental terms)

Magnesium glycinate capsules and a supplement facts label showing elemental magnesium content
Magnesium glycinate capsules and a supplement facts label showing elemental magnesium content

Here's the single most important thing on this entire page, and almost nobody explains it: the number on the front of the bottle is usually not the amount of magnesium you're getting.

Magnesium supplements are a compound — magnesium bound to something else (glycine, citric acid, oxide, etc.). A bottle that shouts "Magnesium Glycinate 1,000 mg" is often describing the compound weight. The elemental magnesium — the actual magnesium your body counts — is a fraction of that. This is why two bottles with the same big front number can deliver wildly different real doses. Always flip the bottle over and read the Supplement Facts panel for the elemental magnesium content per serving.

Why this matters so much: the safe ceiling for supplemental magnesium is defined in elemental terms. The tolerable upper intake level (UL) for magnesium from supplements is 350 mg of elemental magnesium per day for adults, a limit set because some people get diarrhea even at doses others tolerate easily (NIH Office of Dietary Supplements, Magnesium — Health Professional Fact Sheet). Most single-ingredient magnesium supplements provide somewhere between 200 and 400 mg of elemental magnesium per serving (NIH ODS). If you're not reading the elemental number, you can accidentally blow past that UL — or, just as commonly, take a "big" dose that's actually tiny.

Here's my starting framework, organized by how bad your nights are. Start low, go slow, and watch how your gut handles it.

Magnesium glycinate dose for restless legs at night — by severity

SeverityStarting dose (elemental Mg, before bed)Maintenance target (elemental Mg)The label trapNotes
Mild — occasional nighttime crawling, a few nights a week~100 mg100–200 mgCheck the Supplement Facts panel for elemental content — not the big front numberStart at the low end; watch GI tolerance for a week before increasing
Moderate — most nights, actively delaying sleep onset~200 mg200–300 mgSame trap — a "500 mg glycinate" capsule may deliver far less elemental MgConsider splitting (dinner + bedtime) to ease the gut and extend coverage
Any severity — form mattersStay well under the 350 mg elemental supplemental UL unless a clinician says otherwiseOxide and citrate carry different elemental percentages than glycinateSee the forms section below and our forms guide

All doses in this table are elemental magnesium. A label reading "magnesium glycinate 500 mg" is very often the compound weight, not elemental — check the Supplement Facts panel for the elemental content per serving. The 350 mg/day figure is the upper limit for supplemental magnesium specifically, set because of the diarrhea risk (NIH ODS).

One important safety note before you scale up: if you have kidney disease, this calculus changes entirely. Healthy kidneys clear excess magnesium efficiently, which is why toxicity is rare in the general population — but impaired kidney function is the primary driver of magnesium building up to dangerous levels (Cascella & Vaqar, Magnesium Toxicity, StatPearls / NCBI Bookshelf NBK554593). If your kidneys aren't at full strength, don't self-dose magnesium — talk to your doctor first.

When to take magnesium for restless legs at night (timing protocol)

Clock showing 30 to 60 minutes before bed with a glass of water and a magnesium supplement
Clock showing 30 to 60 minutes before bed with a glass of water and a magnesium supplement

The "when" question gets under-answered, and it actually matters for restless legs — because you want the calming effect to land right as you're trying to fall asleep.

My default recommendation: take it 30 to 60 minutes before bed. That gives it time to start absorbing and hitting your system as you wind down, rather than kicking in an hour after you've already been staring at the ceiling.

A practical wrinkle on dosing that's easy to get wrong: magnesium absorption is dose-dependent and inverse — the more you take at once, the smaller the fraction you actually absorb. In one classic dataset, about 65% was absorbed from a small 36 mg dose but only about 11% from a large 973 mg dose (Schuchardt & Hahn, Intestinal Absorption and Factors Influencing Bioavailability of Magnesium — An Update, Current Nutritional Food Science, 2017, PMC5652077). Translation: a modest bedtime dose isn't just gentler on your gut, it's genuinely absorbed more efficiently than one big slug. That's another reason splitting a moderate dose (some at dinner, some at bedtime) can be smarter than one large capsule right before bed.

Here's the timing-and-expectations protocol I'd hand a friend:

  • Step 1 — Days 1 to 3: Take your starting elemental dose 30–60 minutes before bed. At the same time, tidy up the obvious aggravators — cut afternoon/evening caffeine and evening alcohol, both of which can trigger or worsen restless legs (MedlinePlus, Restless Legs Syndrome).
  • Step 2 — Weeks 1 to 2: Keep a simple nightly log — how many nights the crawling showed up, and how intense (1–10). Some people notice early shifts in this window. Don't judge success yet; you're gathering a baseline.
  • Step 3 — Weeks 4 to 6: This is your real evaluation point. Give any supplement a fair, consistent trial before deciding it failed. If your log shows meaningful improvement, great — settle at the lowest effective dose. If there's essentially no change by week 6, that's your cue to move to the troubleshooting section rather than just piling on more magnesium.

With food or empty stomach? Glycinate is one of the gentler forms, so many people tolerate it on an empty stomach fine. But if you get any GI upset, take it with a little food — it's more important that you actually keep taking it consistently than that you optimize timing to the minute.

Why magnesium glycinate (and not citrate or oxide) for nighttime legs

Three forms of magnesium — glycinate, citrate, and oxide — side by side
Three forms of magnesium — glycinate, citrate, and oxide — side by side

If you're specifically dealing with nighttime legs, the form of magnesium you pick isn't a minor detail — it's about not sabotaging your own sleep.

Glycinate (magnesium bound to the amino acid glycine) is my default here for two reasons:

  1. It's gentle on the gut. The biggest practical downside of magnesium supplements is the laxative effect — supplements are known to cause diarrhea, nausea, and abdominal cramping (NIH ODS). At night that's a real problem: the last thing a restless-legs sufferer needs is to finally drift off and then be woken by an urgent trip to the bathroom. Glycinate tends to be well tolerated even in people who struggle to absorb or tolerate other forms.
  2. The glycine itself may nudge sleep. Glycine isn't just inert packaging. Taken before bed, glycine has been shown to improve subjective sleep quality and shorten the time to fall asleep, apparently by acting on NMDA receptors in the brain's clock region and gently lowering core body temperature — the same temperature drop that naturally accompanies sleep onset (Bannai & Kawai, New therapeutic strategy for amino acid medicine: glycine improves the quality of sleep, Journal of Pharmacological Sciences, 2012, PMID 22293292). So the carrier molecule is arguably working in your favor at bedtime.

Citrate absorbs well and is a fine general-purpose form, but it has a more noticeable laxative pull — useful if you're also constipated, counterproductive if you're trying not to wake up at 3 a.m. Oxide is the cheap one you'll find in big-box multivitamins; it's poorly absorbed and the most likely to just give you loose stools without delivering much usable magnesium. The evidence on organic-versus-inorganic forms is genuinely mixed on absolute absorption (Schuchardt & Hahn, 2017, PMC5652077), but for the specific nighttime goal — calm legs, no bathroom wake-ups, maybe a little sleep benefit from glycine — glycinate is the sensible pick.

For a full breakdown of how glycinate, threonate, and citrate differ on absorption, side effects, and best use cases, see our magnesium glycinate vs threonate vs citrate guide.

Magnesium isn't working for your restless legs? Here's what to check

Blood test tube labeled ferritin next to magnesium supplements — checking iron when magnesium isn't working
Blood test tube labeled ferritin next to magnesium supplements — checking iron when magnesium isn't working

This is the section I most want you to read, because it's where the internet fails restless-legs sufferers hardest. If you've given magnesium a fair 4-to-6-week trial and your legs are still crawling, the honest answer is usually not "take more magnesium." It's "the problem may not be magnesium at all."

Number one on the checklist, by a mile: your iron — specifically ferritin.

Restless legs syndrome is strongly linked to iron, particularly brain iron. RLS appears to be related to a shortage of iron in specific parts of the brain, where iron is needed to produce dopamine — a neurotransmitter that helps control movement (MedlinePlus, Restless Legs Syndrome). And this is the crucial, counterintuitive part: your blood iron can look "normal" while your brain iron is low, and low peripheral iron stores (measured by ferritin) track with worse RLS severity. That's why iron treatment is a front-line consideration in RLS: evidence-based guidelines recommend considering oral iron when serum ferritin is at or below 75 µg/L (Allen et al., IRLSSG task force, evidence-based and consensus clinical practice guidelines for the iron treatment of RLS/Willis-Ekbom disease, Sleep Medicine, 2018). Note that this ferritin threshold (≤75) is higher than the lab's "low normal" flag — so your result can be labeled normal and still be low enough to matter for RLS.

No magnesium dose in the world corrects a ferritin problem. If your legs aren't responding, asking your doctor for a ferritin test is the highest-value next step you can take.

Run through the rest of this list before giving up on magnesium — or before assuming magnesium is the whole story:

  • Get your ferritin checked. This is the big one. Low iron stores can make magnesium irrelevant. Don't supplement iron blindly, though — too much iron is harmful, so test first and let a clinician guide dosing.
  • Was your dose actually adequate — in elemental terms? Re-read your bottle. If you were counting the compound number, your real elemental dose may have been far lower than you thought.
  • Wrong form or wrong timing? Oxide is poorly absorbed; a dose taken well after you're already in bed misses the window. Switch to glycinate, taken 30–60 minutes before bed.
  • Aggravating factors stacking up? Certain medications trigger or worsen RLS — including some drugs for nausea, depression and other mental-health conditions, colds and allergies (antihistamines), and blood pressure — as can caffeine, nicotine, and alcohol; pregnancy is also a common trigger (MedlinePlus, Restless Legs Syndrome). No supplement out-muscles a nightly triggering medication.
  • Did you give it a fair trial? Four to six consistent weeks, not four scattered nights.
  • Could it be something else entirely? Peripheral neuropathy, kidney disease, and other conditions can mimic or coexist with RLS. Persistent symptoms deserve a proper medical evaluation, not more capsules.

If skin absorption is on your mind as an alternative route, we cover whether that actually works in our piece on Epsom salt baths and magnesium absorption through the skin.

Safety — can you take too much magnesium for restless legs?

Short version: from oral supplements, in a person with healthy kidneys, serious magnesium toxicity is rare — but you can absolutely overdo it enough to make yourself miserable.

The first thing you'll hit if you take too much is your gut. Diarrhea, nausea, and abdominal cramping are the classic early signals of too much supplemental magnesium — in fact, the 350 mg/day supplemental upper limit was set precisely because diarrhea shows up in sensitive people (NIH ODS). For nighttime restless legs, that GI effect is doubly counterproductive: it can wake you up and wreck the sleep you were chasing.

True, dangerous magnesium toxicity (hypermagnesemia) is a different animal, and it mostly happens when your body can't clear magnesium properly. Impaired kidney function is the primary cause; healthy kidneys have a large capacity to excrete excess magnesium, which is why clinically significant toxicity is very rare in the healthy outpatient population (Cascella & Vaqar, Magnesium Toxicity, StatPearls / NCBI Bookshelf NBK554593). Early signs of true toxicity include flushing and nausea, progressing to muscle weakness and worse (StatPearls, NBK554593).

The practical rules that keep you safe:

  • Stay at or under 350 mg elemental magnesium per day from supplements unless a clinician has told you otherwise (NIH ODS).
  • If you have kidney disease, don't self-supplement — get medical guidance first.
  • If you're pregnant, breastfeeding, taking prescription medications (magnesium can interact with certain antibiotics and diuretics, per the NIH ODS fact sheet), or managing a chronic condition, run it past your doctor or pharmacist before starting.

FAQ — your restless legs and magnesium questions, answered

How much magnesium glycinate should I take for restless legs at night? Start with roughly 100–200 mg of elemental magnesium (not the compound number on the front label) taken before bed, and adjust from there based on response and gut tolerance. Keep total supplemental magnesium at or under 350 mg elemental per day unless your doctor says otherwise (NIH ODS). Check the Supplement Facts panel for the real elemental content.

When should I take magnesium for restless legs before bed? About 30 to 60 minutes before you plan to sleep, so the calming effect lands as you're winding down. Splitting a moderate dose between dinner and bedtime can improve absorption and reduce GI upset, since magnesium is absorbed more efficiently in smaller amounts (Schuchardt & Hahn, 2017, PMC5652077).

How long does magnesium take to work for restless legs? Some people notice changes within the first 1–2 weeks, but give it a full 4-to-6-week consistent trial before deciding. If there's no change by week 6, treat that as a signal to check other causes — especially iron — rather than to keep increasing the dose.

Is magnesium glycinate better than citrate for restless legs? For nighttime use, generally yes. Glycinate is gentler on the gut (fewer 3 a.m. bathroom trips), and its glycine component has some evidence for improving sleep quality (Bannai & Kawai, 2012, PMID 22293292). Citrate absorbs well but has a stronger laxative effect that can disrupt sleep.

Why isn't magnesium helping my restless legs? The most common reason is that magnesium isn't the underlying issue — low iron stores are a major driver of RLS, and a ferritin test is the key next step (MedlinePlus; IRLSSG guidelines, 2018). Also double-check that your dose was adequate in elemental terms, that you used a well-absorbed form, and that you gave it a full 4–6 weeks.

Can I take too much magnesium glycinate? Yes. The most common overdose sign is diarrhea and cramping, and the supplemental upper limit is 350 mg elemental per day (NIH ODS). Dangerous toxicity is rare with healthy kidneys but a real risk with kidney disease (StatPearls, NBK554593).

The bottom line

If your restless legs light up the moment your head hits the pillow, magnesium glycinate is a reasonable, low-risk first thing to try — but do it with your eyes open. Start with a modest dose measured in elemental magnesium (roughly 100–200 mg, read off the Supplement Facts panel, not the front of the bottle), take it 30 to 60 minutes before bed, and choose glycinate so you're not trading restless legs for a midnight bathroom sprint. Then give it a real 4-to-6-week trial and track your nights.

And here's the part I most want to stick: if it doesn't work, don't just take more — check your ferritin. Iron, not magnesium, is the heavyweight in restless legs biology, and no amount of magnesium fixes an iron-stores problem. Magnesium is a supportive, deficiency-correcting tool, not a cure for RLS. Persistent, severe, or worsening symptoms deserve a real conversation with a healthcare professional.

For where magnesium fits into your sleep toolkit overall, read our magnesium for sleep vs melatonin guide. And to make sure you're choosing the right form for the job, see our full magnesium glycinate vs threonate vs citrate breakdown.

If you've fought nighttime restless legs yourself, I'd love to hear what actually moved the needle for you — dose, timing, form, or the ferritin test that finally explained it. Drop it in the comments; it might be exactly what the next person scrolling at 2 a.m. needs to read.

This article is for informational purposes only and is not a substitute for professional medical advice. Talk to a healthcare professional before starting a supplement — especially if you're pregnant, nursing, have kidney disease, or take medications.

References

  1. Herroeder S, Schönherr ME, De Hert SG, Hollmann MW. Magnesium — essentials for anesthesiologists. Anesthesiology. 2011;114(4):971-993. PMID 21364460. https://pubmed.ncbi.nlm.nih.gov/21364460/
  2. Marshall NS, Serinel Y, Killick R, et al. Magnesium supplementation for the treatment of restless legs syndrome and periodic limb movement disorder: A systematic review. Sleep Medicine Reviews. 2019. https://www.sciencedirect.com/science/article/abs/pii/S1087079219301868
  3. González-Parejo P, Martín-Núñez J, Cabrera-Martos I, Valenza MC. Effects of dietary supplementation in patients with restless legs syndrome: a systematic review. Nutrients. 2024. PMC11280425. https://pmc.ncbi.nlm.nih.gov/articles/PMC11280425/
  4. Jadidi A, Rezaei Ashtiani A, Khanmohamadi Hezaveh A, Aghaepour SM. Therapeutic effects of magnesium and vitamin B6 in alleviating the symptoms of restless legs syndrome: a randomized controlled clinical trial. BMC Complementary Medicine and Therapies. 2022. PMC9804944. https://pmc.ncbi.nlm.nih.gov/articles/PMC9804944/
  5. National Institutes of Health, Office of Dietary Supplements. Magnesium: fact sheet for health professionals. https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/
  6. Schuchardt JP, Hahn A. Intestinal absorption and factors influencing bioavailability of magnesium — an update. Current Nutritional Food Science. 2017;13(4):260-278. PMC5652077. https://pmc.ncbi.nlm.nih.gov/articles/PMC5652077/
  7. Bannai M, Kawai N. New therapeutic strategy for amino acid medicine: glycine improves the quality of sleep. Journal of Pharmacological Sciences. 2012;118(2):145-148. PMID 22293292. https://pubmed.ncbi.nlm.nih.gov/22293292/
  8. Cascella M, Vaqar S. Magnesium toxicity. StatPearls [Internet]. Treasure Island (FL): StatPearls Publishing. NCBI Bookshelf NBK554593. https://www.ncbi.nlm.nih.gov/books/NBK554593/
  9. MedlinePlus (U.S. National Library of Medicine). Restless legs syndrome. https://medlineplus.gov/genetics/condition/restless-legs-syndrome/
  10. Allen RP, Picchietti DL, Auerbach M, et al. Evidence-based and consensus clinical practice guidelines for the iron treatment of restless legs syndrome/Willis-Ekbom disease in adults and children: an IRLSSG task force report. Sleep Medicine. 2018. https://www.sciencedirect.com/science/article/pii/S1389945717315599

Enjoyed this article?

Check out more posts on our blog.

Browse all posts