Can a magnesium supplement help with anxiety? The question comes up often, and the honest answer from the research is that the evidence is thin, mixed, and far from conclusive — which is not the same as saying it does not work, but it does mean the case is weaker than supplement marketing suggests.
A 2017 systematic review examining magnesium supplementation for subjective anxiety found what the authors described as "suggestive but inconclusive evidence" for a benefit in mild anxiety, with substantial limitations in study quality across the board (Boyle et al., 2017). That is the most direct answer the peer-reviewed literature offers right now, and it is worth understanding what sits behind it before deciding whether magnesium is worth trying.
What does the research actually show?
The Boyle review analyzed eight studies that looked at magnesium supplementation and mild anxiety. Four of those eight studies reported positive effects, and four did not — a split that suggests something might be happening, but hardly constitutes strong evidence.
One study within that review found significantly greater anxiety reduction in the magnesium group compared to placebo, but the overall picture was weakened by poor study design: many trials lacked proper placebo controls, used inappropriate sample selection, combined magnesium with other ingredients, or failed to confirm that participants actually had an anxiety disorder to begin with. When studies are designed that loosely, it becomes difficult to know whether you are measuring a real effect or noise.
A more recent systematic review on magnesium's role across mental health conditions similarly noted that lower magnesium levels correlate with anxiety disorders, but stopped short of claiming causation — correlation and mechanism are not the same as demonstrated clinical benefit (Botturi et al., 2020).
The consistent thread across reviews is that the evidence is not robust enough to make definitive claims, and well-designed randomized controlled trials are still needed.
Why might magnesium affect anxiety in the first place?
Magnesium plays a role in regulating the body's stress response systems. It acts on the hypothalamic-pituitary-adrenal axis, influences neurotransmitter function, and modulates the activity of NMDA receptors in the brain — all of which are involved in how the nervous system responds to stress and maintains emotional regulation.
Some research has found that people under chronic stress show lower magnesium levels, and up to 45% of stressed populations in certain studies exhibited what researchers called subclinical chronic magnesium deficiency. Whether that deficiency is a cause of heightened anxiety, a consequence of it, or both remains incompletely understood.
The biological plausibility is there — magnesium is not a made-up target — but plausibility and proven efficacy are not the same thing, and that is exactly where the current evidence sits.
What about magnesium deficiency?
True magnesium deficiency is uncommon in people eating a reasonably varied diet. Magnesium is present in leafy greens, nuts, seeds, whole grains, legumes, and dark chocolate, and most people meet their needs through food without supplementation.
That said, certain groups are at higher risk for low magnesium: people taking diuretics or proton pump inhibitors long-term, those with gastrointestinal disorders that affect absorption, people with poorly controlled diabetes, and older adults. In those cases, a supplement may be addressing a real deficiency rather than simply adding more of something the body already has enough of.
If you are wondering whether low magnesium is contributing to your anxiety, that is a question blood work can help answer — and it is one a prescriber can order as part of an evaluation rather than guessing.
Does that mean magnesium supplements are not worth trying?
Not necessarily. It means the evidence does not support treating magnesium as a proven anxiety treatment, and it is not a substitute for an evaluation or for evidence-based treatment when anxiety is interfering with your life.
For someone with confirmed low magnesium or a diet that does not provide much of it, supplementation may be worth considering as one part of a broader plan — not as the plan itself. For someone whose anxiety is severe, persistent, or affecting work, sleep, or relationships, waiting to see whether a supplement helps is often waiting too long, and there are treatments with far stronger evidence behind them.
The practice's own approach to supplements reflects that balance: evidence-informed nutritional and supplement support is part of care at NCNE, but always in context — medication, sleep, nutrition, stress physiology, and lifestyle are assessed together rather than in isolation, and supplements are never positioned as a replacement for a thorough evaluation. You can read more about that approach on the holistic psychiatry service page.
What are the downsides of taking magnesium?
Magnesium supplements are generally well tolerated, but they are not without issues. The most common side effect is gastrointestinal — loose stools or diarrhea, particularly at higher doses or with certain forms of magnesium such as magnesium oxide. Some people find magnesium citrate or glycinate easier to tolerate.
More importantly, magnesium can interact with medications. It can reduce the absorption of certain antibiotics, bisphosphonates, and thyroid medications if taken at the same time, and high doses can affect blood pressure or interfere with the way the kidneys handle other electrolytes. For people with kidney disease, magnesium supplementation carries real risk, and it should not be started without medical clearance.
That is not a reason to avoid it categorically, but it is a reason to discuss it with a prescriber rather than starting it on your own — particularly if you are already taking other medications or have any medical conditions.
What about dosing and which type of magnesium to take?
This is where the lack of clear evidence becomes a practical problem. The studies that have been done used widely varying doses, forms, and durations, and no consensus has emerged on what works best or for whom. Some used magnesium oxide, some used citrate, others used combinations with other nutrients, and the results were inconsistent across all of them.
Without strong evidence pointing to a specific dose or formulation, offering prescriptive advice here would be guessing — and a prescriber's site should not do that. If you and your provider decide supplementation is worth trying, that conversation should happen with your full medical picture in front of you, including other medications, kidney function, and what else is already being treated.
How does this compare to treatments with stronger evidence?
Anxiety responds to several well-studied treatments, and the evidence base for them is far more robust than it is for magnesium. Selective serotonin reuptake inhibitors, cognitive behavioral therapy, and certain other medications have been tested in hundreds of controlled trials and have demonstrated consistent benefit for generalized anxiety, panic, and social anxiety.
That does not mean medication is always the right first step — sometimes it is, and sometimes addressing sleep, alcohol use, an untreated medical condition, or the absence of therapy is the better starting point. But those are clinical decisions that an evaluation clarifies, and they are not decisions you should be making by elimination while trying one supplement after another.
If you are considering magnesium because anxiety has been persistent, is affecting your daily life, or because other approaches have not been enough, that is usually a signal that it is time for a proper assessment rather than more self-management. You can read more about when to consider a psychiatric evaluation if you are weighing that decision.
What should you do if anxiety is affecting your life?
The straightforward answer is to get it evaluated properly. That means a comprehensive assessment of current symptoms, how long they have been present, what else might be driving them — sleep, substances, medications you are already taking, medical conditions, trauma history, and what has been tried before. Supplements can be part of the conversation, but they are rarely the whole answer when anxiety is genuinely interfering with your life.
At NCNE, care starts with a 60-minute telehealth evaluation that looks at the full picture: what is going on, why it might be happening, and what treatment options make sense given your history and goals. Where medication is appropriate, it is explained plainly and prescribed conservatively. Where something else is the better first step, that is what gets recommended. Supplements, nutrition, sleep, and lifestyle factors are considered as part of the plan, not dismissed and not oversold.
Laura Gabriel, PMHNP-BC, is currently accepting new adult clients for psychiatric evaluation and medication management by telehealth in Connecticut, Massachusetts, New Hampshire, Maine, Rhode Island, Virginia, and Kentucky. Initial evaluations are typically $250–$350 before insurance reimbursement, and follow-up visits are $125–$200. You can learn more about how to get started as a new client or send a message — the practice responds within two business days.
If you are in immediate danger, call 911. For urgent support at any hour, call or text 988 (Suicide & Crisis Lifeline). This article is general information, not medical advice, and is not a substitute for evaluation by a licensed clinician.
References
Botturi, A., Ciappolino, V., Delvecchio, G., Boscutti, A., Viscardi, B., & Brambilla, P. (2020). The Role and the Effect of Magnesium in Mental Disorders: A Systematic Review. Nutrients, 12(6), 1661. https://pmc.ncbi.nlm.nih.gov/articles/PMC7352515/
Boyle, N. B., Lawton, C., & Dye, L. (2017). The Effects of Magnesium Supplementation on Subjective Anxiety and Stress—A Systematic Review. Nutrients, 9(5), 429. https://pmc.ncbi.nlm.nih.gov/articles/PMC5452159/