
Magnesium
Useful mainly for adults with low dietary magnesium intake, migraines, or elevated blood pressure.
Quick decision guide
May help most
Adults with low dietary magnesium intake, migraines, or elevated blood pressure
Common dosing range
200–350 mg elemental magnesium/day
When to expect effects
Days to weeks depending on use
Watch out for
Contraindicated in kidney disease without medical supervision
What is it
Magnesium is an essential mineral involved in more than 300 enzymatic reactions, including energy production, protein synthesis, muscle and nerve function, blood pressure regulation, and bone health. It is one of the most common nutrient deficiencies in modern diets.
Is it worth it for you?
Use this as a quick fit check, not a diagnosis.
Worth considering if…
Probably skip if…
Evidence at a glance
| Goal | Effect | Best fit | Time |
|---|---|---|---|
magnesium deficiency correction Strong Evidence | Full resolution of deficiency-related symptoms | Adults with dietary inadequacy, diabetes, GI malabsorption, or chronic diuretic use | Days to weeks |
constipation relief Strong Evidence | Reliable osmotic laxative effect | Adults with occasional or functional constipation | Hours to 1–2 days |
blood pressure reduction Good Evidence | ~2–4 mmHg systolic | Adults with hypertension or low magnesium intake | Weeks |
migraine prevention Good Evidence | Modest reduction in attack frequency | Adults with frequent migraines, particularly those with documented or suspected low magnesium levels | 4–12 weeks |
sleep quality Limited Evidence | Small to modest | Older adults with poor sleep and low dietary magnesium intake | Weeks |
magnesium deficiency correction
- Effect
- Full resolution of deficiency-related symptoms
- Best fit
- Adults with dietary inadequacy, diabetes, GI malabsorption, or chronic diuretic use
- Time
- Days to weeks
constipation relief
- Effect
- Reliable osmotic laxative effect
- Best fit
- Adults with occasional or functional constipation
- Time
- Hours to 1–2 days
blood pressure reduction
- Effect
- ~2–4 mmHg systolic
- Best fit
- Adults with hypertension or low magnesium intake
- Time
- Weeks
migraine prevention
- Effect
- Modest reduction in attack frequency
- Best fit
- Adults with frequent migraines, particularly those with documented or suspected low magnesium levels
- Time
- 4–12 weeks
sleep quality
- Effect
- Small to modest
- Best fit
- Older adults with poor sleep and low dietary magnesium intake
- Time
- Weeks
Evidence for 5 uses
AI-assisted evidence assessment — talk to your doctor before relying on any single supplement.
magnesium deficiency correction
Corrects deficiencyMagnesium is required for over 300 enzymatic reactions and most adults do not meet the RDA through diet alone. Oral supplementation reliably corrects low serum and tissue magnesium in people with inadequate intake or increased losses (diuretics, GI disease). Deficiency correction is the clearest and most evidence-based use.
Bottom line: Supplementation is the straightforward fix when dietary intake is chronically inadequate.
constipation relief
Supplement benefitMagnesium oxide and magnesium citrate draw water into the intestinal lumen via an osmotic mechanism, reliably increasing stool frequency and softness. This is a well-established pharmacological effect rather than a nutrient-deficiency correction. Doses of 300–500 mg at bedtime are effective for most people.
Bottom line: One of the most reliably effective and low-cost interventions for occasional constipation.
blood pressure reduction
Biomarker supportMultiple meta-analyses of RCTs report that supplemental magnesium (300 mg or more/day) reduces systolic blood pressure by approximately 2–4 mmHg. Effect is most pronounced in hypertensive individuals or those who are magnesium-deficient. Magnesium is not a standalone antihypertensive but is a reasonable low-risk adjunct to dietary approaches.
Bottom line: Modest blood pressure reduction is plausible, particularly in those with insufficient magnesium status — not a substitute for antihypertensive medications.
Evidence is mixed
Some trials show no significant effect in replete normotensive individuals; effect size heterogeneity is considerable across meta-analyses.
migraine prevention
Supplement benefitSeveral RCTs and meta-analyses support magnesium supplementation (400–600 mg/day) as prophylaxis for migraine. The effect is preventive rather than abortive — it reduces attack frequency but does not stop an ongoing migraine. Low magnesium levels are documented in some migraine sufferers, suggesting partial deficiency plays a mechanistic role.
Bottom line: A reasonable first-line preventive adjunct for migraines given the low risk profile; not a replacement for proven migraine medications.
sleep quality
Supplement benefitSmall RCTs have shown modest improvements in sleep onset and quality with magnesium supplementation, particularly in older adults who often have lower magnesium status. The evidence base is limited by small samples, heterogeneous populations, and inconsistent outcome measures. Well-controlled trials in replete younger adults typically show little benefit.
Bottom line: May offer modest sleep benefit in older or magnesium-deficient adults; not sufficient evidence to recommend as a primary sleep aid.
Evidence is mixed
Several rigorous trials in younger, replete adults show no meaningful benefit over placebo.
How it works
How to take it
What to track
6 commercial forms
Compare the main delivery options and what they’re best suited for.
Magnesium glycinate (bisglycinate)
Bound to glycine for good absorption with minimal laxative effect. Often preferred for sleep, anxiety, and people sensitive to other forms.
highly bioavailable, gentle on stomach
Magnesium citrate
Well absorbed and inexpensive. Has a mild osmotic laxative effect, useful for constipation but unwelcome at higher doses.
good absorption, mild laxative
Magnesium oxide
Inexpensive and high in elemental magnesium per mg, but poorly absorbed. Mainly useful as a laxative, not for raising body magnesium status.
poor absorption (around 4 percent), strong laxative
Magnesium malate
Magnesium bound to malic acid. Popular for fibromyalgia and chronic fatigue, though evidence for advantage over other forms is limited.
well absorbed, often used for fatigue
Magnesium L-threonate
Marketed for cognitive benefits based on animal studies showing brain magnesium increases. Human evidence is limited and the form is expensive.
claimed to cross blood-brain barrier
Magnesium chloride / sulfate (Epsom salts)
Chloride is well absorbed; sulfate is mostly used as oral or transdermal Epsom salt. Topical absorption claims are largely unsupported.
rapidly absorbed orally
Safety
Know the common side effects, key cautions, and who should avoid it.
Common side effects
Serious risks
Hypermagnesemia in kidney disease — can cause weakness, low blood pressure, irregular heartbeat
Who should avoid it
- Chronic kidney disease without physician supervision
- Myasthenia gravis (avoid IV magnesium; discuss oral forms with doctor)
Pregnancy & breastfeeding
Slightly increased magnesium needs during pregnancy; RDA-level supplementation (350 mg/day) is generally safe, but high therapeutic doses require medical supervision.
Interactions
Magnesium reduces bisphosphonate absorption; separate by at least 2 hours
Chelation reduces antibiotic absorption; separate by at least 2 hours
Magnesium may reduce levothyroxine absorption; separate by at least 4 hours
These drugs increase urinary magnesium loss, raising deficiency risk
Long-term PPI use can cause magnesium deficiency; supplementation may be warranted
Documented interactions
Evidence-graded pair pages with sources, dosing notes, and timing guidance — a complement to the narrative section above.
Warnings (9)
+ omeprazole
highLong-term omeprazole use (typically more than a year, occasionally sooner) can lower body magnesium, likely by impairing active intestinal magnesium transport through the TRPM6/TRPM7 channels. The FDA issued a formal Drug Safety Communication in 2011 warning that prescription proton pump inhibitors can cause hypomagnesemia, with serious cases involving abnormal heart rhythm, muscle spasm (tetany), and seizures.
+ pantoprazole
highPantoprazole, like all proton pump inhibitors (PPIs), is associated with low magnesium (hypomagnesemia) after long-term use, likely by impairing active intestinal magnesium transport. The FDA included pantoprazole in its 2011 Drug Safety Communication on PPI-induced hypomagnesemia, which in severe cases can cause arrhythmia, tetany, and seizures.
+ levothyroxine
moderateTaking magnesium too close to levothyroxine can modestly reduce how much of the thyroid medicine is absorbed, because magnesium can bind levothyroxine in the gut.
+ doxycycline
moderateMagnesium ions can bind doxycycline in the gastrointestinal tract, forming a poorly absorbed complex that reduces how much antibiotic reaches the bloodstream. Magnesium-containing supplements, antacids, and laxatives can meaningfully lower doxycycline absorption if taken at the same time.
Beneficial pairs (10)
+ glycine
synergyMagnesium and glycine are commonly combined as magnesium bisglycinate, a chelate whose clearest benefit is being gentle on the gut and improving adherence, rather than dramatically higher absorption.
+ vitamin d
synergyMagnesium helps activate and support the function of vitamin D; low magnesium can reduce the effectiveness of vitamin D supplementation. This is a beneficial nutrient synergy rather than a harmful interaction.
+ boron
synergyBoron appears to help the body retain magnesium by reducing how much is lost in the urine, and both minerals support the activation of vitamin D and healthy bone metabolism. The combined human evidence is modest and partly context-dependent, but the pairing is low-risk and biologically plausible, with the strongest rationale for postmenopausal bone health.
+ calcium
synergyCalcium and magnesium work together in bone mineralization, muscle contraction, and nerve signaling. They share some intestinal absorption pathways, so very large single doses of one can modestly reduce uptake of the other. A balanced intake of both, weighted toward food, supports bone health better than emphasizing calcium alone.
Protocols featuring Magnesium
Evidence-backed routines where Magnesium plays a role.
Daily Essentials — Foundation
general
Before any goal-specific protocol, most adults benefit from filling four common nutritional gaps: vitamin D3, magnesium, omega-3 EPA/DHA, and a basic multivitamin. These four cover the deficiencies that affect everything else — sleep, mood, immune function, energy, cognitive performance, and long-term cardiovascular and skeletal health. If you''re going to take only ONE protocol from Pilora, this is it. It''s the universal foundation. Everything else (Better Sleep, Daily Calm, Foundational Longevity, etc.) layers on top of this baseline. The framing here is unglamorous. There''s no novelty, no proprietary blend, no Instagram trend. Just the four supplements with the most consistent long-term human evidence for general health support.
Better Sleep
sleep
Magnesium, glycine, L-theanine, and apigenin work through complementary mechanisms (GABA modulation, NMDA antagonism, core body temperature regulation) to support faster sleep onset and deeper sleep. Evidence ranges from moderate (magnesium, glycine) to emerging (apigenin). This is a foundational sleep stack — not a substitute for sleep hygiene basics.
Foundational Weight Support
weight
Weight loss is overwhelmingly downstream of energy balance, hormonal context, sleep, and stress — not supplementation. That said, a few compounds have legitimate trial evidence for supporting weight loss when combined with caloric restriction and exercise. None of these will produce meaningful loss on their own. The strongest evidence is for fiber (gastric distension and satiety), berberine (insulin sensitization and modest weight effects), and green tea catechins (small thermogenic effect). Magnesium and chromium correct common deficiencies that worsen insulin handling. This is the category anchor — the boring evidence-backed foundation before chasing trends. If you have more than 30 pounds to lose, a metabolic condition, or have failed multiple weight-loss attempts, please consider a doctor-supervised approach. GLP-1 medications (semaglutide, tirzepatide) have dramatically larger effect sizes than any supplement stack and are increasingly accessible. Supplements complement medical and lifestyle interventions — they do not replace them.
Daily Calm
stress
Chronic everyday stress is a different beast than acute panic — what you want is HPA-axis modulation over weeks, not sedation. Ashwagandha (KSM-66) is the headline ingredient: trial evidence shows lower cortisol and lower perceived stress after 8 weeks of daily use. L-theanine is a fast-acting "calm but alert" add-on for individual stressful moments (presentations, conflicts, mid-afternoon overwhelm). Magnesium glycinate supports nervous system relaxation and downstream sleep quality, which compounds — better sleep → lower next-day stress reactivity.
Falling Asleep Faster
sleep
Sleep-onset insomnia (difficulty falling asleep) is mechanistically distinct from sleep-maintenance issues (waking up). The drivers are usually nervous system over-activation, melatonin signaling, and core body temperature — not deep sleep architecture. This stack targets sleep onset specifically: magnesium for GABA modulation, L-theanine for alpha-wave relaxation, low-dose melatonin as a circadian signal (NOT a sedative), and glycine for the core body temperature drop that precedes sleep. Use this for "I can''t turn my brain off at night" patterns. If you fall asleep fine but wake up at 3 AM, see Staying Asleep instead.
Statin Companion
medication
Statins are the most-evidenced cardiovascular medication ever invented — they prevent heart attacks, strokes, and cardiovascular death across multiple massive trials. They''re also the most widely-prescribed class of medication in adults over 40. The catch: statins inhibit HMG-CoA reductase, the enzyme that produces cholesterol — but the SAME pathway also produces CoQ10 and dolichols. As a result, statin users show 19-54% reductions in serum CoQ10 in trials, and CoQ10 depletion is implicated in statin-associated muscle symptoms (the most common reason patients discontinue statins). Vitamin D status independently affects statin tolerance. Omega-3 complements statin lipid management. This protocol is for adults ACTIVELY on a statin medication (atorvastatin/Lipitor, rosuvastatin/Crestor, simvastatin/Zocor, pravastatin, etc.). The goal: mitigate side effects, support muscle and energy, complement cardiovascular protection. CRITICAL: this protocol does NOT replace your statin. Statins prevent cardiovascular events; the supplements address downstream effects. If you''re experiencing statin-related muscle symptoms, talk to your cardiologist or PCP. Options include CoQ10 supplementation, switching statin type, lowering dose, alternative-day dosing, or in rare cases switching medication class entirely. Don''t stop your statin without medical guidance.
Anxiety Relief
stress
Anxiety is different from stress. Stress is a response to external demand; anxiety is the persistent anticipation of threat — often without a clear external trigger. This distinction matters because the supplement levers differ. For acute anxiety (a presentation, a flight, a difficult conversation), fast-acting non-sedating options like L-theanine work. For chronic, lower-grade everyday anxiety, magnesium and ashwagandha modulate the HPA axis over weeks. For panic attacks, severe anxiety disorder, or anxiety that disrupts daily function, please see a mental health professional — supplements are first-line for mild-to-moderate symptoms only.
Blood Sugar / Insulin Resistance
metabolic
Insulin resistance is upstream of nearly every chronic disease that kills modern adults: type 2 diabetes, cardiovascular disease, fatty liver, cognitive decline, certain cancers. The good news is it''s one of the most reversible metabolic states — with lifestyle change being the strongest lever (Diabetes Prevention Program: 58% reduction in progression to diabetes vs. 31% for metformin). The supplement category has genuine evidence: berberine produces effects comparable to metformin for HbA1c and fasting glucose; chromium and alpha-lipoic acid improve insulin sensitivity; cinnamon (Ceylon variety) modestly reduces post-meal glucose spikes; magnesium corrects a commonly low cofactor in insulin signaling. This stack is for adults with elevated fasting glucose, elevated HbA1c, elevated fasting insulin, or known insulin resistance — including those with PCOS, prediabetes, or metabolic syndrome. It complements lifestyle change rather than substituting for it. If your HbA1c is over 6.5% or your fasting glucose is over 126 mg/dL, you have type 2 diabetes — that''s a medical condition that warrants proper management, not solo supplementation.
Metformin Companion
medication
Metformin is the most-prescribed type 2 diabetes medication and is increasingly used off-label for prediabetes, PCOS, and even longevity research. The catch: long-term metformin use is associated with vitamin B12 deficiency in 5-30% of users — the exact mechanism involves reduced B12 absorption in the small intestine. B12 deficiency on metformin develops slowly (typically 4+ years of use) and produces fatigue, cognitive symptoms, and peripheral neuropathy — symptoms commonly misattributed to diabetes itself. Metformin also modestly affects folate and CoQ10, and magnesium supplementation may enhance metformin''s metabolic effects. This protocol is for adults ACTIVELY on metformin (any indication: T2DM, prediabetes, PCOS, or off-label use). CRITICAL: this protocol does NOT replace metformin. The supplements address downstream nutritional effects. The American Diabetes Association recommends periodic B12 testing for long-term metformin users — particularly in adults over 50, vegetarians/vegans, and those with neurological symptoms. Don''t skip B12 monitoring.
PCOS Support
hormones
Polycystic ovary syndrome (PCOS) affects roughly 10% of reproductive-age women and is one of the most under-diagnosed endocrine conditions. The core pathology involves insulin resistance, androgen excess, and ovulatory dysfunction — and the supplement category here has unusually good evidence. Myo-inositol is the gold-standard supplemental intervention for PCOS, with effects approaching metformin for restoring ovulation and reducing hyperandrogenism. NAC has small but consistent evidence for ovulation and insulin sensitivity. Vitamin D, magnesium, and berberine support the underlying insulin-resistance pathway. This stack complements lifestyle (the most impactful intervention) and medical therapy when needed. It does NOT replace metformin, GLP-1 agonists, or ovulation induction in women actively trying to conceive — but it can reduce reliance on them in milder cases.
Food sources
| Food | Amount | %DV |
|---|---|---|
| Pumpkin seeds, 1 oz | 168 mg | 40% |
| Chia seeds, 1 oz | 111 mg | 26% |
| Almonds, 1 oz | 80 mg | 19% |
| Spinach (boiled), 1/2 cup | 78 mg | 19% |
| Cashews, 1 oz | 74 mg | 18% |
| Black beans (cooked), 1/2 cup | 60 mg | 14% |
| Edamame (cooked), 1/2 cup | 50 mg | 12% |
| Dark chocolate (70-85%), 1 oz | 65 mg | 15% |
| Avocado, 1 cup | 44 mg | 10% |
| Salmon, 3 oz cooked | 26 mg | 6% |
Pumpkin seeds, 1 oz
- Amount
- 168 mg
- %DV
- 40%
Chia seeds, 1 oz
- Amount
- 111 mg
- %DV
- 26%
Almonds, 1 oz
- Amount
- 80 mg
- %DV
- 19%
Spinach (boiled), 1/2 cup
- Amount
- 78 mg
- %DV
- 19%
Cashews, 1 oz
- Amount
- 74 mg
- %DV
- 18%
Black beans (cooked), 1/2 cup
- Amount
- 60 mg
- %DV
- 14%
Edamame (cooked), 1/2 cup
- Amount
- 50 mg
- %DV
- 12%
Dark chocolate (70-85%), 1 oz
- Amount
- 65 mg
- %DV
- 15%
Avocado, 1 cup
- Amount
- 44 mg
- %DV
- 10%
Salmon, 3 oz cooked
- Amount
- 26 mg
- %DV
- 6%
Choosing a product
What to look for on the label — and what to be skeptical of.
Look for…
Be skeptical of…
Frequently asked questions
Which form of magnesium is best?⌄
It depends on the goal. Glycinate for general use, sleep, and anxiety (gentle on the stomach). Citrate for constipation. Oxide is cheap but poorly absorbed. Malate is popular for fatigue. L-threonate for cognitive aims, though evidence is limited.
Should I take magnesium at night?⌄
Many people do because of its calming effect on muscles and nerves. Time of day is flexible, but evening dosing is reasonable, especially for sleep support.
How much magnesium causes diarrhea?⌄
It depends on the form and individual sensitivity. Most people tolerate 300 to 400 mg of glycinate or malate. Citrate and oxide cause diarrhea more easily, sometimes at lower doses.
Can magnesium help me sleep?⌄
Possibly. Some trials show modest improvement in sleep quality, especially in older adults or people with low magnesium status. The effect is not dramatic.
Does magnesium help anxiety?⌄
Some trials suggest modest benefit, particularly with magnesium glycinate. Effects are gentler than prescription anti-anxiety medications.
References by claim
Track Magnesium with Pilora
Set up dose reminders, check interactions, and join the community in the Pilora iPhone app.
Coming to App StoreDisclaimer: These statements have not been evaluated by the FDA. This page is educational, not a substitute for personalized medical advice. Evidence grades are AI-assisted assessments — talk to your doctor before starting any new supplement, especially if you’re pregnant, breastfeeding, on medications, or managing a chronic condition.
