Magnesium & Sleep

Best Magnesium for Leg Cramps (2026): 3 Evidence-Based Picks

Which magnesium is best for leg cramps? We compare glycinate, citrate, and malate forms with dosage guidance from clinical research.

By the Supplements Corner Editorial Team

Person stretching legs after exercise to prevent muscle cramps
Affiliate disclosure: Supplements Corner is reader-supported. When you buy through links on this page, we may earn a small commission at no extra cost to you. This does not influence our recommendations — we only feature products we've researched thoroughly.
TL;DR

Magnesium glycinate is the best form for leg cramps — it has high bioavailability, is gentle on the stomach, and supports muscle relaxation. Most adults need 300–400 mg of elemental magnesium daily. Our top pick is Pure Encapsulations Magnesium Glycinate for its absorbable chelated form and clean-label formula.

How We Picked

We evaluated magnesium supplements on form (glycinate, citrate, malate, oxide), elemental magnesium per serving, bioavailability research, GI tolerability, third-party testing, and clinical evidence for cramp reduction. We prioritized chelated forms with the highest absorption rates.

A. Pure Encapsulations Magnesium Glycinate — Best Overall

Pure Encapsulations Magnesium Glycinate

Pure Encapsulations Magnesium Glycinate

Pure Encapsulations

  • 120mg elemental magnesium per capsule (glycinate form)
  • Chelated for superior absorption
  • Hypoallergenic — free of gluten, soy, dairy, GMOs
  • Third-party tested for purity and potency
  • 180 capsules per bottle
Check Price on Amazon

Why we picked it: Pure Encapsulations uses the bisglycinate chelate form, which research shows has higher bioavailability than oxide or citrate. The chelation means the magnesium is bound to glycine — an amino acid that itself supports muscle relaxation and sleep. Gentle on the stomach with virtually no laxative effect at standard doses.

B. NOW Foods Magnesium Citrate 200mg — Best Value

NOW Foods Magnesium Citrate 200mg

NOW Foods Magnesium Citrate 200mg

NOW Foods

  • 200mg elemental magnesium per tablet (citrate form)
  • Well-absorbed citrate form
  • GMP certified and NPA A-rated facility
  • 250 tablets — over 4-month supply
  • Affordable price per serving
Check Price on Amazon

Why we picked it: Magnesium citrate is the best value form — well-absorbed and widely studied for muscle function. NOW Foods delivers a solid 200mg per tablet from a GMP-certified facility. Citrate can have a mild laxative effect at high doses, which some people actually prefer. Best choice if you want proven absorption at the lowest cost.

C. Doctor's Best High Absorption Magnesium — Premium Pick

Doctor's Best High Absorption Magnesium

Doctor's Best High Absorption Magnesium

Doctor's Best

  • 100mg elemental magnesium per tablet (glycinate lysinate chelate)
  • Albion mineral chelate — patented absorption technology
  • No laxative effect at recommended doses
  • Vegan, non-GMO, gluten-free
  • 240 tablets per bottle
Check Price on Amazon

Why we picked it: Doctor's Best uses Albion's patented TRAACS chelated magnesium, which is buffered and fully reacted for optimal absorption. The glycinate lysinate chelate form is one of the most bioavailable on the market. Large bottle size (240 tablets) makes it a strong value for the chelated category.

What Causes Leg Cramps and How Magnesium Helps

What are leg cramps? Leg cramps are sudden, involuntary muscle contractions — most commonly in the calves, feet, or thighs. They can last seconds to minutes and range from mildly annoying to intensely painful. Nocturnal leg cramps (happening during sleep) affect up to 60% of adults at some point.

Why does magnesium help? Magnesium is essential for muscle relaxation. After a muscle contracts (using calcium), magnesium helps it relax again. When magnesium levels are low, muscles can stay in a partially contracted state, leading to cramps and spasms. Magnesium also regulates electrolyte balance — particularly calcium and potassium — which directly affects muscle function.

Who is most at risk? People who exercise heavily (magnesium is lost through sweat), adults over 50 (absorption decreases with age), pregnant women (higher requirements), and anyone taking diuretics or proton pump inhibitors (both deplete magnesium). Up to 50% of Americans don't meet the RDA for magnesium through diet alone.

Which Magnesium Form Is Best for Cramps?

