Mental Clarity Guide

Magnesium and memory: what the research shows about brain health, focus and magnesium L-threonate

Magnesium is an essential mineral, and a newer form called magnesium L-threonate is marketed for the brain. The research is thinner than the labels suggest.

White capsules scattered on a white surface

The short answer

Evidence is limited. A 2024 review found too few randomized trials to judge magnesium supplements for cognition, and cohort studies suggested that both low and high blood magnesium went with more dementia risk. Two short trials of one branded form, magnesium L-threonate, reported better scores, but the maker funded both.

Magnesium shows up in sleep, stress and "brain health" supplements, and a form called magnesium L-threonate is promoted for memory. I looked at what the research actually measured, and what the people who reviewed it concluded.

I am not a doctor or a pharmacist, and this page does not recommend any product. It covers what magnesium does in the body, what the best review found, what two trials of magnesium L-threonate showed, who should be careful and when to talk to a doctor. For the wider picture, see memory and focus supplements: what the evidence says.

What does magnesium do for the body and brain?

MedlinePlus says magnesium is needed for more than 300 biochemical reactions in the body. It helps maintain normal nerve and muscle function, keeps the heartbeat steady, supports the immune system and helps keep bones strong.

Most dietary magnesium comes from dark green leafy vegetables, and other good sources include nuts, seeds, beans and peas, whole grains, soy products and milk. The same page says it is rare to be truly lacking in magnesium, but some people are at higher risk: people who abuse alcohol, older adults, people with type 2 diabetes and people with gastrointestinal disease or surgery that reduces absorption.

White capsules scattered on a white surface
Needing magnesium is not the same as needing a supplement: most people can get it from food.

What did the best review find?

The most complete summary I found is a 2024 systematic review and meta-analysis by Chen and colleagues. It searched four databases up to May 2024 and included 3 randomized trials and 12 cohort studies in adults.

  • The authors said the evidence from the limited number of randomized trials was insufficient to draw conclusions on the effects of magnesium supplements.
  • Cohort studies showed inconsistent relationships between dietary magnesium and cognitive disorders, with high heterogeneity across populations.
  • For magnesium measured in blood, the studies showed a consistent U-shaped link with dementia and cognitive impairment. Compared with 0.85 mmol/L, a level below 0.75 had a pooled hazard ratio of 1.43 (95% CI 1.05 to 1.93), and a level above 0.95 had 1.30 (95% CI 1.03 to 1.64).

These are observational findings. They show an association, not that a capsule changes your risk, and they point to a "right amount" more than to "more is better." A blood test is how a doctor checks that.

Does magnesium L-threonate improve memory?

Two trials tested magnesium L-threonate, sold as Magtein, and both reported benefits. Neither one settles the question.

  • Zhang and colleagues, 2022: 109 healthy Chinese adults aged 18 to 65 took a formula called Magtein PS (2 g a day) or a starch placebo for 30 days. The formula group scored better on all five subtests of the Clinical Memory Test and on the overall memory quotient, and older participants improved more. The formula also contained phosphatidylserine and vitamins C and D, so the result cannot be credited to magnesium alone.
  • Lopresti and Smith, 2026: 100 adults aged 18 to 45 with self-reported dissatisfied sleep took 2 g a day of Magtein or placebo for 6 weeks. The Magtein group improved more on the NIH Toolbox total cognition score (p = 0.043), with larger effects on working and episodic memory, and on reaction time (p = 0.031). There was no difference on the Raven reasoning test (p = 0.953). An erratum was later published for this paper, and I did not read it, so check the journal page for corrections. The Lopresti trial was funded by Threotech Inc., which supplied the product and took part in the study design, and the Zhang trial was funded by Wu-xi Magtein Bioscience, so neither is independent of the maker.

Both were short, in young and middle-aged adults, and used specific branded products. They are early signals, not proof that magnesium sharpens a healthy brain.

What about magnesium for sleep and focus?

The 6-week trial measured sleep too. Self-reported sleep-related impairment improved more with Magtein (p = 0.043), but there was no group difference in sleep disturbances (p = 0.316) or restorative sleep (p = 0.439), and a sleep-tracking ring showed no group differences in sleep outcomes.

So the sleep result is mixed, and the effect on focus was not tested directly beyond the cognitive tests above. If focus is your problem, see sleep, caffeine and multitasking for what the research says about those.

Small glass vials filled with pills
Studies used specific branded products, so their results may not carry over to the capsule on your shelf.

What doses were used in the studies?

  • Zhang, 2022: 2 g a day of the Magtein PS formula for 30 days.
  • Lopresti, 2026: 2 g a day of Magtein for 6 weeks.

Those are the weights of the product, not the amount of elemental magnesium, and I could not find the elemental dose in the abstracts. MedlinePlus also notes that taking magnesium supplements is not currently advised as a way to prevent conditions such as high blood pressure, heart disease and diabetes. Doses for general magnesium intake come from the Dietary Reference Intakes, which vary by age and sex (MedlinePlus). There is no established dose of magnesium for memory.

