Skip to content
artifact

Magnesium

Magnesium explained: what it does, who needs it, what works

A plain-English guide to the mineral behind hundreds of enzyme reactions: what it does, who may fall short, and which supplement claims hold up.

By Artifact Editors, Editorial team

Published · 7 min read

Illustrated clockwork of colorful enzyme gears driven by a small brass key in the center, with one stalled gear on the edge
Illustration: magnesium, the key in hundreds of gears.
In this article
  1. What magnesium is and what it does
  2. How much you need, and where it comes from
  3. Who is most likely to fall short
  4. What the evidence supports, and what it doesn't
  5. Forms of magnesium: what the label can and can't tell you
  6. Safety, kidneys and interactions
  7. Who magnesium is for, and a sensible way to start
  8. FAQ

What magnesium is and what it does

Magnesium is a mineral the body needs in meaningful amounts, not just traces. It works as a cofactor, a helper that enzymes need to function, in several hundred reactions. Among them are the ones that turn food into ATP, the molecule cells use as fuel.

It also takes part in muscle contraction and relaxation, in nerve signaling, and in the body's electrolyte balance alongside sodium, potassium and calcium. And it is needed for the enzymes that activate vitamin D, so a shortfall can ripple into other systems (PMID 29480918).

European regulators have authorized four nutrient-function claims for magnesium: normal muscle function, normal energy-yielding metabolism (including less tiredness and fatigue), normal nervous system and psychological function, and electrolyte balance. These describe a nutrient's ordinary job when intake is adequate. They are not promises that you will feel something after a capsule.

That distinction explains why magnesium is neither a stimulant nor a sedative. Closing a shortfall may help normal processes run as they should. Taking more than you need does not make them run better than normal.

How much you need, and where it comes from

The Recommended Dietary Allowance for adults is 400–420 mg a day for men and 310–320 mg a day for women, depending on age. Food is the main source. Magnesium sits in the chlorophyll of green vegetables and in the seed coats of nuts and seeds, which is also why refining grains strips so much of it out.

  • Pumpkin seeds, raw: about 140 mg per ounce (28 g)
  • Spinach, cooked: about 157 mg per cup
  • Cashews: about 82 mg per ounce
  • Almonds: about 76 mg per ounce
  • Peanut butter: about 62 mg per 2 tablespoons
  • Banana: about 32 mg for one medium fruit

These figures come from USDA FoodData Central. An ounce or two of seeds plus a serving of cooked greens gets most adults a long way toward the target before anything else is eaten. Diets built on refined grains and low-magnesium proteins are the ones that tend to run short.

Supplements are a separate category with a separate ceiling. Adults are generally advised to keep magnesium from supplements under 350 mg a day, a limit that does not count magnesium from food and was set where loose stools become more likely.

Who is most likely to fall short

A clinical review put the prevalence of low blood magnesium in the general population at roughly 2.5–15%. The main causes were gastrointestinal or kidney losses, low intake and long-term use of acid-reducing proton pump inhibitors (PMID 24402002). Some diuretics also increase urinary magnesium loss (PMID 10653441).

The tricky part is that low magnesium is usually silent. The same review noted that most people with it have no symptoms. Clinical references define it as a blood level below 1.46 mg/dL, with symptoms ranging from mild tremor to cardiac complications only as levels fall further (PMID 29763179). So tiredness or a twitchy eyelid is not a reliable sign of deficiency.

Testing has limits too. A widely cited review states that a serum magnesium result does not necessarily reflect how much is stored in the body (PMID 26069819). One 2016 perspective goes further, arguing the standard reference range can miss real shortfalls, though that is an advocacy position, not settled practice (PMID 28140318).

When low magnesium is symptomatic, clinicians generally give it intravenously and reserve oral magnesium for people without symptoms (PMID 21569071). That is a judgment made with blood tests, not a reason to self-treat on a hunch.

What the evidence supports, and what it doesn't

Magnesium has been tested against a long list of conditions. The results are uneven, and the pattern is consistent: small trials, mixed designs, and benefits that tend to appear in people who already have a condition or low magnesium status.

