Try for free
Glossary · Supplements

What is Magnesium?

Magnesium is an essential mineral and electrolyte that regulates muscle contraction, nerve transmission, and energy production in every cell, supporting sleep, muscle relaxation, and recovery. Athletes often fall short through sweat and urinary losses, which is why forms like magnesium glycinate and citrate are popular for cramps and sleep.

By Nishaana Research Team CSCS Updated July 13, 2026

What is Magnesium?

Magnesium is an essential mineral and electrolyte that regulates muscle contraction, nerve transmission, and energy production in every cell, supporting sleep, muscle relaxation, and recovery. It's the fourth most abundant mineral in the body, with roughly 25 grams stored mostly in bone (about 50-60%) and soft tissue, including skeletal muscle. Less than 1% circulates in blood, which is why a normal serum magnesium result doesn't rule out a real shortfall in muscle or bone stores.

Researchers studying elite British Olympic and Paralympic athletes found 22% had intracellular magnesium deficiency despite training and eating like professionals, with rates running higher in female athletes. That gap matters because magnesium is a cofactor in more than 300 enzymatic reactions, including the ones that build ATP, synthesize protein, and repair DNA. For lifters and endurance athletes specifically, sweat and urinary losses climb during hard training, and surveys consistently find most athletes eat below the RDA of 400-420 mg (men) or 310-320 mg (women) per day. That combination, higher output and lower dietary input, is why magnesium supplements built for absorption, such as glycinate or citrate rather than cheap oxide, have become a staple of an athlete's supplement drawer for sleep, cramp-prone legs, and general recovery.

How it works

Magnesium works mainly as a natural counterweight to calcium inside muscle and nerve cells. When a nerve signal reaches a muscle fiber, calcium floods in and binds troponin, letting actin and myosin filaments form cross-bridges and pull the fiber into a contraction; magnesium is required to load ATP onto myosin as the Mg-ATP complex, the step that lets the cross-bridge release and the fiber relax between contractions.

When intracellular magnesium runs low, that relaxation step gets sluggish and calcium lingers near the contractile proteins, a plausible reason low magnesium is linked to tighter, more irritable muscle, even though controlled trials have not consistently shown that supplementing reverses exercise-associated cramps in people who aren't truly deficient. In the nervous system, magnesium blocks NMDA glutamate receptors and supports GABA signaling, the brain's main calming pathway, which is the proposed mechanism behind its modest sleep benefit; a 2025 randomized trial found magnesium bisglycinate improved insomnia severity scores versus placebo, though the effect was small. Absorption itself depends on form and dose: at low intraluminal concentrations magnesium crosses the gut wall mainly through active TRPM6/7 transporters, and organic forms like citrate and glycinate stay in a more absorbable dissolved state through the intestine than oxide does, which is a large part of why fractional absorption differs so much between forms.

How to apply it

  • Cover food first, then supplement the gap: Spinach, pumpkin seeds, almonds, black beans, and dark chocolate are all magnesium-dense; a diet built around them can supply 200-300 mg/day before you add anything. Check your typical intake against the 400-420 mg (men) or 310-320 mg (women) RDA before choosing a dose.
  • Match the form to the goal: Pick glycinate for sleep and a sensitive stomach, citrate for general repletion with a mild laxative bonus, and malate if you want a form associated with energy metabolism. Skip oxide for daily repletion; it's cheap but only about 4% absorbed.
  • Split the dose: A single 400+ mg dose of a poorly absorbed form often just causes loose stools. Splitting the total across two meals, or choosing a well-absorbed form, keeps more magnesium in and cuts GI side effects.
  • Time it for sleep: Take 200-400 mg of magnesium glycinate 30-60 minutes before bed if sleep is the target. Pair it with a consistent bedtime and a dark room rather than expecting the mineral alone to fix chronic insomnia.
  • Respect the supplemental ceiling: The tolerable upper intake level for supplemental, non-food magnesium in adults is 350 mg/day. Going higher raises diarrhea risk without added benefit for most people; food-source magnesium above the RDA isn't capped the same way.
  • Stack with electrolytes in the heat: Heavy sweating pulls out sodium, potassium, and roughly 3-4 mg of magnesium per liter of sweat, more in extreme heat. Endurance athletes training long in hot conditions should replace magnesium inside a broader electrolyte strategy, not alone.

Types

Magnesium glycinate (bisglycinate)

