Magnesium is involved in the body’s stress-response systems, which goes some way to explaining why it’s become such a popular supplement for anxiety. The research is suggestive rather than settled, and the gap between those two words is where most of the marketing lives.
What the trials found
A 2024 systematic review by Rawji and colleagues examined 15 studies covering anxiety and sleep. Of the seven that measured anxiety, five reported improvements in self-reported symptoms.
The detail worth pausing on is which two didn’t. Both negative studies involved populations where hormones were a likely driver of symptoms: premenstrual and postpartum women. That’s a hint, not a finding, but it suggests magnesium may do less when something else is doing the driving.
An earlier systematic review by Boyle and colleagues reached a similar overall verdict: the existing evidence suggests a benefit, and the quality of that evidence is poor. Small samples, varied designs, varied doses, and mostly self-reported outcomes.
The reviewers’ summary is the fairest one available: magnesium is likely useful for mild anxiety, particularly in people whose magnesium was low to begin with. Both qualifiers are doing real work in that sentence.
Why it might work
Magnesium acts as a natural blocker at NMDA receptors, which are part of how nerve cells fire. Blocking them a little reduces neuronal excitability. It also plays a role in regulating the HPA axis, the system that governs cortisol and the stress response.
That’s a plausible mechanism, and plausible mechanisms are where a lot of supplements start and finish. It explains why magnesium keeps being studied for conditions involving an overexcited nervous system, but a mechanism is not a result.
How big the effect is
If it works for you, expect to feel slightly more settled rather than transformed. The effect described in the trials is gentle, and the people most likely to notice are those correcting a genuine shortfall.
If you take it for a month and feel nothing, that’s a common outcome and not a sign you’re doing it wrong.
Which form to choose
Glycinate is the sensible choice: well absorbed, gentle on digestion, and the guide covers what the attached glycine may add. Taking something that upsets your stomach is a poor way to feel calmer, which argues against oxide and larger doses of citrate.
Evening is the usual time, partly because the same qualities that suit anxiety also suit sleep.
Where magnesium isn’t the answer
This matters more than anything else on the page. Magnesium is not a treatment for an anxiety disorder. If anxiety is interfering with your work, relationships or daily functioning, or if you’re having panic attacks, the treatments with genuinely strong evidence are psychological therapy and, where appropriate, medication.
A supplement that might take a small edge off mild everyday stress is a different thing entirely from treatment for a condition. Reaching for the first when you need the second costs you time.
If you’re struggling, please talk to a doctor or a mental health professional.
The usual cautions
The same three groups, on every page, because they matter every time. If your kidneys don’t work well, magnesium supplements can be risky, because the kidneys are what clear it: talk to a doctor first. If you take regular medication, magnesium interacts with several drugs, including some antibiotics, and a pharmacist can check yours in about a minute. If you’re pregnant or breastfeeding, ask your midwife or doctor before starting anything.
Common questions
How long until I notice anything? The trials ran over weeks rather than days. Give it a month before deciding.
Does it help panic attacks? There’s no good evidence for that, and panic attacks are worth proper treatment.
Can I take it with antidepressants or anxiety medication? Ask your pharmacist or prescriber. Magnesium interacts with a number of medicines, and it’s a quick question with a definite answer.
Sources: Rawji et al., Examining the Effects of Supplemental Magnesium on Self-Reported Anxiety and Sleep Quality: A Systematic Review, Cureus, 2024 (https://pmc.ncbi.nlm.nih.gov/articles/PMC11136869/); Boyle, Lawton & Dye, The Effects of Magnesium Supplementation on Subjective Anxiety and Stress: A Systematic Review, Nutrients, 2017 (https://pmc.ncbi.nlm.nih.gov/articles/PMC5452159/); NIH Office of Dietary Supplements: Magnesium Fact Sheet (https://ods.od.nih.gov/factsheets/Magnesium-HealthProfessional/)
This article is general information, not medical advice. This topic can be sensitive; if you’re struggling, please reach out to a professional or someone you trust.