AreaWhat the research showsHow to read it
Blood pressureA meta-analysis of 38 trials (2,709 people) found lower blood pressure overall, with larger effects in people with hypertension or low magnesium; the effect in people with normal pressure was not statistically significant (PMID 41000008).Plausible, mainly for those who start high or low
Migraine prevention600 mg/day cut attack frequency versus placebo in 81 people over 12 weeks (PMID 8792038). A meta-analysis of three trials found no significant drop in severity (PMID 30764890), while a 2025 meta-analysis found fewer attacks (PMID 39404918).Promising but mixed; discuss with a doctor
DepressionSeven small placebo-controlled trials (325 people) showed a large reduction, though the authors wanted larger trials (PMID 38213402). An earlier review found much weaker results in placebo-controlled studies (PMID 29897029).Uncertain
AnxietyA review of 18 studies found mixed results in already-vulnerable people and rated the evidence poor (PMID 28445426).Weak
Sleep500 mg/day improved sleep onset and efficiency in 46 older adults with insomnia (PMID 23853635). A 2026 review of 12 trials rated certainty low to very low and did not support routine use for insomnia (PMID 42661485).Weak
Long-term asthma controlA 300-person trial of 450 mg/day for 16 weeks found no benefit (PMID 14519140). Hospital IV and nebulized magnesium for severe attacks is a different question (PMID 17218820).Not supported orally
Cholesterol, inflammation, body weightMeta-analyses found no meaningful effect on lipids (PMID 28180945), on CRP, IL-6 or TNF-α (PMID 34143369), or on weight and BMI (PMID 32718360).Not supported
Exercise performanceA review of 12 human trials found most evidence favored no effect on strength or aerobic or anaerobic performance (PMID 10959930).Not supported

Several other claims fare no better. A 2013 review found only six small, non-randomized-or-open studies of magnesium for ADHD and did not recommend it as a treatment (PMID 23808779). Magnesium oxide at 800 or 1,200 mg a day did not reduce hot flashes in 289 women (PMID 25423327).

Where magnesium clearly does something is the gut. Magnesium oxide at 1.5 g a day improved bowel movement frequency in adults with chronic constipation, performing about like the laxative senna (PMID 32969946). That is the same laxative effect that sets the supplement upper limit.

Forms of magnesium: what the label can and can't tell you

Supplements bind magnesium to something else: oxide, citrate, glycinate, malate, L-threonate and others. The marketing implies big differences in absorption. The research is less confident. A 2017 review of absorption studies concluded that the type of salt matters less than often claimed, and that evidence for one form being reliably better absorbed is inconsistent (PMID 29123461).

Individual comparisons can be surprising. In patients who had part of the small intestine removed, magnesium glycinate and oxide were absorbed about equally, at 23.5% versus 22.8% (PMID 7815675). A 2024 healthy-adult comparison saw plasma magnesium rise after citrate and oxide but not after bisglycinate (PMID 39770988). In a 10-day trial in young women, effervescent carbonate lowered ionized magnesium while oxide, often assumed to be poor, raised it (PMID 35041150).

Premium forms rest on thinner evidence than their price suggests. The case for magnesium L-threonate began with a rat study of brain magnesium and memory (PMID 20152124). The human trials are industry-funded, and a 2026 trial found most sleep measures unchanged, including every objective tracker measure (PMID 41601871).

Skin is not a shortcut either. A 2017 review found no scientific support for meaningful absorption of magnesium through the skin (PMID 28788060).

What does differ reliably is the percentage of magnesium by weight. Glycinate is about 11–14% elemental magnesium, citrate roughly 16%, oxide around 60%. The number that matters is the elemental figure in the Supplement Facts panel, not the compound weight on the front; our explainer on elemental magnesium walks through the arithmetic. For a form-by-form breakdown, see magnesium forms compared.

Safety, kidneys and interactions

For healthy adults, the usual side effect is loose stools. A 2023 review argued the 350 mg/day supplemental limit may be conservative, noting that most studies at 128–1,200 mg a day showed no significant increase in diarrhea (PMID 37487817). The label-level guidance has not changed, and staying under it is the sensible default.

Kidney function is the real dividing line. Dangerous high magnesium is rare and occurs almost only when kidney function is already substantially reduced and a lot of magnesium is coming from supplements, laxatives or antacids (PMID 30220246). Reviews of chronic kidney disease describe risk at both low and high levels and call for careful monitoring of supplements in advanced disease (PMID 39256329). Observational data link higher blood magnesium in this group to more cardiovascular events (PMID 33309408).

Timing matters for some medications. Magnesium can bind to tetracycline and fluoroquinolone antibiotics in the gut and reduce their absorption, and bisphosphonates are thought to behave the same way (PMID 21942976). Taken together with levothyroxine, magnesium reduced absorption of the thyroid drug in a small trial (PMID 41221788). In both cases the usual advice is to separate doses by several hours.

  • Diuretics can change magnesium balance in either direction, depending on the type, so check with a pharmacist (PMID 10653441).
  • Very high zinc intake (142 mg/day in a feeding study) reduced magnesium absorption, a dose far above typical supplements (PMID 7836627).
  • Caffeine at several cups' worth increased urinary magnesium loss for about six hours, and the body only partly made it up overnight (PMID 7836625).

Who magnesium is for, and a sensible way to start