Magnesium bound to the amino acid glycine; roughly 14% elemental magnesium with about 28-33% fractional absorption and minimal laxative effect. The most common choice for sleep and daily use because it's gentle on the gut.

Magnesium citrate

Magnesium bound to citric acid; around 16% elemental magnesium with absorption similar to glycinate. A solid general-purpose form, though higher doses can loosen stools, which is also why it's used before colonoscopy prep.

Magnesium oxide

The cheapest, highest-elemental form by weight, about 60%, but the worst absorbed, at roughly 4%. Useful short-term for constipation or heartburn; a poor choice if the actual goal is raising magnesium status.

Magnesium malate

Magnesium paired with malic acid, a compound involved in the Krebs cycle energy pathway. Well tolerated and popular with athletes chasing an energy or muscle-soreness angle, though it's less studied head-to-head than glycinate or citrate.

Magnesium threonate

A patented form marketed for cognition on the theory that it crosses into brain tissue more readily in animal studies. Elemental content is lower, about 8%, meaning bigger capsules for the same dose, and human athletic performance data is limited.

Magnesium chloride (topical oil, Epsom salt baths)

Applied to skin rather than swallowed; marketed for cramps and soreness, but controlled evidence that clinically meaningful amounts of magnesium cross intact skin is weak. Oral, well-absorbed forms remain the better-supported route.

Worked example

Say a 90 kg strength athlete eats a decent diet, tests moderately low on a lab panel, and wants to close the gap for sleep and recovery without blowing past the supplemental upper limit. Here's one clean way to lay out the day.

TimeSourceElemental magnesiumPurpose
Meals (spinach, almonds, oats, black beans)Diet~180 mgBaseline intake from food, no upper limit applies
With dinnerMagnesium citrate, 150 mg150 mgGeneral repletion, mild GI support
30-60 min before bedMagnesium glycinate, 150 mg150 mgSupport sleep onset and muscle relaxation
Daily total from supplements-300 mgUnder the 350 mg/day supplemental UL, food magnesium on top

Total daily magnesium, food plus supplements, lands around 480 mg here, comfortably above the 400-420 mg RDA, while the supplement-only portion (300 mg) stays under the 350 mg UL that applies specifically to non-food sources.

Magnesium glycinate vs magnesium citrate

Magnesium glycinateMagnesium citrate
Elemental magnesium~14% by weight~16% by weight
Fractional absorption~28-33%~28-33%
GI toleranceHigh, minimal laxative effectModerate, mild laxative at higher doses
Best forSleep, muscle relaxation, sensitive stomachsGeneral repletion, occasional constipation relief

Both crush magnesium oxide's roughly 4% absorption. Reach for glycinate when sleep or GI comfort is the priority, and citrate when you want general repletion with a gentle regularity bonus.

By goal

  • General lifters and beginners: Audit your diet first; spinach, pumpkin seeds, almonds, and black beans can cover most of the 400-420 mg (men) or 310-320 mg (women) RDA. Add 200-300 mg of glycinate or citrate only to close a real gap, not as a default stack.
  • Athletes prioritizing sleep and recovery: Take 200-400 mg of magnesium glycinate 30-60 minutes before bed. Expect a modest effect; a 2025 randomized trial found real but small improvements in insomnia scores, not a substitute for consistent sleep and training habits.
  • Endurance athletes and heavy sweaters: Build magnesium into a broader electrolyte plan alongside sodium and potassium during long, hot sessions, since sweat losses run about 3-4 mg per liter and climb further in heat. Don't rely on magnesium alone to prevent cramping.

Common misconceptions

  • "Magnesium supplements cure muscle cramps." Controlled trials don't back this up consistently. A randomized trial found magnesium oxide performed no better than placebo for nocturnal leg cramps, and there are no high-quality trials showing it prevents exercise-associated cramps in people who aren't actually deficient.
  • "More magnesium always means better sleep or recovery." The supplemental upper limit is 350 mg/day for adults; above that you mostly buy diarrhea, not extra benefit. Even in the RCT showing a sleep benefit, the effect size was small, not a knockout fix for insomnia.
  • "Every magnesium supplement is absorbed about the same." Magnesium oxide is only around 4% absorbed versus roughly 28-33% for citrate and glycinate. Form matters more than the milligram number printed on the label if the goal is actually raising your magnesium status.
  • "A normal blood test rules out magnesium deficiency." Less than 1% of the body's magnesium sits in blood, so serum levels can look normal while muscle and bone stores run low. That's part of why 22% of elite British Olympic and Paralympic athletes tested intracellularly deficient despite normal training and diets.
