NR-003 Ingredient Atlas entry · Mineral

Magnesium

Mg, a mineral

A mineral found in foods such as spinach, nuts and wholemeal bread, sold in many forms, and also given by drip in hospital. This page covers only studies in people that measured thinking, memory, mood, stress, sleep, energy, tiredness or quality of life, where magnesium is studied mostly for sleep, mood and anxiety, often in people having surgery or living with a health condition. Here is every one we could find, sorted from each study's summary.

  • Found in: spinach, nuts and wholemeal bread
  • By mouth, most often 200 to 500 mg a day
  • Usually weeks by mouth, or one drip in hospital
Roasted pumpkin seeds close up
Roasted pumpkin seeds close up. Photo by Daniel Schwen, CC BY 3.0, via Wikimedia Commons
The research map

From every paper to the studies that matter

Our search looked only at magnesium papers on thinking, mood, sleep, energy and quality of life, not at all magnesium research. Of those, a smaller share gives magnesium to people, and a smaller share again gives it on its own, which is what this page is about.

  1. 7,369 papers on magnesium and thinking, mood, sleep or energy.Every record in PubMed, all years
  2. 479 are about people.The rest: 2,347 lab and animal studies, 1,032 reviews, 3,511 on chemistry, farming and more
  3. 111 give magnesium on its own.71 more give it with vitamin B6, zinc or other nutrients in a blend
  4. 70 are randomised against a placebo.Randomised controlled trials , the strongest kind of study

Bar lengths use a square-root scale so the small numbers stay visible.

At a glance

How much research there is

  • 111 studies giving magnesium to people, on thinking, mood, sleep and energy
  • 70 of them randomised against a placebo
  • 10,584 people taking part, where studies say
  • 138 systematic reviews pooling the trials

Studies in people, by year published

Magnesium on its own.

Randomised, placebo-controlled Other designs
What was measured

What the studies looked at

Each study can measure several things. Choose a topic to see its studies in the list below.

Studies in people with a diagnosed condition are counted here and listed with their population. We describe what they measured, not what they might treat. Most studies also report safety; see below.

Doses and extracts

What was tested, and how much

Most doses here are the elemental magnesium a day by mouth, but some study summaries give only the weight of the salt, such as magnesium oxide or citrate, which is several times heavier than the magnesium it carries. Hospital studies of magnesium sulfate by drip, around surgery, in intensive care or in pregnancy, often give a total infusion dose of several grams over hours, so those dots sit far higher and don't compare with a daily tablet. Studies by mouth usually ran for weeks.

Daily amount, one dot per study

Summary read59 studies don't give a daily amount in their summary and aren't shown.

Studies per extract

  • Magnesium sulfate33
  • Magnesium oxide12
  • Magnesium5
  • Other named33
  • Not named28

Named extracts are the maker's brand. "Not named" means the study didn't say.

Every study

All studies in people

Filter the list, then open a study on PubMed. Each row comes from the study's published summary, and many follow people having surgery or living with a health condition.

