Magnesium: Forms, Deficiency, and What the Evidence Shows for Sleep, Anxiety, Muscle Function, and Cognitive Performance

Updated: June 2026magnesium supplement · magnesium glycinate · magnesium threonate · magnesium malate · magnesium citrate · magnesium deficiency · magnesium sleep · magnesium anxiety · best form of magnesium · magnesium dosage · magnesium benefits · magnesium oxide · magnesium for muscle cramps · magnesium brain
45%
of Americans are magnesium deficient by dietary intake analysis (NHANES data) — actual cellular deficiency is harder to measure since serum magnesium is a poor biomarker (only ~1% of body magnesium is in serum; deficiency depletes intracellular stores first); the correct test is RBC (red blood cell) magnesium, not serum; deficiency is often subclinical for years before symptoms manifest; causes include processed food diet (magnesium removed in refining), soil depletion over decades of industrial farming, high stress (magnesium excreted in urine under cortisol), proton pump inhibitor use (impairs intestinal Mg absorption), and insulin resistance (hyperinsulinemia drives magnesium into cells then excretion)
300+
enzymatic reactions require magnesium as a cofactor — including every ATP-producing reaction in the body (ATP must be chelated to Mg²⁺ to be biologically active: it's MgATP, not free ATP), DNA polymerase (replication), RNA polymerase (transcription), glutathione synthesis, protein synthesis (ribosomal function), Na/K-ATPase pump function, and calcium channel regulation; this explains why magnesium deficiency produces symptoms across virtually every system: fatigue, muscle cramps, anxiety, insomnia, hypertension, insulin resistance, arrhythmia
17%
reduction in all-cause mortality risk with highest vs lowest dietary magnesium intake (Veronese 2021, British Journal of Nutrition, meta-analysis of 40 prospective studies, N=1,231,363): each 100mg/day increment in dietary magnesium associated with 7% lower all-cause mortality; strongest associations with cardiovascular disease mortality; dietary magnesium inversely associated with type 2 diabetes risk (−15%), stroke risk (−7%), and total cardiovascular events (−9%) per 100mg/day
58%
of insomnia patients achieved significant sleep improvement with magnesium glycinate 500mg (Abbasi 2012, Journal of Research in Medical Sciences, N=46 elderly patients, RCT): improvements in ISI (Insomnia Severity Index), sleep efficiency, sleep onset time, and early morning awakening; serum melatonin and renin concentrations increased; serum cortisol decreased; magnesium activates GABA receptors (especially GABA-A) and blocks NMDA receptors — the two primary mechanisms that quiet neuronal activity before sleep

Magnesium is the fourth most abundant mineral in the human body and the second most common intracellular cation after potassium. Despite this, it is also among the most commonly deficient nutrients — partly because serum magnesium (the test usually ordered) is tightly regulated and doesn't drop until deficiency is severe, masking widespread subclinical deficiency. The body prioritizes serum magnesium by pulling it from bone and muscle; by the time serum magnesium falls, cellular stores are already significantly depleted.

The form of magnesium supplement matters enormously. Magnesium oxide (the most common and cheapest form in supplements) has approximately 4% bioavailability — you absorb almost none of it, and the unabsorbed magnesium draws water into the colon (useful as a laxative; useless as a nutritional supplement). High-absorption organic acid chelates like glycinate, malate, and threonate are in an entirely different category. Choosing the right form for the right application is the difference between a supplement that does something and one that does nothing.

Want the full evidence writeup?
The Stack Protocol builds four complete goal stacks — Energy, Focus, Sleep, Longevity — with exact doses, timing, budget tiers, and a 30-day rollout plan, graded with the same evidence framework behind this page.
Get the Stack Protocol → $19

Magnesium forms — absorption, tissue targets, and best use

FormAbsorptionBest forNotes
Magnesium glycinate~80% (amino acid chelate, cotransported with glycine)Sleep, anxiety, general deficiency correction, long-term maintenanceGlycine is itself a calming inhibitory neurotransmitter and NMDA receptor co-agonist; combined effect with magnesium's GABA-A activation and NMDA block makes this the best sleep/anxiety form; no laxative effect; safe at higher doses; most recommended all-around form
Magnesium threonate (Magtein)Moderate bioavailability systemically; superior CNS penetrationCognitive function, memory, brain aging, neurological applicationsCrosses the blood-brain barrier more efficiently than other forms (Slutsky 2010 Neuron mouse study: 15% increase in synaptic density, improved short and long-term memory); patented as Magtein; raises cerebrospinal fluid Mg²⁺ more effectively; the expensive option (~3–5× glycinate); limited human RCT data but mechanistically compelling
Magnesium malateHigh (malate enhances absorption)Energy production, fibromyalgia, exercise recovery, daytime useMalate (malic acid) is a TCA cycle intermediate — directly feeds mitochondrial ATP production; Russell 1995 (Journal of Rheumatology, N=24): 300–600mg elemental Mg as malate significantly reduced fibromyalgia pain and tenderness; better daytime option (malate is energizing, not sedating)
Magnesium taurateGoodCardiovascular health, blood pressure, heart rhythmTaurine has independent cardiovascular-protective effects (antiarrhythmic, blood pressure lowering); combination targets heart and vascular health specifically; limited direct RCT evidence vs other forms
Magnesium citrateGood (~70%)Constipation, general deficiency at lower cost than glycinateSome laxative effect limits tolerable dose; widely available and inexpensive; acceptable for general use when glycinate cost is a barrier
Magnesium oxide~4% bioavailabilityLaxative only — NOT a reliable nutritional supplementFound in most cheap multivitamins labeled as "500mg magnesium" — delivers ~20mg of usable magnesium; waste of money for any goal other than constipation; avoid for supplementation purposes
Magnesium sulfatePoor oral; modest transdermal (Epsom salts)Topical muscle relaxation; IV medical use (preeclampsia, eclampsia, torsades de pointes)Oral bioavailability poor; Epsom salt baths have some transdermal absorption evidence but quantity absorbed is modest; IV magnesium sulfate is first-line medical treatment for eclampsia and torsades de pointes
Magnesium and Anxiety — GABA-A Activation + NMDA Blockade

Mechanism: magnesium is a natural NMDA receptor blocker and GABA-A potentiator — deficiency produces a hyperexcitable, anxious state

Magnesium's anxiolytic mechanism is well-established at the receptor level. Magnesium ions (Mg²⁺) block NMDA (N-methyl-D-aspartate) glutamate receptors in a voltage-dependent manner — NMDA receptors are excitatory; when blocked by magnesium, they require stronger depolarization to activate, reducing overall excitatory neuronal tone. Deficiency removes this natural brake on NMDA activity, producing a hyperexcitable state that manifests as anxiety, hyperarousal, racing thoughts, and poor stress tolerance. Simultaneously, magnesium potentiates GABA-A receptor sensitivity — GABA is the primary inhibitory neurotransmitter, and increasing GABA-A sensitivity produces calming effects. Boyle 2017 (Nutrients, systematic review of 18 studies): beneficial effects of magnesium supplementation on subjective anxiety in mild-to-moderate anxiety; effects more consistent in populations with dietary magnesium deficiency. The clinical effect size is moderate but consistent and without the tolerance, dependence, or cognitive impairment risks of pharmaceutical anxiolytics. HPA axis: magnesium also suppresses CRH (corticotropin-releasing hormone) release and reduces cortisol responsiveness — lower magnesium is associated with higher cortisol reactivity to stress, and supplementation blunts this.

Magnesium and Muscle Function — Cramps, Athletic Performance, Recovery

Calcium initiates contraction; magnesium enables relaxation — deficiency tips the balance toward sustained contraction

Calcium initiates muscle contraction by binding troponin C on the thin filaments; magnesium is required for the reverse — enabling muscle fibers to release calcium and relax. In deficiency, the calcium/magnesium balance tips toward sustained partial contraction, producing cramps, spasms, and fasciculations (twitching). Magnesium is also required for Na/K-ATPase function (the pump that maintains the electrochemical gradient enabling nerve and muscle cells to repolarize between contractions) and for creatine kinase activity (converting creatine to phosphocreatine for rapid ATP regeneration). Athletic performance: Lindner 1985 (Magnesium, N=16 competitive rowers, 120mg/day supplementation): improved glucose metabolism and lactate handling; multiple studies show magnesium depletion during intense exercise via sweat (~4mg/L) and urine (cortisol-driven excretion). Athletes training intensely may require 10–20% above the RDA (420mg/day men, 320mg/day women) to maintain cellular adequacy. Caveat: not all muscle cramps are magnesium-related; hypokalemia (low potassium), dehydration, and nerve compression are more common causes in otherwise healthy young people; magnesium is more likely to help in athletes, older adults, and people with known deficiency.

Magnesium Protocol — Form Selection and Dosing

General deficiency correction + sleep + anxiety: Magnesium glycinate 300–400mg elemental magnesium taken 60–90 minutes before bed. Critical label-reading note: many labels state the total chelate weight, not elemental magnesium content. Magnesium glycinate is ~14% elemental magnesium by weight — a "400mg magnesium glycinate" capsule contains ~56mg elemental magnesium. To get 300–400mg elemental Mg/day, you typically need 4–6 capsules. Look for products that state the elemental magnesium content directly.

Cognitive function: Magnesium threonate (Magtein) at manufacturer-studied doses — typically 2,000mg Magtein compound per day (providing ~144mg elemental magnesium) as a split AM/PM dose. Total elemental Mg is modest; this form is valued for CNS penetration, not total Mg loading. Stack with glycinate if also targeting sleep and anxiety.

Energy and fibromyalgia: Magnesium malate 300–500mg elemental magnesium, taken in the morning or with meals. Avoid taking malate forms at night — the energizing malate component can impair sleep onset in sensitive individuals.

Safety and upper limit: The tolerable upper intake level (UL) from supplemental magnesium is 350mg/day elemental per the Institute of Medicine. Exceeding this risks osmotic diarrhea in most people; glycinate and malate forms are generally better tolerated than oxide or citrate above the UL due to complete absorption (less unabsorbed Mg reaching the colon). Patients with chronic kidney disease should not supplement magnesium without physician oversight — impaired kidneys cannot excrete excess magnesium, risking hypermagnesemia.

Testing: Request RBC magnesium (not serum Mg) for clinically meaningful assessment. RBC Mg reference range: 4.2–6.8 mg/dL; optimal is generally considered the upper half. Serum Mg (1.7–2.2 mg/dL normal range) will appear normal until deficiency is severe and should not be used to rule out deficiency.

Magnesium Glycinate → Magnesium Threonate →

Related protocols

Zinc Guide → Iron & Ferritin → Creatine → Vitamin D3+K2 →

As an Amazon Associate, StackProtocol earns from qualifying purchases made through links on this page. This does not affect the price you pay.