The short answer: Maybe a little, but the evidence is weak. Systematic reviews find that most small trials report some drop in self-rated anxiety, yet reviewers rate the quality of those trials as poor. No large, placebo-controlled trial has shown that magnesium treats an anxiety disorder. It is not a substitute for therapy or medication that has been tested and proven.
What does the research say about magnesium and anxiety?
The most cited review is a 2017 systematic review in Nutrients by Boyle, Lawton, and Dye. It included 18 studies. Every one of them recruited people who were already vulnerable to anxiety: mildly anxious adults, women with premenstrual syndrome, postpartum women, and people with high blood pressure.
The results were mixed. Four of eight studies in anxious groups reported a benefit. Four of seven premenstrual studies did too, along with one of two studies in people with hypertension. Magnesium had no effect on postpartum anxiety. The authors called the evidence "suggestive" but said its quality was poor, and asked for well-designed randomized trials.
A 2024 systematic review in Cureus updated the picture. It found 15 trials on anxiety or sleep. Five of the seven anxiety studies reported improvement in self-reported anxiety. The authors still said firm conclusions were limited, because most studies were small and used different doses, forms, and durations.
How strong is the evidence, really?
Weak to moderate at best. A count of "positive" studies can look encouraging, but several features of this research pull the certainty down:
- Small samples. Most trials enrolled few people, which makes chance findings more likely.
- Mixed products. The Boyle review allowed products with up to five other ingredients. When a pill also contains vitamin B6 or herbal extracts, you cannot tell which part helped.
- Self-rated outcomes. Anxiety scores are subjective, so trials without a placebo or blinding are open to expectation effects.
- Special populations. The studied groups (premenstrual symptoms, hypertension, mild anxiety) are not the same as people with diagnosed generalized anxiety disorder or panic disorder.
A 2026 review in Current Nutrition Reports said several small trials show benefit for depression and anxiety symptoms, but also warned that magnesium is heavily advertised for benefits that still need higher-quality evidence.
Which trials came after the 2017 review?
Three later trials get cited often. Each has a design limit worth knowing.
A 2017 trial in PLOS One gave 126 adults with mild-to-moderate depression 248 mg of elemental magnesium daily for 6 weeks, compared with 6 weeks of no treatment. Anxiety scores on the GAD-7 improved by a net 4.5 points. But the trial was open-label, with no placebo, and anxiety was a secondary outcome.
A 2018 trial in PLOS One studied 264 stressed adults with low blood magnesium. Stress scores fell by 42.4% with magnesium alone and 44.9% with magnesium plus vitamin B6. There was no placebo arm, so part of that drop may reflect time and expectation. It also measured stress, not an anxiety disorder.
A 2022 placebo-controlled trial in Nutrients tested magnesium combined with B vitamins, rhodiola, and green tea extract in 100 chronically stressed adults. Stress scores improved more than with placebo, with a small effect size of 0.29. Because the product had several active ingredients, it cannot show what magnesium did on its own.
Who might be most likely to benefit?
The 2024 review suggested magnesium is most likely useful for mild anxiety, especially in people with low magnesium status at baseline. That fits the 2018 trial, which only enrolled people with low blood magnesium.
MedlinePlus lists the adult recommended intake as 400 to 420 mg a day for men and 310 to 320 mg a day for women, depending on age. Food sources such as leafy greens, nuts, seeds, beans, and whole grains count toward that target and carry no upper limit.
If you have mild, day-to-day worry and a poor diet, magnesium is a low-risk thing to discuss with your clinician. If you have panic attacks, constant worry, or symptoms that disrupt work and sleep, it should not be the main plan. The anxiety management techniques that work have stronger evidence.
How much magnesium is too much?
For adults, the tolerable upper intake level for magnesium from supplements and medicines is 350 mg a day. The US Institute of Medicine set that limit in 1997, and diarrhea was the deciding side effect, according to a 2023 perspective in Advances in Nutrition. The limit does not include magnesium in food, as the NIH Office of Dietary Supplements fact sheet explains.
Some researchers argue that limit is too cautious and should be reviewed. Until it changes, the 350 mg figure is the official ceiling. Note that some popular products and online advice exceed it. Supplement forms differ in how much elemental magnesium they contain, which our sibling site covers in its comparison of magnesium supplements.
What are the side effects, and who should avoid it?
The most common problems are digestive: diarrhea, nausea, and cramping. In healthy people, the kidneys clear excess magnesium in the urine.
Kidney disease changes that. MedlinePlus says side effects from high magnesium intake are not common except in people with significantly reduced kidney function, and that excess most often comes from supplements. The 2026 review also advised caution in people with renal insufficiency. If you have kidney disease, do not start magnesium without your doctor's approval.
Magnesium can also interact with other medicines. The MedlinePlus page for magnesium oxide advises taking any other medicine and magnesium oxide at least 2 hours apart. Tell your pharmacist about every supplement you take.
The bottom line
Magnesium might ease mild anxiety a little, especially if your intake is low. The research is small, mixed, and often clouded by combination products or missing placebos. It is not a proven treatment for an anxiety disorder.
The treatments with real evidence are different. The National Institute of Mental Health names cognitive behavioral therapy and antidepressants such as SSRIs and SNRIs as common, research-supported treatments for generalized anxiety disorder. Exercise helps too, as our look at exercise versus medication for anxiety explains. If anxiety is hard to control, read when to see a doctor about anxiety.
Last updated: September 2026. This article is for informational purposes only and does not constitute medical advice. Talk to your doctor or pharmacist before starting magnesium, especially if you have kidney disease or take other medicines.