Study Who took part People Extract and daily dose Length
Khalid 2026RCT, placeboAdults with diabetes and insomnia320Not named–
Khalid 2026RCT, placeboAdults with diabetes and insomnia320Not named9 weeks
Wang 2026RCT, active or other controlAdults having total knee arthroplasty150Magnesium sulfate–
Yu 2026Non-randomised controlledPostpartum women with hypertension140Magnesium sulfate–
Wang 2026RCT, placeboAdults having endoscopic sinus surgery137Magnesium sulfate–
Zhou 2026RCT, placeboAdults having laparoscopic cholecystectomy128Magnesium sulfate–
Kuusipalo 2026RCT, placeboAdults aged 50-85 with leg cramps121Magnesium hydrochloride4 weeks
Dhouibi 2026RCT, active or other controlAdults with myofascial pain syndrome45Not named26 weeks
Pickering 2026RCT, active or other controlPostmenopausal women with osteoporosis on zoledronate44Not named, 200 mg13 weeks
Siddique 2026Non-randomised controlledAdults with depression on antidepressants44Magnesium glycinate, 112 mg4 weeks
Walyddaini 2026RCT, active or other controlAdults with depression taking fluoxetine40Not named, 250 mg6 weeks
Noor 2026RCT, active or other controlAdults with depression taking fluoxetine40Not named, 350 mg6 weeks
Pariona-Vargas 2025RCT, placeboAdults with acute cerebral ischemia1,235Magnesium sulfate–
Schuster 2025RCT, placeboAdults with poor sleep155Magnesium bisglycinate, 250 mg4 weeks
Lopresti 2025RCT, placeboAdults aged 18-45 with dissatisfied sleep100Magnesium L-threonate (Magtein), 2,000 mg6 weeks
Gracia 2025RCT, placeboAdults having neurosurgery50Magnesium sulfate, 24,000 mg–
Kang 2025RCT, placeboAdults with hypertension, diabetes or hyperlipidaemia30Magnesium-enriched deep ocean water, 80 mg4 weeks
Wei 2025OtherElite triathletes13Magnesium oxide–
Khalid 2024RCT, placeboAdults with diabetes and insomnia320Not named9 weeks
Abdel Rady 2024RCT, placeboAdults having spine fusion surgery120Magnesium sulfate–
Fathy 2024RCT, active or other controlAdults having lumbar fixation surgery80Magnesium sulfate–
Hausenblas 2024RCT, placeboAdults aged 35-55 with sleep problems80Magnesium L-threonate, 1,000 mg3 weeks
Rostami 2024RCT, placeboHospitalised adults with COVID-1964Not named, 300 mg–
Rodríguez-Morán 2024RCT, active or other controlAdults with long-COVID depression and low magnesium60Magnesium chloride, 1,300 mg17 weeks
Gorantla 2024Single-arm or open-labelAdults with restless legs syndrome12Magnesium citrate, 200 mg8 weeks
Ni 2023RCT, placeboWomen after breast cancer surgery109Magnesium L-threonate12 weeks
Gholizadeh-Moghaddam 2023RCT, placeboWomen with polycystic ovary syndrome64Magnesium oxide, 250 mg10 weeks
Abiri 2022RCT, placeboObese women with depressive symptoms108Not named, 250 mg8 weeks
Jadidi 2022RCT, placeboAdults with restless legs syndrome75Magnesium oxide, 250 mg9 weeks
Jaripur 2022RCT, placeboWomen with polycystic ovary syndrome64Not named10 weeks
Saba 2022Non-randomised controlledPatients after open-heart surgery60Magnesium oxide, 500 mg1 weeks
Nazarinasab 2022RCT, placeboAdults with depression taking SSRIs60Not named6 weeks
Macian 2022RCT, placeboAdults with fibromyalgia–Magnesium chloride (Chronomag), 100 mg4 weeks
Lu 2021RCT, placeboAdults having laparoscopic cholecystectomy114Magnesium sulphate–
Skalski 2021Non-randomised controlledHospitalised patients with major depression91Magnesium ions8 weeks
Alizadeh 2021RCT, placeboWomen with polycystic ovary syndrome84Not named8 weeks
Kim 2021RCT, placeboPatients having robotic prostatectomy52Magnesium sulfate–
Schutten 2021RCT, placeboOverweight middle-aged adults49Not named, 350 mg24 weeks
Afsharfar 2021RCT, placeboAdults with depression46Magnesium oxide, 500 mg8 weeks
Surman 2021Single-arm or open-labelAdults with ADHD15Magnesium L-threonate (LTAMS; MMFS302/MMFS202)12 weeks
Miller 2021ObservationalPostpartum women with hypertensive disorder–Magnesium sulfate6 weeks
Barna 2021RCT, placeboAdults with nocturnal leg cramps–Magnesium oxide monohydrate, 226 mg9 weeks
Zhu 2020RCT, placeboAdults in colorectal cancer prevention trial250Not named–
Hassan 2020RCT, active or other controlAdults having laparoscopic cholecystectomy80Magnesium sulphate–
Pickering 2020Crossover, placeboAdults with refractory neuropathic pain20Magnesium sulfate, 3,000 mg–
Kayalha 2019RCT, placeboAdults having lower limb fracture surgery60Magnesium sulfate–
Huenges Wajer 2018RCT, placeboPatients after aneurysmal subarachnoid haemorrhage209Magnesium sulfate, 1,555 mg–
Ryszewska-Pokraśniewicz 2018RCT, placeboAdults with recurrent depressive disorder on fluoxetine37Magnesium aspartate, 120 mg8 weeks
Cohen-Hagai 2018RCT, placeboOutpatients with compensated liver cirrhosis–Magnesium oxide–
Tarleton 2017RCT, active or other controlAdults with mild-to-moderate depression126Magnesium chloride, 248 mg6 weeks
Fard 2017RCT, placeboPostpartum women99Magnesium sulfate, 320 mg8 weeks
Roguin Maor 2017RCT, placeboAdults with nocturnal leg cramps94Magnesium oxide4 weeks
Rajizadeh 2017RCT, placeboDepressed adults with low magnesium60Magnesium oxide, 500 mg8 weeks
Kovacevic 2017Single-arm or open-labelChildren with migraine34Not named26 weeks
Mehdi 2017Crossover, placeboAdults with treatment-resistant depression12Magnesium sulfate, 4,000 mg1 weeks
Wienecke 2016RCT, active or other controlAdults doing strength-endurance training100Not named, 400 mg13 weeks
Liu 2016RCT, placeboOlder adults with cognitive impairment44MMFS-01 (magnesium L-threonate)12 weeks
Dmitrašinović 2016RCT, active or other controlAmateur rugby players23Not named, 500 mg4 weeks
Engen 2015Single-arm or open-labelWomen with fibromyalgia40Magnesium chloride (transdermal)On the skin4 weeks
Doyle 2014RCT, placeboChildren after antenatal magnesium sulfate exposure1,062Magnesium sulfate–
Jabbour 2014RCT, placeboAdolescents having scoliosis surgery50Magnesium0 weeks
Chollat 2014RCT, placeboSchool-age children exposed before preterm birth–Magnesium sulfate–
Mathew 2013RCT, placeboAdults having cardiac surgery389Magnesium–
Bagis 2013Non-randomised controlledPremenopausal women with fibromyalgia60Magnesium citrate, 300 mg8 weeks
Amoozgar 2012Single-arm or open-labelChildren with mitral valve prolapse and low magnesium230Magnesium chloride5 weeks
Andersen 2012RCT, placeboAdults after open colonic resection49Magnesium oxide, 2,000 mg–
Abbasi 2012RCT, placeboElderly adults with primary insomnia46Not named, 500 mg8 weeks
Park 2011Single-arm or open-labelBreast cancer patients with hot flashes29Magnesium oxide, 400 mg4 weeks
Saadawy 2010RCT, placeboAdults having laparoscopic cholecystectomy120Magnesium sulfate0 weeks
Nielsen 2010RCT, placeboAdults over 51 with poor sleep quality100Magnesium citrate, 320 mg7 weeks
Jaoua 2010RCT, placeboAdults having major digestive surgery42Magnesium sulfate0 weeks
Jee 2009RCT, placeboAdults having laparoscopic cholecystectomy32Magnesium sulfate–
Marret 2008RCT, placeboWomen at risk of very preterm birth and infants688Magnesium sulfate, 4,000 mg–
Barragán-Rodríguez 2008RCT, active or other controlElderly type 2 diabetics with depression23Magnesium chloride, 450 mg12 weeks
Cinar 2008Non-randomised controlledYoung taekwondo athletes and sedentary subjects–Magnesium sulfate4 weeks
Bhudia 2006RCT, placeboAdults having cardiac surgery350Magnesium sulfate–
Khine 2006Crossover, placeboWomen with and without premenstrual dysphoric disorder31Magnesium–
Naderi-Heiden 2005RCT, placeboInpatients in opiate detoxification41Magnesium sulfate–
Grazzi 2005Single-arm or open-labelChildren with tension-type headache9Magnesium pidolate, 4,500 mg9 weeks
Bhatia 2004RCT, placeboAdults having open cholecystectomy50Magnesium sulfate0 weeks
Hornyak 2004Single-arm or open-labelAlcohol-dependent patients in withdrawal14Magnesium, 729 mg4 weeks
Levaux 2003RCT, placeboAdults having lumbar surgery24Magnesium sulfate–
Walker 2002Crossover, placeboWomen with premenstrual symptoms85Not named, 350 mg8 weeks
Walker 2002RCT, placeboAdults with mild hypertension36Not named, 600 mg10 weeks
Kara 2002RCT, placeboWomen having hysterectomy24Magnesium sulfate–
Held 2002Crossover, placeboHealthy elderly adults12Magnesium, 729 mg3 weeks
Ezhov 2002Single-arm or open-labelElderly patients with stable angina–Magnerot, magnesium sulphate–
Manuel y Keenoy 2000Single-arm or open-labelAdults with unexplained chronic fatigue93Not named–
De Souza 2000Crossover, placeboWomen with mild premenstrual symptoms44Magnesium oxide, 200 mg4 weeks
Ghia 2000Non-randomised controlledWomen in preterm labour on and off Mg sulfate15Magnesium sulfate–
Frusso 1999Crossover, placeboAdults with nocturnal leg cramps45Magnesium citrate, 1,800 mg4 weeks
Hantouche 1998RCT, placeboChronic benzodiazepine users144Magnesium aspartate12 weeks
Starobrat-Hermelin 1998Non-randomised controlledChildren with ADHD and magnesium deficiency116Not named26 weeks
Walker 1998Crossover, placeboWomen with premenstrual symptoms38Magnesium oxide, 200 mg8 weeks
Zinnante 1998Non-randomised controlledWomen in preterm labour vs controls31Magnesium sulfate–
Golf 1998RCT, placeboCompetitive triathletes23Magnesium orotate, 413 mg4 weeks
Tanabe 1998RCT, active or other controlHealthy young volunteers under sleep deprivation16Not named, 100 mg4 weeks
Murck 1998Crossover, placeboHealthy men10Magnesium sulfate, 8,000 mg–
Hornyak 1998Single-arm or open-labelAdults with periodic leg movements or restless legs10Not named, 301 mg5 weeks
Tanaka 1998Single-arm or open-labelPatients with neuropathic pain8Magnesium sulfate–
Starobrat-Hermelin 1997Non-randomised controlledChildren with ADHD and magnesium deficiency75Not named, 200 mg26 weeks
Lichodziejewska 1997Crossover, placeboPatients with symptomatic mitral valve prolapse and low magnesium–Not named5 weeks
Tramer 1996RCT, placeboWomen having abdominal hysterectomy42Magnesium sulfate, 13,000 mg–
Bocková 1992Crossover, placeboWomen with anxious depressive neurosis on anxiolytics20Magnesium lactate1 weeks
Durlach 1992RCT, placeboPatients with chronic fatigue syndrome–Not named–
Cox 1991RCT, placeboPatients with chronic fatigue syndrome32Magnesium sulfate6 weeks
Facchinetti 1991RCT, placeboWomen with premenstrual syndrome32Magnesium pyrrolidone carboxylate, 1,080 mg8 weeks
Chouinard 1990Single-arm or open-labelRapid cycling bipolar patients9Magnesium aspartate hydrochloride, 486 mg32 weeks
Simões Fernandes 1985Non-randomised controlledPatients with mitral valve prolapse and latent tetany35Magnesium lactate16 weeks
Golf 1984Single-arm or open-labelHealthy men during ergometer exercise9Magnesium aspartate2 weeks
Dralle 1980OtherFull-term newborn infants14Not named–
Safety