For most people, the first move is food: seeds, nuts, legumes and leafy greens. A supplement is a reasonable way to close a gap if your diet is thin on those foods, or if a medication such as a long-term acid reducer or diuretic is working against your levels. It is not a fix for a condition, and the established claims are the honest ceiling.

If you do start, choose a product that prints the elemental magnesium amount, keep the total from supplements under 350 mg a day, and separate it from antibiotics or thyroid medication. Some people tolerate magnesium better with a meal, which is a matter of comfort, not absorption. Give it several weeks before judging, and change one thing at a time so you can tell what is doing what.

Expect a quiet nutrient, not a dramatic one. If the reason you are considering it is persistent fatigue, poor sleep, frequent migraine or high blood pressure, those deserve a conversation with a clinician first. For more on specific forms and uses, see our magnesium topic page.

Frequently asked questions

Can you absorb magnesium through the skin?

There is no good evidence that you can in meaningful amounts. A 2017 review found no scientific support for substantial absorption through skin, so sprays, flakes and bath soaks should not be counted toward your daily intake. Oral intake from food or a supplement remains the route with actual data behind it.

Does magnesium raise testosterone?

Not convincingly. A review of testosterone-booster ingredients found zinc-magnesium combinations did not increase testosterone versus placebo. One small four-week trial reported higher testosterone, but it described no placebo group, and a study in older men found only an association between higher blood magnesium and testosterone, not an effect of supplementing.

Does magnesium help with kidney stones?

Higher urinary magnesium is linked to fewer stones in observational data, but randomized-trial evidence is limited. A 2026 review of 15 studies did not support using magnesium supplements in place of standard stone therapies such as potassium citrate. Anyone with stones or kidney disease should discuss supplements with their doctor.

Does magnesium help with period symptoms or hot flashes?

The evidence is thin. A systematic review of 31 trials on nutrition and PMS mood symptoms found consistent benefit for vitamin B6, calcium and zinc but insufficient evidence for magnesium. In a 289-woman trial, magnesium oxide at 800 or 1,200 mg a day did not reduce hot flash frequency or severity versus placebo.