Track magnesium, sleep, and recovery in one place.Nishaana logs your supplements alongside training and sleep, so you can see what's actually moving your recovery, free in your browser.
Start free

Magnesium FAQ

What is magnesium good for?

Magnesium supports muscle contraction and relaxation, nerve signaling, energy production, and bone density, acting as a cofactor in more than 300 enzymatic reactions in the body. For athletes specifically, it's most often used to support sleep quality, cramp-prone muscles, stress resilience, and general recovery between hard training sessions.

Does magnesium help you sleep?

It can, modestly. A 2025 randomized, placebo-controlled trial found magnesium bisglycinate at 250 mg elemental magnesium improved insomnia severity scores versus placebo, likely through its calming effect on NMDA and GABA signaling. The effect size was small, so treat it as one supporting habit, not a standalone sleep fix.

What is the best form of magnesium for athletes?

Magnesium glycinate and magnesium citrate are the best-absorbed, best-tolerated forms, each around 28-33% bioavailable versus roughly 4% for cheap magnesium oxide. Glycinate suits sleep and sensitive stomachs; citrate works well for general repletion and doubles as a mild laxative at higher doses.

Does magnesium stop muscle cramps?

The evidence is weak. A randomized trial found magnesium oxide no better than placebo for nocturnal leg cramps, and there's no high-quality research showing it prevents exercise-associated cramps in athletes who aren't truly deficient. Hydration, sodium intake, and training load matter more for most cramping.

How much magnesium should I take a day?

The RDA is 400-420 mg/day for adult men and 310-320 mg/day for adult women, from food and supplements combined. The tolerable upper limit for supplemental, non-food magnesium specifically is 350 mg/day; athletes with high sweat losses may need roughly 10-20% more than that baseline.

What are the symptoms of magnesium deficiency?

Early signs include fatigue, loss of appetite, nausea, and muscle twitches or cramps. More significant deficiency can cause numbness, tremor, personality changes, an irregular heartbeat, and low calcium or potassium. Because blood tests often look normal, deficiency is frequently under-recognized, including in trained athletes.

What is the difference between magnesium glycinate and magnesium citrate?

Both are well-absorbed, organic forms of magnesium with similar bioavailability, around 28-33%. Glycinate is bound to the calming amino acid glycine and is gentler on digestion, making it the common pick for sleep. Citrate has a mild laxative effect at higher doses, useful for regularity as well as repletion.

Can you take too much magnesium?

Yes, from supplements. The supplemental upper limit is 350 mg/day for adults; going over it mainly causes diarrhea, nausea, and abdominal cramping rather than serious harm in people with healthy kidneys. Magnesium from food has no such limit because the gut simply absorbs less as intake rises.

When should I take magnesium, morning or night?

Timing matters less than consistency for most benefits, but if sleep is the goal, take 200-400 mg of magnesium glycinate 30-60 minutes before bed. Splitting a larger daily dose across two meals, rather than one large dose, also reduces the chance of stomach upset.

What foods are high in magnesium?

Pumpkin seeds, spinach, almonds, cashews, black beans, edamame, and dark chocolate are among the richest sources. A cup of cooked spinach has roughly 155 mg, and an ounce of almonds has about 80 mg, meaning a magnesium-focused diet can cover much of the daily RDA before any supplement.

References

  1. Dietary Reference Intakes for Calcium, Phosphorus, Magnesium, Vitamin D, and Fluoride — Magnesium. National Academies Press, NCBI Bookshelf
  2. Magnesium. The Nutrition Source, Harvard T.H. Chan School of Public Health
  3. The Importance of Vitamin D and Magnesium in Athletes. PMC, 2025
  4. Effects of magnesium supplementation on muscle soreness in different types of physical activity: a systematic review. Journal of Translational Medicine / PMC, 2024
  5. Magnesium Bisglycinate Supplementation in Healthy Adults Reporting Poor Sleep: A Randomized, Placebo-Controlled Trial. Nature and Science of Sleep, 2025. PubMed 40918053
  6. The Effect of Exercise and Heat on Mineral Metabolism and Requirements. Nutritional Needs in Hot Environments, NCBI Bookshelf
  7. Effect of Magnesium Oxide Supplementation on Nocturnal Leg Cramps: A Randomized Clinical Trial. PMC, 2017

Stop guessing. Start tracking.

Nishaana logs the numbers behind Magnesium automatically — free in your browser.

Start free