An essential mineral involved in over 300 enzymatic reactions, more than any other mineral in the body. It touches virtually every major system, from energy production to DNA synthesis to neurotransmitter regulation. Your body contains roughly 25g of magnesium, about 60% stored in bone, 39% inside cells (especially muscle), and only about 1% floating in your blood. This is why standard serum tests are a poor measure of your actual magnesium status, your blood level can look fine while your tissues are depleted.
Most people who train, eat a modern diet, and aren't regularly eating pumpkin seeds, dark leafy greens, and nuts are probably not getting enough. The best food sources are pumpkin seeds (156mg per oz), dark chocolate (65mg per oz), almonds, spinach, cashews, black beans, edamame, peanut butter, and avocado. Any dark green vegetable is a good source because magnesium is the central atom of chlorophyll, the molecule that makes plants green, so the greener it is, the more magnesium it contains. Processing strips magnesium from food, which is why whole food diets provide significantly more.
Deficiency is far more common than most people think. An analysis of NHANES data found that 48% of Americans don't even meet the estimated average requirement from food alone. Subclinical deficiency, where you're not clinically "low" but your body doesn't have enough to run optimally, is described as a public health crisis and is thought to silently contribute to cardiovascular disease, diabetes, and chronic inflammation. Groups at higher risk include athletes (magnesium is lost through sweat, and requirements are estimated at 10-20% higher than sedentary people), anyone under chronic stress (cortisol drives urinary magnesium excretion), heavy drinkers, people on proton pump inhibitors or diuretics, diabetics, anyone with gut absorption issues, older adults, people eating processed food-heavy diets, men on exogenous testosterone or other anabolics, and women on oral contraceptives.
For women, magnesium matters just as much but for partly different reasons. Women on oral contraceptives have lower magnesium levels due to estrogen-mediated changes in distribution and excretion, making supplementation more important. Magnesium levels also fluctuate across the menstrual cycle, dropping during the luteal phase, and an RCT found 250mg daily (especially with B6) significantly reduced PMS symptom scores. It also relaxes uterine smooth muscle and reduces prostaglandin production, making it useful for period cramps. Beyond the cycle, magnesium supports bone density (critical as estrogen drops during menopause), improves insulin sensitivity, and has the same sleep, mood, cardiovascular, and cognitive benefits as it does for men. Women are more likely to be deficient and less likely to supplement, which is a gap worth closing.
The reason serum magnesium is a bad screening tool is that your body keeps blood levels tightly regulated by pulling from bone and tissue stores. You can have perfectly normal serum magnesium while your cells are starving. RBC magnesium is a better indicator of intracellular status, though it's still imperfect. The optimal serum level has been proposed to be >0.80 mmol/L, and anything between 0.75 and 0.85 mmol/L with symptoms may indicate latent deficiency even though it falls within the "normal" reference range. Early signs of deficiency include muscle cramps and twitches, poor sleep, anxiety, irritability, fatigue, brain fog, headaches, and heart palpitations. Most of these are nonspecific enough that people just attribute them to stress or ageing.
Sleep: This is what most people know magnesium for, and the evidence is solid enough to justify it. Magnesium modulates NMDA receptors (reducing excitatory glutamate signalling) and enhances GABAergic activity (the calming neurotransmitter system). A meta-analysis of RCTs in older adults found magnesium supplementation reduced sleep onset latency by about 17 minutes compared to placebo. The largest placebo-controlled trial to date (155 adults with poor sleep) found magnesium bisglycinate significantly reduced insomnia severity scores compared to placebo within 28 days. An RCT on magnesium L-threonate specifically showed improvements in both objective Oura ring sleep metrics and subjective sleep quality, mood, and energy compared to placebo over 21 days. That said, the overall body of RCT evidence is still growing, and effects are most pronounced in people who are actually deficient or have poor baseline sleep quality. If your sleep is already great and your magnesium is replete, don't expect a dramatic change.
Mood, depression, and anxiety: Magnesium's role in neurotransmitter balance gives it meaningful effects on mood. It promotes GABAergic inhibition while tempering excitatory glutamatergic signalling, essentially helping your brain calm down. A crossover RCT of 126 adults with mild-to-moderate depression found that 248mg of elemental magnesium chloride daily improved depression scores by a clinically significant 6 points on the PHQ-9 and anxiety by over 4 points on the GAD-7, with effects visible within 2 weeks. A meta-analysis of 7 RCTs confirmed a significant decline in depression scores with magnesium supplementation across 325 subjects. The effect seems strongest in mild-to-moderate depression, one trial using magnesium alongside fluoxetine for severe major depression didn't find additional benefit.
Testosterone and exercise performance: Magnesium is positively associated with testosterone levels. A study of 399 older men from the InCHIANTI cohort found a strong independent association between serum magnesium and both total testosterone and IGF-1. An intervention study supplementing tae kwon do athletes and sedentary controls with 10mg/kg magnesium daily for 4 weeks found increases in both free and total testosterone, with the greatest increases seen in athletes who were both exercising and supplementing. A 7-week double-blind resistance training study using ZMA (zinc, magnesium, B6) found the supplemented group had significant testosterone increases alongside 10%+ gains in quadriceps torque and 12-15% gains in power compared to essentially flat changes in the placebo group. The caveat here is the same as with zinc: these benefits are most clear when correcting a deficiency. If your magnesium is already optimal, extra supplementation won't push testosterone beyond your ceiling.
Blood pressure and cardiovascular health: Magnesium acts as a natural calcium channel blocker, helping relax blood vessel walls. A 2025 meta-analysis of 38 RCTs involving 2,709 participants found magnesium supplementation reduced systolic blood pressure by about 2.8 mmHg and diastolic by about 2.1 mmHg overall. In hypertensive individuals, the reduction was much larger, around 7.7 mmHg systolic. In people with normal blood pressure, the effect wasn't statistically significant, so this is primarily beneficial if your blood pressure is elevated. Beyond blood pressure, magnesium deficiency is associated with increased platelet aggregation, arterial calcification, and chronic low-grade vascular inflammation, all of which contribute to cardiovascular disease risk.
Bone health: About 60% of your body's magnesium is stored in bone, and it plays a direct role in bone crystal formation and density. It also regulates vitamin D activation and calcium metabolism, which is important because vitamin D cannot be converted to its active form without adequate magnesium. Research has shown that magnesium deficiency can affect bone structure indirectly through disruption of parathyroid hormone and vitamin D pathways. Taking vitamin D without adequate magnesium can actually be counterproductive, as it may raise calcium and phosphate levels without properly directing them to bone.
Muscle cramps: This is worth a reality check. Despite being the first thing people reach for when they get cramps, a Cochrane review found that magnesium supplementation probably makes little or no difference in reducing muscle cramp frequency in the general population, particularly in older adults. However, this doesn't mean magnesium is useless for cramps, it means that most cramps aren't caused by magnesium deficiency. If you actually are deficient and getting cramps, fixing the deficiency should help. But if your magnesium is fine and you're cramping, the cause is likely something else (dehydration, electrolyte imbalance, nerve compression, or just overuse).
Kidney stone prevention: Magnesium binds to oxalate both in the gut (reducing absorption) and in urine (competing with calcium for oxalate binding), which is why low urinary magnesium is considered a lithogenic risk factor. A prospective double-blind trial found potassium-magnesium citrate reduced calcium oxalate stone recurrence by about 85% compared to placebo over 3 years. A 2024 RCT found that both magnesium oxide and magnesium citrate reduced urinary oxalate and calcium oxalate supersaturation, with citrate showing a greater effect. That said, magnesium alone (especially as oxide or hydroxide) hasn't consistently prevented stones in broader populations, it works best as part of a combined approach with citrate, and particularly in people who actually have low urinary magnesium or high oxalate.
Cofactor relationships (this matters): Magnesium and vitamin D are deeply interdependent. Magnesium is required for the enzymes that convert vitamin D into its active form (1,25-dihydroxyvitamin D). Without enough magnesium, supplementing vitamin D is less effective. One large observational study following nearly 1,900 men for 22 years found that in men with low vitamin D, those with magnesium intake below 414mg/day had 60% higher mortality risk than those with higher intake. Zinc and magnesium work together, as zinc helps magnesium absorb and magnesium helps regulate zinc levels, but at very high doses of either mineral they can compete for absorption. Calcium and magnesium have a balancing relationship, calcium contracts muscles while magnesium relaxes them, and taking large doses of calcium without adequate magnesium can worsen deficiency symptoms. Vitamin K2 is also part of this system. Vitamin D upregulates K2-dependent proteins like osteocalcin (directs calcium into bone) and matrix Gla protein (prevents calcium from depositing in arteries). Since magnesium is required to activate vitamin D, and vitamin D is required to produce the proteins that K2 then activates, the three nutrients form a sequential chain where a deficiency in magnesium can undermine the entire D3/K2 calcium-routing system. If you're supplementing D3 and K2 but not getting enough magnesium, you're limiting the effectiveness of both. Vitamin B6 enhances magnesium absorption and retention, which is why the ZMA formulation includes it.
Dosage:
- RDA (from all sources including food): 420mg/day for men, 320mg/day for women. Most people get roughly 250mg from diet, leaving a gap of 100-200mg even for sedentary people. If you're active, stressed, or sweating a lot, total daily needs are closer to 500-600mg, meaning you'd want 200-400mg from supplements on top of what you eat
- Best forms: Magnesium bisglycinate (glycinate) is the best all-rounder. It's chelated to glycine, an amino acid that independently promotes relaxation, supports collagen synthesis, helps regulate blood sugar, acts as an anti-inflammatory, and is a precursor to glutathione (your body's master detoxifier). The chelation makes absorption significantly better than non-chelated forms, it's gentle on the stomach, and it's not pH-dependent so you can take it on an empty stomach. Go-to for sleep, anxiety, and general replenishment. Magnesium L-threonate is the only form shown to meaningfully cross the blood-brain barrier. An RCT found 6 weeks improved cognition, working memory, and reaction time. Downside: the compound is only ~8% elemental magnesium by weight, so a typical 1,500mg dose only delivers about 100-150mg of actual magnesium, not enough on its own to cover your daily needs. Best used alongside glycinate rather than as a standalone. Magnesium citrate is well-absorbed and cheap but has a laxative effect at higher doses, which is a feature if you tend toward constipation. Magnesium malate is sometimes preferred for fatigue and muscle pain. Avoid oxide, sulfate, carbonate, and hydroxide, these are poorly absorbed inorganic forms. Oxide is the most common offender, cheap but your body barely uses any of it
- Timing: Best taken in the evening, ideally right before bed, as it promotes relaxation and sleep onset. Taking it during the day won't make you drowsy, just more relaxed.
- Optimal stacking approach: Glycinate in the evening (300-400mg for sleep and general replenishment) + threonate in the morning (1,000-1,500mg of the compound, which yields roughly 100-150mg elemental magnesium, for cognitive support). This covers both systemic and brain-specific benefits
- Absorption tips: Magnesium competes with calcium for absorption, so avoid taking them at the same time if you're supplementing both. Taking magnesium with food reduces GI side effects. Vitamin B6 enhances magnesium absorption and retention. Alcohol, caffeine, and high-sugar diets all increase urinary magnesium excretion
Here's what you can expect:
Sleep improvements tend to be the first thing people notice, usually within 1-2 weeks, particularly faster sleep onset and deeper sleep. Muscle tension, twitches, and restless legs (if caused by deficiency) often resolve within 1-2 weeks as well. Mood and anxiety improvements typically appear over 2-4 weeks. Blood pressure reductions, if applicable, generally manifest over 4-12 weeks. Cognitive benefits from threonate specifically may take 4-8 weeks. If you were significantly deficient, you may notice an overall improvement in energy, stress tolerance, and exercise recovery that's hard to attribute to any single mechanism but is the result of hundreds of enzymatic processes finally running properly. If you were already replete, effects will be subtle to nonexistent.
Side effects & risks:
- Loose stools and diarrhea are the most common side effects, especially with magnesium citrate, oxide, or any form at high doses. This is an osmotic effect, magnesium draws water into the intestines. Switch to glycinate or threonate if this is a problem, or simply lower your dose
- Nausea can occur when taking magnesium on an empty stomach. Take with food
- The upper tolerable intake from supplements is set at 350mg/day by the NIH, but this refers to elemental magnesium from supplements specifically (not food). Going above this isn't dangerous for healthy people, but GI side effects become more likely. Many clinical trials have used 500mg+ without serious issues
- Kidney function matters. If you have impaired kidney function, magnesium clearance is reduced and supplementation can lead to hypermagnesemia, which in severe cases causes dangerously low blood pressure, breathing difficulty, and cardiac arrest. If your GFR is reduced, check with your doctor before supplementing
- Drug interactions: Magnesium can reduce absorption of certain antibiotics (fluoroquinolones, tetracyclines) and bisphosphonates. Space magnesium 2 hours before or 4-6 hours after these medications. Magnesium can also potentiate the effects of blood pressure medications and muscle relaxants
- Excessive supplementation at very high doses (5,000mg+) can cause serious toxicity including respiratory depression and cardiac arrest, but this is essentially impossible to achieve through oral supplementation alone, your bowels will force evacuation long before you reach toxic levels. Toxicity cases are almost exclusively from IV administration or in people with severe kidney disease
Blood markers
RBC magnesium (normal range 4.2-6.8 mg/dL) is the preferred test for assessing intracellular magnesium status. More accurate than serum magnesium, though still imperfect. Check at baseline before supplementing.
Serum magnesium (normal range 0.7-1.0 mmol/L or 1.7-2.4 mg/dL) is the standard test but only reflects about 1% of total body magnesium. Optimal is >0.80 mmol/L. Anything below 0.75 mmol/L with symptoms warrants supplementation even if it falls in the "normal" range.
Vitamin D (25-hydroxyvitamin D), check alongside magnesium since the two are interdependent. If your vitamin D is low despite supplementation, magnesium deficiency may be the reason.
Serum calcium and potassium, magnesium deficiency can cause secondary drops in both. If either is persistently low despite supplementation, check magnesium.
For most people, serum magnesium + RBC magnesium at baseline is a solid starting point. Add vitamin D if you haven't tested it recently.