Who should not take magnesium supplements without medical advice?

  • People with kidney problems. MedlinePlus says side effects from high magnesium intake are not common, except in people with significantly reduced kidney function.
  • People who already take magnesium-containing laxatives. The same page names laxatives with magnesium as a common route to excess.
  • People who take regular medicines. NCCIH says supplements can interact with medications, so ask a pharmacist.
  • People who are pregnant, breastfeeding or trying to conceive. The trials above enrolled other adults, and NCCIH notes many supplements have not been tested in these groups.
  • People with surgery scheduled. Tell your providers about every supplement as early as you can.

What are the possible side effects?

The MedlinePlus page says magnesium excess most often occurs when a person takes in too much in supplement form or takes laxatives that contain magnesium, and that the body generally removes extra amounts. The 6-week trial reported Magtein was well tolerated with no significant adverse reactions. The abstract of the 30-day trial does not report on safety, and both trials were short.

NCCIH warns that what is on the label may not match what is in the product. If you notice anything unusual after starting one, stop and contact your provider.

What helps memory more reliably than a supplement?

Food first: leafy greens, nuts and beans are part of the MIND diet. Beyond that, see sleep, exercise and spaced review. To compare other supplements, see omega-3, creatine and bacopa.

When should you talk to a doctor about magnesium and memory?

Talk to your doctor if:
  • your memory problems are new, getting worse, or noticed by people around you, since that deserves a medical check before any supplement;
  • you have kidney disease, or you take prescription medicines or magnesium-containing laxatives;
  • you want to know whether your blood magnesium is low or high;
  • you are pregnant, breastfeeding or trying to become pregnant;
  • you have surgery or a dental procedure coming up;
  • you notice anything unusual after starting it.

Frequently asked questions

Does magnesium improve memory?

Evidence is limited. A 2024 review found too few randomized trials to judge supplements, and two short trials of magnesium L-threonate reported better scores, with branded products and small samples.

Is magnesium L-threonate better for the brain?

It is promoted that way, and two short trials of Magtein reported better cognitive scores. Both were funded by the maker, and I found no review comparing it with other forms.

How much magnesium is too much?

MedlinePlus says side effects are uncommon except with significantly reduced kidney function, and excess most often comes from supplements or magnesium laxatives. Ask a doctor or pharmacist about your own limit.

Can low magnesium cause brain fog?

MedlinePlus lists fatigue and weakness among early symptoms of deficiency, but true deficiency is rare. Cohort studies link both low and high blood magnesium with cognitive problems, so ask a doctor about a blood test.

What foods have magnesium?

MedlinePlus lists dark green leafy vegetables, bananas, dried apricots, avocados, nuts, seeds, beans, peas, soy products, whole grains and milk as good sources.

Can I take magnesium with my medicines?

Not always. NCCIH says supplements can interact with medications, and magnesium laxatives add to your intake. Ask your pharmacist before you start.

Sources

  1. Chen F, Wang J, Cheng Y, et al. Magnesium and cognitive health in adults: a systematic review and meta-analysis. Advances in Nutrition, 2024. pubmed.ncbi.nlm.nih.gov/39009081
  2. Zhang C, Hu Q, Li S, et al. A Magtein (magnesium L-threonate)-based formula improves brain cognitive functions in healthy Chinese adults. Nutrients, 2022. pubmed.ncbi.nlm.nih.gov/36558392
  3. Lopresti AL, Smith SJ. The effects of magnesium L-threonate (Magtein) on cognitive performance and sleep quality in adults: a randomised, double-blind, placebo-controlled trial. Frontiers in Nutrition, 2026. pubmed.ncbi.nlm.nih.gov/41601871
  4. MedlinePlus, National Library of Medicine. Magnesium in diet. Reviewed January 2025. medlineplus.gov/ency/article/002423.htm
  5. National Center for Complementary and Integrative Health (NCCIH), NIH. Using dietary supplements wisely. www.nccih.nih.gov/health/using-dietary-supplements-wisely
  6. US Food and Drug Administration (FDA). Dietary supplements. www.fda.gov/food/dietary-supplements
Elowen Veycroft, author of Mental Clarity Guide

About the author: Elowen Veycroft

Elowen Veycroft is the founder of Mental Clarity Guide. Diagnosed with ADHD about three years ago after struggling to focus and retain what she studied, she now researches memory, focus, and learning, and shares what the science says in plain language, with every source linked.

I am not a doctor or a health professional. This guide is general education, not medical advice. Read my story or email me.

Medical note: this article is for general information and does not replace advice from your doctor. If you have concerns about your memory, attention or sleep, talk to a qualified health professional. See our medical disclaimer. This page contains no affiliate links.