Taking magnesium for anxiety may ease mild symptoms a little, possibly more if your diet is low in it, but the evidence is modest and it isn’t a treatment for an anxiety disorder. No single form has been proven best. Magnesium glycinate is a sensible first pick because it’s less likely than some forms to upset your stomach. There’s no official anxiety dose, but adults shouldn’t exceed 350 mg a day from supplements, the official upper limit; most trials used less.
Key points
- Reviews find a possible benefit for mild anxiety, but most studies are small, with large placebo effects.
- No form or dose has clearly won, so pick a form your stomach tolerates and give it about six weeks.
- Keep supplements at or under 350 mg a day unless a doctor advises otherwise. Diarrhea is the usual sign you’ve overdone it.
- Magnesium interacts with some antibiotics, osteoporosis drugs, HIV medicines and gabapentin. With kidney disease, take it only on medical advice.
Does magnesium help anxiety?
Probably a little, for some people, but it doesn’t work like anti-anxiety medication.
A 2017 review by University of Leeds researchers looked at 18 studies in people prone to anxiety, such as mildly anxious adults, women with premenstrual symptoms and new mothers. Four of the eight trials in mildly anxious adults found a benefit, and the positive ones all paired magnesium with other ingredients, such as vitamin B6 or herbal extracts. The authors called the evidence suggestive but poor in quality and noted a large placebo response in most studies.
The clearest numbers come from a 2017 University of Vermont trial. Adults with mild-to-moderate depression took 248 mg of magnesium a day as chloride for six weeks, and their GAD-7 anxiety scores, on a 0–21 scale, fell an average of 4.5 points compared with no treatment. But there was no placebo, and participants knew what they were taking, so expectation may explain part of that.
A 2024 review in Cureus was more upbeat, finding five of seven anxiety studies positive and judging magnesium likely useful for mild anxiety, especially when levels are low.
So if your anxiety is mild, like a knot in your stomach before big meetings, a supplement is a low-risk thing to try. If you have panic attacks or worry that stops you living normally, it won’t be enough on its own.
How magnesium affects the stress response
Magnesium acts like a brake on overexcited nerve cells, at least in lab studies. It dampens one type of receptor for glutamate, the brain’s main “go” chemical, helping keep it in balance with GABA, the main “slow down” chemical. The link may run both ways: stress raises how much magnesium you lose in urine, and running low may make you more reactive to stress.
Who’s most likely to benefit
People who run low on magnesium may benefit most, but that idea has barely been tested. The Vermont trial didn’t measure anyone’s magnesium levels. In a 2025 sleep trial, people who said they ate fewer magnesium-rich foods saw a slightly bigger drop in insomnia scores. That was a rough, exploratory check based on a single, unvalidated question, and the trial found no effect on anxiety.
Low intake is common. In a 2013–2016 national survey, 48% of Americans got less magnesium from food and drinks than the average requirement. If your diet runs on white bread and rice, with few beans, nuts or leafy greens, you’re probably in that group.
The NIH Office of Dietary Supplements lists these groups as more likely to run low:
- People with digestive conditions such as Crohn’s disease or celiac disease
- People with type 2 diabetes
- Long-term heavy drinkers
- Older adults
Low intake alone rarely causes symptoms in healthy people, and early signs are vague: poor appetite, nausea, tiredness and weakness. A worsening deficiency can cause numbness, tingling, muscle cramps or an irregular heartbeat; those symptoms need a doctor, not a supplement. A standard blood test may miss it, since most magnesium sits in cells and bone.
Best magnesium for anxiety: comparing the types
No form has been shown to beat the others for anxiety. The 2017 review’s studies most often used lactate or oxide, not the glycinate recommended online. What differs is absorption and how hard each is on your gut.
Magnesium glycinate
Magnesium bound to the amino acid glycine, thought to be well absorbed and not among the forms most linked to diarrhea. Direct evidence for anxiety is thin. Part of its appeal is glycine, a calming messenger in the nervous system, but a typical capsule holds under a gram of it, versus the 3 grams used in small glycine sleep studies. The 2025 sleep trial used bisglycinate and found no effect on anxiety or stress, though its volunteers weren’t very anxious to start with.
Magnesium citrate
Well absorbed, but it draws water into the bowel, which is why it’s sold as a laxative. Good if you tend toward constipation, poor if anxiety already sends you to the bathroom.
Magnesium oxide
Poorly absorbed, and one of the forms most likely to cause diarrhea. A couple of positive studies used it, but it’s a poor first pick for a sensitive stomach.
Magnesium chloride and lactate
Both are well absorbed. Five of the 2017 review’s studies used lactate, and two found a benefit. The Vermont trial used chloride.
Magnesium L-threonate, taurate and malate
Threonate is marketed as the “brain” form because animal research suggests it raises brain magnesium, but its small human trials, some industry-funded, focus on sleep and memory, not anxiety. Taurate and malate have almost no human anxiety research.
How much magnesium to take for anxiety
There’s no official dose for anxiety. Trials in the 2017 review mostly used 75–360 mg a day; a couple went to 500 or 600 mg, above the 350 mg supplement limit. The NIH Office of Dietary Supplements lists these figures:
- Recommended daily intake from all sources: 310–320 mg for adult women and 400–420 mg for adult men.
- Upper limit for supplements and medicines: 350 mg a day for everyone 9 and older. Children under 9 have lower limits, so ask a pediatrician first. Food magnesium doesn’t count; healthy kidneys clear the extra.
Read the Supplement Facts panel, which lists elemental magnesium, the part that counts. A capsule with 1,000 mg of pure magnesium bisglycinate provides only about 140 mg of magnesium. Count other sources too: some antacids and laxatives contain magnesium, and a tablespoon of Milk of Magnesia has 500 mg. With magnesium-B6 combinations, check the B6 too: adults should stay under 100 mg a day from all sources, the official upper limit, and long-term high doses have caused nerve damage.
How long it takes, and when to take it
The Vermont trial saw changes within two weeks, but most positive studies ran 6–12 weeks, so give it about six weeks at a steady dose before deciding. No time of day has proven better; pick one you’ll remember, well apart from the medicines listed below.
Getting magnesium from food
You can raise your intake without a pill. An ounce of roasted pumpkin seeds has about 156 mg, an ounce of roasted almonds 80 mg and half a cup of boiled spinach 78 mg.
Magnesium side effects and who should avoid it
The most common side effect is diarrhea, sometimes with nausea and cramps, especially from carbonate, chloride, gluconate or oxide. It usually means the dose is too high, so take less or switch forms.
Serious toxicity is rare and mostly seen with very large doses of magnesium laxatives or antacids, typically over 5,000 mg a day. Signs include low blood pressure, nausea, vomiting, flushing and lethargy, and at worst muscle weakness, trouble breathing, an irregular heartbeat and cardiac arrest, which need emergency care.
Check with a doctor or pharmacist first if you take any daily prescription or if any of these apply:
- Kidney disease. Your kidneys can’t clear the extra, so it can build up to dangerous levels.
- Osteoporosis drugs such as alendronate. Magnesium reduces their absorption, so take them at least 2 hours apart.
- Tetracycline or quinolone antibiotics such as doxycycline or ciprofloxacin. Take the antibiotic at least 2 hours before or 4–6 hours after magnesium.
- Diuretics or long-term PPI acid reducers such as omeprazole. Most lower magnesium, but potassium-sparing diuretics like spironolactone make you keep more, so ask about checking your levels.
- HIV medicines called integrase inhibitors, such as dolutegravir. Magnesium can sharply cut their absorption, so ask a pharmacist how far apart to take them.
- Gabapentin. A magnesium-containing antacid cut its absorption by about 20%, so take gabapentin at least 2 hours after magnesium.
- Pregnancy or breastfeeding. The same upper limit applies; check with your OB or midwife.
What helps anxiety more than supplements
Therapy and medication have far stronger evidence for anxiety than any supplement. The National Institute of Mental Health says generalized anxiety disorder is usually treated with psychotherapy, especially cognitive behavioral therapy (CBT), medication or both.
Day to day, the basics count: regular sleep, movement, cutting from three coffees a day to one, and in-the-moment calming skills like breathing out longer than you breathe in. If the dread builds as the workweek nears, read about Sunday-evening anxiety about work; if it comes with exhaustion that rest doesn’t fix, burnout may be part of the picture.
When to see a doctor
See a doctor or licensed therapist if:
- Anxiety is there most days, has lasted more than a few weeks, or is affecting your sleep, work or relationships.
- You’re having panic attacks, or avoiding places and people because of anxiety.
- You get chest pain, a racing or irregular heartbeat, or shortness of breath. Get these checked the same day; they can come from the heart or lungs, not just anxiety. Call 911 if chest pain is severe or lasts more than a few minutes, or comes with shortness of breath, feeling faint, or pain in your arm, shoulder, jaw, neck or back.
- Anxiety comes with thoughts of hurting yourself or that life isn’t worth living. Call or text 988, the Suicide & Crisis Lifeline, at any hour, or call 911 if you’re in immediate danger.
FAQ
Can low magnesium cause anxiety?
It might contribute, but that’s unproven in people. Magnesium-poor diets make mice more anxious, and some surveys link low intake with more depression and, less consistently, anxiety.
Do Epsom salt baths or magnesium sprays help anxiety?
A warm bath can feel calming, but there’s little evidence that skin absorbs much magnesium from bath salts, sprays or lotions. Food or an oral supplement is the tested route.
Can I take magnesium every day?
Yes, if you stay at or under 350 mg a day from supplements, your kidneys are healthy and a pharmacist has checked your medications.
Does magnesium help with sleep as well as anxiety?
A little, at best. In a 2025 trial of poor sleepers, 250 mg of magnesium a day, as bisglycinate, beat placebo on an insomnia scale by a small margin. If overthinking keeps you up most nights, cognitive behavioral therapy for insomnia (CBT-I) has far stronger evidence.
Can I take magnesium with my anxiety medication?
Usually, yes. Common SSRIs such as sertraline have no well-known interaction with magnesium, but take gabapentin at least 2 hours after it. Have a pharmacist check your full list, and don’t swap your medication for magnesium without your prescriber.