What's known about safety

  • In trials

    Reviews of trials on sleep and anxiety reported few side effects from magnesium by mouth. More than 400 mg a day from supplements can cause diarrhoea. Drip doses on this page were given in hospital, where blood levels can be watched.

    Rawji 2024, review of 15 trials; Mah 2021, review of 3 trials in older adults; NHS vitamins and minerals guidance

  • In the UK

    Common forms such as citrate, oxide, chloride, sulphate, lactate and bisglycinate are on the UK list of minerals allowed in food supplements. The NHS says 400 mg or less a day from supplements is unlikely to cause harm, and EFSA set an upper limit of 250 mg a day of added magnesium for adults, pregnancy and children from 4, not counting magnesium in food.

    Directive 2002/46/EC Annex II as retained in UK law (legislation.gov.uk); NHS vitamins and minerals guidance; EFSA overview of upper intake levels, 2025 (SCF 2001), Oct 2026

  • Check first

    Magnesium can build up in the blood when the kidneys don't clear it well, and case reports describe dangerous levels in older people with kidney problems taking magnesium laxatives. It can also affect some medicines, such as alendronic acid for bones, so the NHS asks you to tell your doctor about magnesium supplements. Speak to a pharmacist or doctor first if you have kidney problems or take regular medicines, or to your midwife or doctor if you're pregnant.

    Yamaguchi 2018, case series of magnesium oxide in older adults; NHS alendronic acid medicines guidance, Oct 2026