Not all magnesium forms are equal for cramp prevention. Magnesium glycinate is the top choice — it has the highest bioavailability of any oral form, causes virtually no GI side effects, and the glycine component itself supports muscle relaxation. Magnesium citrate is a close second — well-absorbed and more affordable, though it can cause loose stools at higher doses. Magnesium malate is another good option, particularly for exercise-related cramps, as malic acid supports ATP production.

Avoid magnesium oxide for cramps — despite having the highest elemental magnesium per pill, its absorption rate is only about 4%, compared to 25–30% for glycinate and citrate. You'd need to take much more, and most of it passes through unabsorbed.

When to Take Magnesium for Cramps

When should you take it? For nocturnal cramps, take magnesium 1–2 hours before bed. The muscle-relaxing effect peaks within 1–3 hours of ingestion, and the glycine in magnesium glycinate may also improve sleep quality. For exercise-related cramps, take it 30–60 minutes before your workout or split the dose between morning and evening.

How long until it works? Most people notice a reduction in cramp frequency within 1–2 weeks of consistent daily use. Full tissue saturation takes 4–6 weeks. Magnesium is not a quick fix for an active cramp — it works by preventing cramps through sustained adequate levels.

Frequently Asked Questions

How much magnesium should I take for leg cramps?

The NIH recommends 310–420 mg of elemental magnesium daily for adults (310–320 mg for women, 400–420 mg for men). For cramp prevention, most practitioners suggest 200–400 mg of a well-absorbed form like glycinate or citrate, taken consistently. Start with 200 mg and increase gradually — too much at once can cause GI discomfort.

Can magnesium stop a leg cramp that's already happening?

Oral magnesium won't stop an active cramp — it takes 1–3 hours to absorb. For an active cramp, stretch the muscle (pull your toes toward your shin for calf cramps), walk around, or apply a warm compress. Magnesium works preventively by keeping muscle levels adequate so cramps don't start.

Is magnesium safe to take every day long-term?

Yes — magnesium is safe for daily long-term use at recommended doses. The kidneys excrete excess magnesium efficiently in healthy individuals. The tolerable upper intake level (UL) for supplemental magnesium is 350 mg/day, though this refers to supplemental forms only — dietary magnesium has no upper limit. People with kidney disease should consult their doctor, as impaired kidneys may not clear excess magnesium effectively.

Quick Comparison

Product Key Feature Best For
Pure Encapsulations Magnesium Glycinate 120mg elemental magnesium per capsule (glycinate form) Best Overall
NOW Foods Magnesium Citrate 200mg 200mg elemental magnesium per tablet (citrate form) Best Value
Doctor's Best High Absorption Magnesium 100mg elemental magnesium per tablet (glycinate lysinate chelate) Premium Pick

Bottom Line: Which Should You Buy?

For most people: the Pure Encapsulations Magnesium Glycinate. 120mg elemental magnesium per capsule (glycinate form).

Runner-up: the NOW Foods Magnesium Citrate 200mg. 200mg elemental magnesium per tablet (citrate form).

Also great: the Doctor's Best High Absorption Magnesium. 100mg elemental magnesium per tablet (glycinate lysinate chelate).

Ready to buy?

Jump straight to our top picks on Amazon.

Pure Encapsulations Magnesium ... on AmazonNOW Foods Magnesium Citrate 20... on AmazonDoctor's Best High Absorption ... on Amazon

Sources & Research

This article was informed by peer-reviewed research and clinical guidelines. The Supplements Corner Editorial Team reviews published literature to ensure accuracy.

Dosage Reference

NIH recommends 310–420 mg/day of elemental magnesium for adults. For cramp prevention, clinical studies used 300–400 mg/day of magnesium citrate or glycinate for 4–12 weeks.

Key Studies Referenced:

  1. Garrison SR, Korownyk CS, Kolber MR, et al. (2020). "Magnesium for skeletal muscle cramps." Cochrane Database of Systematic Reviews, 9, CD009402.
  2. Abbasi B, Kimiagar M, Sadeghniiat K, et al. (2012). "The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial." Journal of Research in Medical Sciences, 17(12), 1161–1169.
  3. Slutsky I, Abumaria N, Wu LJ, et al. (2010). "Enhancement of learning and memory by elevating brain magnesium." Neuron, 65(2), 165–177.

Medical Disclaimer: This content is for informational purposes only and does not constitute medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider before starting, stopping, or changing any supplement regimen. Individual results may vary.