In trials of people already prone to anxiety, magnesium lowered self-reported anxiety in 4 of 8 studies in one review and 5 of 7 in another; trials in premenstrual and postpartum groups mostly found nothing. Both reviews rated the evidence poor quality. Where an effect appeared, it took about 6 weeks.
That split is why one health site tells you the effect is weak and another says magnesium is likely useful. They are reading the same trials. This page shows you the scorecard, then covers the question none of them answer: what to do if you already take an anxiety medication.
Does magnesium help with anxiety? The scorecard from two reviews
Two systematic reviews have counted the trials. Their numbers are below, in their own words, so you can weigh them yourself.
The 2017 review. Boyle, Lawton, and Dye found 18 studies. Every one recruited people with "an existing vulnerability to anxiety: mildly anxious, premenstrual syndrome (PMS), postpartum status, and hypertension." Their tally: "Four/eight studies in anxious samples, four/seven studies in PMS samples, and one/two studies in hypertensive samples reported positive effects of Mg on subjective anxiety outcomes. Mg had no effect on postpartum anxiety."
Their conclusion carried both halves: "Existing evidence is suggestive of a beneficial effect of Mg on subjective anxiety in anxiety vulnerable samples. However, the quality of the existing evidence is poor."
The 2024 review. Rawji and colleagues screened 860 papers and kept 15 trials, seven of which measured anxiety. "Five out of seven studies measuring anxiety-related outcomes reported improvements in self-reported anxiety." They also explained the two that failed: "both negative anxiety trials featured populations with underlying endocrine factors likely contributing to their symptoms (patients with premenstrual symptoms and post-partum women)."
Their summary: magnesium "is likely useful in the treatment of mild anxiety and insomnia, particularly in those with low magnesium status at baseline."
So the honest reading is not "it works" or "it does not." It is: in people who are anxious and possibly low in magnesium, most small trials found some benefit; in hormonal-cycle anxiety, most did not; and nobody has run the large, well-designed trial that would settle it.
Why one site says "weak" and another says "likely useful"
Same trials, different weight on quality. The 2017 review put the poor study design in the conclusion sentence. The 2024 review put the positive count there and moved the caveats to the next paragraph. Neither is wrong. If you want a single line to carry away, use the one both reviews agree on: the trials that found nothing were mostly in PMS and postpartum groups, and, per Rawji, "all studies with negative results used low comparative dosages of the mineral."
That last point matters for how you test it, which is covered below.
Which magnesium is best for anxiety
Most articles on this topic rank the forms: glycinate for calm, taurate for the heart, threonate for the brain. The 2024 review looked for exactly that and reported that "a determination of the optimal form of magnesium for use in anxiety and sleep disorders was not possible." A separate 2017 review of magnesium absorption concluded that "the type of Mg2+ salt appears less relevant than is often thought" and that dose plus your starting magnesium status matter more.
One detail worth knowing: Rawji's group noted that "some studies included additional, potentially active ingredients" and that magnesium "may be more effective in combination with other active ingredients, specifically vitamin B6." If you are reading a study and the result looks strong, check whether magnesium was alone.
Practical takeaway: choose by tolerance. Glycinate is usually the easiest on the stomach; oxide carries the most magnesium per milligram of compound and is the easiest to overshoot. The full form-by-form and elemental math is in our magnesium for sleep guide and our 500 mg guide, and it applies here unchanged.
How much magnesium for anxiety: what the trials used, and the ceiling
Two numbers from the sources, for reference, not as a dose.
The one trial in this set that reported elemental magnesium clearly was Tarleton and colleagues, 2017: 126 adults with mild to moderate depression took "248 mg of elemental magnesium per day" for 6 weeks. Anxiety was a secondary measure and it improved along with depression scores.
The ceiling comes from the NIH Office of Dietary Supplements: "The Tolerable Upper Intake Level for supplemental magnesium is 350 mg for adults," measured as elemental magnesium from supplements and medicines, not food. The number on the front of the bottle is usually the compound weight, so a 500 mg glycinate pill is roughly 70 mg elemental while a 500 mg oxide pill is closer to 300 mg.
Consult your doctor or pharmacist for an amount that fits your diet, your kidneys, and the medications you take.
If you already take an anxiety medication
Most guides skip this question, and it is probably why you are here. Three facts from the sources, then a table.
First, the NIH interaction list. The ODS fact sheet names "oral bisphosphonates, tetracyclines, and quinolone antibiotics" as drugs magnesium can interact with, and says "diuretics and proton pump inhibitors, can affect magnesium status." It does not name SSRIs, buspirone, propranolol, hydroxyzine, or benzodiazepines. That is an absence from a list, not a guarantee of no interaction.
Second, the one trial that looked at medicated people. In Tarleton's trial, the improvement in depression and anxiety scores held "regardless of age, gender, baseline severity of depression, or use of antidepressant medications." Three caveats sit on that sentence: the trial was open-label with no placebo, it enrolled people with depression rather than an anxiety disorder, and anxiety was a secondary outcome.
Third, what magnesium does not do. It does not replace a prescribed medication, and nothing in these trials tested it as a substitute. If you are thinking about stopping an SSRI or a beta-blocker because magnesium seems to help, that decision belongs with your prescriber, not with a supplement bottle.
| If you take | What the sources say | Practical step |
|---|---|---|
| An SSRI (sertraline, escitalopram, fluoxetine) | Not on the NIH interaction list. Tarleton's trial saw the same benefit in people on antidepressants. | Tell your prescriber you are adding it. Keep your SSRI time fixed; magnesium can go at bedtime. See our Lexapro timing guide. |
| Buspirone | Not on the NIH list. No trial combined the two. | Buspirone is taken 2 or 3 times a day, so a bedtime magnesium dose does not crowd it. See buspirone schedule. |
| Propranolol (for anxiety) | Not on the NIH list. Magnesium has a small blood-pressure effect of its own (see our blood pressure guide). | If you take propranolol for performance anxiety, the timing of that dose is the one that matters; see best time to take propranolol. Mention magnesium if you get lightheaded. |
| Hydroxyzine | Not on the NIH list. | Hydroxyzine is sedating for many people. If you take it at night, put magnesium earlier in the evening so you can tell which one is doing what. |
| A benzodiazepine | Not on the NIH list. | Do not adjust the benzodiazepine on your own for any reason. Ask before adding anything. |
| A diuretic or PPI for another condition | NIH: these "can affect magnesium status." | You may be one of the "low to begin with" people the reviews describe. Ask whether your level has been checked. |
| Kidney disease | Excess magnesium clears through the kidneys. | Stop and ask first. StatPearls: toxicity "most commonly results from excessive magnesium intake in the setting of impaired renal excretion." |
This table is not a full interaction check. It covers the anxiety medications people most often ask about, and in every row the step is the same: tell the person who prescribes for you.
How long magnesium takes to work for anxiety
The trial with the clearest timeline is Tarleton's: 6 weeks of daily use, with check-ins every two weeks. The sleep trials ran 7 to 8 weeks. No trial reported a same-day effect on anxiety.
A fair test, given what the reviews found:
- Pick one product and read the elemental milligrams on the Supplement Facts panel. The negative trials used low amounts; the ceiling is 350 mg elemental from supplements.
- Take it at the same time every day for 6 weeks. Daily use is what every trial measured.
- Rate your anxiety at the start and every two weeks, the way Tarleton's group did. A one-line note ("worse / same / better") is enough.
- At week 6, bring the notes to your prescriber or pharmacist. If nothing changed, the trials give you no reason to raise the amount on your own.
If you take any medication in the table above, the conversation with your pharmacist comes before week 1, not after week 6.
How Pillo helps
Every positive trial here rested on daily use for six weeks or more, and the check-ins were on a schedule. That is a routine problem. Pillo puts magnesium on the same schedule as your anxiety medication, with an alarm that keeps ringing until you mark the dose taken, so the supplement does not quietly drop off after a good week. The daily log doubles as your two-week rating sheet.
FAQ
Does magnesium really help with anxiety?
Two reviews counted the trials. Boyle 2017 found 4 of 8 studies in anxious people showed benefit and rated the evidence quality poor. Rawji 2024 found 5 of 7 anxiety trials showed benefit and called magnesium "likely useful in the treatment of mild anxiety," especially in people low in magnesium. Trials in PMS and postpartum groups mostly found nothing.
How long does magnesium take to work for anxiety?
About 6 weeks in the trial that tracked it most closely, which measured symptoms every two weeks. No trial found a same-day effect. Judge it at week 6, not week 1.
What is the best magnesium for anxiety?
The 2024 review looked for one and reported that choosing an optimal form "was not possible." Pick by tolerance: glycinate is gentlest on the stomach, oxide is easiest to overshoot. The trials that failed used low amounts, so the elemental milligrams on the label matter more than the form name.
Can I take magnesium with Lexapro or Zoloft?
The NIH interaction list does not name SSRIs, and one 6-week trial saw the same benefit in people on antidepressants. Tell your prescriber you are adding it, keep the SSRI at its usual time, and do not change the SSRI dose on your own.
Can I take magnesium with propranolol for anxiety?
Propranolol is not on the NIH magnesium interaction list. Both can nudge blood pressure down, so mention magnesium to your prescriber, especially if you feel lightheaded. Keep the propranolol timing as prescribed; magnesium can go at bedtime.
Does magnesium help anxiety and sleep at the same time?
The same 2024 review covered both and found positive results in most trials for each, with the same caveat: strongest in people low in magnesium. Our magnesium for sleep guide covers the sleep trials, the form and dose math, and the timing.
This article provides general information about medication management and is not a substitute for professional medical advice. Always consult your doctor or pharmacist before adding a supplement to an anxiety medication or changing how you take either one.





