Magnesium for anxiety may help, but the effect looks modest and the studies are weak. The clearest signal shows up in people who are already stressed or low in magnesium. It isn’t a treatment for an anxiety disorder.
If you want to try it, stay at or under 350 mg a day from supplements, give it about a month, and check with a doctor first if you have kidney disease or take certain medicines.
Short answer
- Evidence is limited. A 2017 review of 18 studies found hints of benefit in mildly anxious people, but called the evidence quality poor.
- Low magnesium matters. The best-designed trial tested stressed adults who already had low blood magnesium.
- Stay under the upper limit. Adults shouldn’t take more than 350 mg a day from supplements unless a doctor advises it.
- Form matters less than marketing says. No trial shows one form works better for anxiety.
- Not for everyone. Kidney disease and some medicines change the picture.
Why magnesium is linked to anxiety
Magnesium is involved in hundreds of body processes, including nerve signaling and the stress response. Researchers have long noticed that low magnesium status tends to go with higher anxiety scores. That link is why people try supplements.
But a link isn’t proof. A poor diet, for example, could drive both low magnesium and low mood. So the real question is simple: does taking magnesium lower anxiety? That’s what trials have to show.
What the research shows
The big picture: promising but low quality
A 2017 systematic review in Nutrients pulled together 18 studies. Results by group:
- Mildly anxious people: 4 of 8 studies reported a benefit.
- Premenstrual symptoms (PMS): 4 of 7 studies reported a benefit.
- People with high blood pressure: 1 of 2 studies reported a benefit.
- Postpartum women: no effect.
The authors concluded the evidence was “suggestive” but that its quality was poor. Many studies were small, short, or mixed magnesium with other ingredients.
A 2024 systematic review in Cureus looked at newer trials. Five of seven anxiety studies reported improvement in self-reported anxiety. The authors still called for larger trials, because doses, forms and durations varied widely.
The strongest trial: stressed adults with low magnesium
In a randomized trial of 264 stressed adults with low blood magnesium, both groups took 300 mg of magnesium a day for 8 weeks, one with added vitamin B6. Stress scores dropped by about 42% to 45% in both groups.
That sounds impressive, but there’s a catch. The trial had no placebo group, so we can’t tell how much of the drop came from magnesium itself versus time and expectation. It was also funded by the product’s maker.
My take: I’d treat magnesium as a reasonable, low-cost experiment for everyday stress, not as anxiety treatment. It makes the most sense if your diet is light on magnesium-rich foods. If you have panic attacks, constant worry or anxiety that disrupts your life, therapy and medical care have far stronger evidence.
Are you low in magnesium?
Blood tests aren’t a perfect guide. Most magnesium sits inside cells and bone, so a normal blood level doesn’t rule out low stores, according to the NIH Office of Dietary Supplements.
Early signs of low magnesium are vague: loss of appetite, nausea, fatigue and weakness. Numbness, tingling, muscle cramps and abnormal heart rhythm can appear when it’s more severe. Those need a doctor, not a supplement.
You may be more likely to run low if you:
- eat few nuts, seeds, beans, leafy greens or whole grains
- drink heavily
- take acid-reflux medicines long term
- have a gut condition that limits absorption
How much magnesium to take
| Amount | Source | |
|---|---|---|
| Daily need (women) | 310–320 mg | All sources, NIH ODS |
| Daily need (men) | 400–420 mg | All sources, NIH ODS |
| Upper limit from supplements | 350 mg/day | Supplements and medicines only |
| Dose used in the best stress trial | 300 mg/day | Pouteau 2018 |
The upper limit only counts supplements and medicines, not food. Going over it raises the odds of diarrhea, nausea and cramping. Extremely high intakes can cause irregular heartbeat.
Give it about four weeks. If nothing changes, more isn’t the answer.
Which form of magnesium for anxiety?
You’ll see glycinate, citrate, threonate and taurate all promoted for calm. Here’s the honest version: no head-to-head trial shows that one form reduces anxiety better than another.
What we do know is about absorption and the gut. The NIH notes that forms such as citrate, chloride, lactate and aspartate are absorbed better than oxide. Citrate and oxide are more likely to loosen stools. That’s why glycinate is often picked by people with sensitive stomachs.
For a side-by-side of the two most common forms, see magnesium glycinate vs citrate. If sleep is your bigger problem, read magnesium for sleep. Our how we review page explains what to check on a supplement label.
Food first
You can reach your daily need from food. Good sources include pumpkin seeds, almonds, spinach, black beans and whole grains. Food also brings fiber that feeds gut bacteria, which may matter for mood through the gut-brain axis.
If anxiety shows up in your stomach, our guide to gut health and anxiety explains why.
What works better alongside it
Magnesium won’t replace the basics. Tools with clearer evidence for stress include:
- slow breathing such as box breathing
- regular exercise and steady sleep
- cognitive behavioral therapy (CBT) for anxiety disorders
Other supplements people compare it with include L-theanine and ashwagandha. For the full picture of how stress affects the body, start with stress and your body.
The evidence at a glance
| Claim | Evidence | What it’s based on |
|---|---|---|
| Eases mild anxiety | Limited | Mixed small trials, poor quality (2017 review) |
| Lowers stress in people with low magnesium | Limited | One large trial, no placebo group |
| Helps PMS-related anxiety | Limited | About half of small trials positive |
| Helps postpartum anxiety | Not supported | No effect in reviewed studies |
| One form works better for anxiety | Not supported | No head-to-head trials |
Who should be careful
- Kidney disease: your kidneys clear extra magnesium. Don’t supplement unless your doctor says so.
- Antibiotics and osteoporosis drugs (bisphosphonates): magnesium can reduce how well they’re absorbed. Ask a pharmacist how far apart to take them.
- Diuretics and long-term acid-reflux drugs: these can change your magnesium levels.
- Pregnancy or breastfeeding: check with your doctor before adding supplements.
- Severe or ongoing anxiety: see a doctor or mental health professional. Seek urgent help if you have thoughts of harming yourself.
This guide is for general information and is not medical advice. Read our medical disclaimer.
FAQ
Does magnesium help with anxiety?
It may help a little, especially if you’re low in magnesium or under heavy stress. Reviews call the evidence suggestive but low quality, and the best trial had no placebo group. It isn’t a treatment for anxiety disorders.
How much magnesium should I take for anxiety?
Most trials used around 300 mg a day. Adults shouldn’t go above 350 mg a day from supplements unless a doctor advises it. Food sources don’t count toward that limit.
What is the best magnesium for anxiety?
No form has been shown to work better for anxiety. Glycinate is often chosen because it’s gentler on the stomach, while citrate and oxide are more likely to cause loose stools.
How long does magnesium take to work for anxiety?
Trials ran for 4 to 8 weeks. Give it about a month at a steady dose. If you notice no change by then, a higher dose isn’t likely to help.
Can I take magnesium with anxiety medication?
Ask your doctor or pharmacist first. Magnesium interacts with some antibiotics, osteoporosis drugs and diuretics, and your prescriber should know about every supplement you take.
Share your experience
Have you tried magnesium for stress or anxiety? Which form did you use, and did you notice any change? Tell us in the comments below.
Comments are moderated. Please don’t share personal medical details, and remember that what worked for one person may not suit another.
Sources
- Boyle NB, et al. The effects of magnesium supplementation on subjective anxiety and stress: a systematic review. Nutrients. 2017;9(5):429. doi:10.3390/nu9050429
- Rawji A, et al. Examining the effects of supplemental magnesium on self-reported anxiety and sleep quality: a systematic review. Cureus. 2024;16(4):e59317. doi:10.7759/cureus.59317
- Pouteau E, et al. Superiority of magnesium and vitamin B6 over magnesium alone on severe stress in healthy adults with low magnesemia: a randomized, single-blind clinical trial. PLoS One. 2018;13(12):e0208454. doi:10.1371/journal.pone.0208454
- NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Consumers.
- NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals.