How we built this

Where these studies come from

We list every published study in people that gave magnesium and measured thinking, memory, mood, stress, sleep, energy, tiredness or quality of life. Any form counts, by mouth or by drip, including hospital studies in surgery, intensive care and pregnancy. Magnesium counts as on its own when it was the only difference between the groups, even if added to a medicine or usual care. Magnesium with vitamin B6, other minerals or plant actives counts as a blend. Studies that only measured magnesium levels in blood or diet, the magnesium load test used for diagnosis, and medicines given as a magnesium salt, such as magnesium pemoline, are left out. This first version is built from each study's summary; full-paper checks come next.

  1. We search

    PubMed, the world's main library of medical research, for every paper on L-theanine.

  2. We keep studies in people

    Lab and animal work is counted but left out of the list, because it doesn't tell you what happens in people.

  3. We note the basics

    Who took part, how many, how much and for how long, from each study's published summary. A second check corrects what the first read gets wrong.

  4. We read them in full

    Results appear once we've read the whole paper and checked every number. The date at the top shows when this entry was last updated.

Download the study list

Every study in people as a spreadsheet, 111 rows, free to reuse with a link back.

Download the CSV

Versions

Each update to the data gets a new version number, so you can tell what changed and when.

See every version

1.0 · 28 Oct 2026. First release. Every published study giving magnesium to people that measured thinking, memory, mood, stress, sleep, energy or quality of life is listed from its summary. None is read in full yet.