Sources (45)
  1. Uwitonze AM, et al. Role of Magnesium in Vitamin D Activation and Function. J Am Osteopath Assoc. 2018.
  2. Ayuk J, et al. Contemporary view of the clinical relevance of magnesium homeostasis. Ann Clin Biochem. 2014.
  3. Greenberg A. Diuretic complications. Am J Med Sci. 2000.
  4. Gragossian A, et al. Hypomagnesemia. . 2023.
  5. Jahnen-Dechent W, et al. Magnesium basics. Clin Kidney J. 2012.
  6. Costello RB, et al. Perspective: The Case for an Evidence-Based Reference Interval for Serum Magnesium: The Time Has Come. Adv Nutr. 2016.
  7. Ayuk J, et al. How should hypomagnesaemia be investigated and treated?. Clin Endocrinol (Oxf). 2011.
  8. Argeros Z, et al. Magnesium Supplementation and Blood Pressure: A Systematic Review and Meta-Analysis of Randomized Controlled Trials. Hypertension. 2025.
  9. Peikert A, et al. Prophylaxis of migraine with oral magnesium: results from a prospective, multi-center, placebo-controlled and double-blind randomized study. Cephalalgia. 1996.
  10. Okoli GN, et al. Vitamins and Minerals for Migraine Prophylaxis: A Systematic Review and Meta-analysis. Can J Neurol Sci. 2019.
  11. Talandashti MK, et al. Effects of selected dietary supplements on migraine prophylaxis: A systematic review and dose-response meta-analysis of randomized controlled trials. Neurol Sci. 2025.
  12. Moabedi M, et al. Magnesium supplementation beneficially affects depression in adults with depressive disorder: a systematic review and meta-analysis of randomized clinical trials. Front Psychiatry. 2023.
  13. Phelan D, et al. Magnesium and mood disorders: systematic review and meta-analysis. BJPsych Open. 2018.
  14. Boyle NB, et al. The Effects of Magnesium Supplementation on Subjective Anxiety and Stress-A Systematic Review. Nutrients. 2017.
  15. Abbasi B, et al. The effect of magnesium supplementation on primary insomnia in elderly: A double-blind placebo-controlled clinical trial. J Res Med Sci. 2012.
  16. Lopresti AL, et al. Magnesium Supplementation for Sleep in Adults: A Systematic Review of Randomized Controlled Trials. J Diet Suppl. 2026.
  17. Fogarty A, et al. Oral magnesium and vitamin C supplements in asthma: a parallel group randomized placebo-controlled trial. Clin Exp Allergy. 2003.
  18. Beasley R, et al. Magnesium in the treatment of asthma. Curr Opin Allergy Clin Immunol. 2007.
  19. Simental-Mendía LE, et al. Effect of magnesium supplementation on lipid profile: a systematic review and meta-analysis of randomized controlled trials. Eur J Clin Pharmacol. 2017.
  20. Talebi S, et al. The Effect of Oral Magnesium Supplementation on Inflammatory Biomarkers in Adults: A Comprehensive Systematic Review and Dose-response Meta-analysis of Randomized Clinical Trials. Biol Trace Elem Res. 2022.
  21. Rafiee M, et al. The effect of magnesium supplementation on anthropometric indices: a systematic review and dose-response meta-analysis of clinical trials. Br J Nutr. 2021.
  22. Newhouse IJ, et al. The effects of magnesium supplementation on exercise performance. Clin J Sport Med. 2000.
  23. Ghanizadeh A. A systematic review of magnesium therapy for treating attention deficit hyperactivity disorder. Arch Iran Med. 2013.
  24. Park H, et al. North Central Cancer Treatment Group N10C2 (Alliance): a double-blind placebo-controlled study of magnesium supplements to reduce menopausal hot flashes. Menopause. 2015.
  25. Morishita D, et al. Senna Versus Magnesium Oxide for the Treatment of Chronic Constipation: A Randomized, Placebo-Controlled Trial. Am J Gastroenterol. 2021.
  26. Schuchardt JP, et al. Intestinal Absorption and Factors Influencing Bioavailability of Magnesium-An Update. Curr Nutr Food Sci. 2017.
  27. Schuette SA, et al. Bioavailability of magnesium diglycinate vs magnesium oxide in patients with ileal resection. JPEN J Parenter Enteral Nutr. 1994.
  28. Pajuelo D, et al. Comparative Clinical Study on Magnesium Absorption and Side Effects After Oral Intake of Microencapsulated Magnesium (MAGSHAPE(TM) Microcapsules) Versus Other Magnesium Sources. Nutrients. 2024.
  29. Ivanovic ND, et al. Effects of short-term magnesium supplementation on ionized, total magnesium and other relevant electrolytes levels. Biometals. 2022.
  30. Slutsky I, et al. Enhancement of learning and memory by elevating brain magnesium. Neuron. 2010.
  31. Lopresti AL, et al. The effects of magnesium L-threonate (Magtein(®)) on cognitive performance and sleep quality in adults: a randomised, double-blind, placebo-controlled trial. Front Nutr. 2025.
  32. Gröber U, et al. Myth or Reality-Transdermal Magnesium?. Nutrients. 2017.
  33. Costello R, et al. Perspective: Call for Re-evaluation of the Tolerable Upper Intake Level for Magnesium Supplementation in Adults. Adv Nutr. 2023.
  34. Van Laecke S. Hypomagnesemia and hypermagnesemia. Acta Clin Belg. 2019.
  35. Sadeghpour M, et al. Unraveling the Mechanisms of Magnesium Supplementation in Alleviating Chronic Kidney Disease Complications and Progression: Balancing Risks and Benefits. Biol Trace Elem Res. 2025.
  36. Galán Carrillo I, et al. Impact of Serum Magnesium Levels on Kidney and Cardiovascular Prognosis and Mortality in CKD Patients. J Ren Nutr. 2021.
  37. Ogawa R, et al. Clinically significant drug interactions with antacids: an update. Drugs. 2011.
  38. Attinger MC, et al. Single Center, Open-Label, Randomized Crossover Trial on Drug-Drug Interactions of Levothyroxine/Magnesium-Citrate and Levothyroxine/Magnesium-Aspartate in Healthy Subjects-The ThyroMag Trial. Clin Transl Sci. 2025.
  39. Spencer H, et al. Inhibitory effects of zinc on magnesium balance and magnesium absorption in man. J Am Coll Nutr. 1994.
  40. Kynast-Gales SA, et al. Effect of caffeine on circadian excretion of urinary calcium and magnesium. J Am Coll Nutr. 1994.
  41. Morgado A, et al. Do "testosterone boosters" really increase serum total testosterone? A systematic review. Int J Impot Res. 2024.
  42. Cinar V, et al. Effects of magnesium supplementation on testosterone levels of athletes and sedentary subjects at rest and after exhaustion. Biol Trace Elem Res. 2011.
  43. Maggio M, et al. Magnesium and anabolic hormones in older men. Int J Androl. 2011.
  44. Scoglio M, et al. Magnesium and kidney stones: a concise narrative review. Clin Kidney J. 2026.
  45. Robinson J, et al. Effect of nutritional interventions on the psychological symptoms of premenstrual syndrome in women of reproductive age: a systematic review of randomized controlled trials. Nutr Rev. 2025.

Adapted from research by the Electric Tiger editorial team — read the original.

The Artifact Edit

One smart email a week. What’s worth buying, what’s hype, and why.