Magnesium for Anxiety: Can It Help?

Does Magnesium Help to Reduce Anxiety?

Does Magnesium Help to Reduce Anxiety?
Marc Tran/Stocksy

Note: The U.S. Food and Drug Administration (FDA) does not approve supplements for safety or effectiveness. Talk to a healthcare professional about whether a supplement is the right fit for your individual health, and about any potential drug interactions or safety concerns.

Magnesium is a mineral involved in hundreds of bodily processes, from muscle contractions and energy production to blood sugar control and healthy heart rhythm.

And thanks to how magnesium works in the body, magnesium supplements may also help you manage anxiety.
Considering that roughly 40 million adults in the United States — that’s 1 in 5 — have an anxiety disorder, this benefit of magnesium is potentially significant, although it’s important to note it can’t cure, treat, or prevent anxiety.

“There is no cure for anxiety, but many find magnesium to be a helpful addition to anxiety treatment, especially when symptoms are mild and associated with factors like deficiency, trouble sleeping, restless legs, or migraines,” says Iman Hypolite, MD, principal psychiatrist at Aspira Health and Wellness Consulting in Atlanta.

While you can get magnesium from foods like seeds, nuts, green leafy veggies, and beans, about half of adults in the United States fall short.

Magnesium plays a role in mood and stress regulation by calming excitatory brain activity, enhancing the effects of gamma-aminobutyric acid (GABA) — a neurotransmitter that helps the body relax — and assisting in the balance of serotonin and dopamine, which are key to emotional well-being, says Dr. Hypolite. “Some evidence suggests that magnesium supplementation may support these pathways and help reduce anxiety symptoms, even in individuals without a clinical deficiency,” she adds.

Here’s what’s most important to know about the connection between magnesium and anxiety.

What Are the Potential Benefits of Magnesium for Anxiety?

Anxiety is a normal physical reaction that can make you more alert and ready to tackle a stressful event. However, anxiety is distinct from stress (both are emotional responses) in that the latter is a response to an external trigger, while anxiety is a response to feeling stressed and can linger even after the stressor goes away.

“In addition to worry and sleep issues, common symptoms [of anxiety] include muscle tension, fatigue, difficulty concentrating, restlessness, irritability, and a sense of being on edge,” says Hypolite. “While occasional anxiety is part of the human experience, persistent or excessive symptoms may indicate an anxiety disorder.”

When anxiety is constant, it can interfere with your work or personal life, potentially signaling an anxiety disorder.

It May Help Regulate the Body’s Stress Response

Magnesium plays an important role in regulating the hypothalamic-pituitary-adrenal (HPA) axis, the communication network that manages your body’s stress response.

“This is important because the HPA axis controls the release of cortisol, the body’s primary stress hormone,” says Hypolite. “When the HPA axis becomes dysregulated, cortisol levels can remain elevated, which may contribute to anxiety, disrupted sleep, and mood changes.” Magnesium is thought to help modulate this system, potentially reducing excessive cortisol release and supporting a more balanced stress response, she adds.

It May Help Your Muscles Relax

Magnesium also helps muscles relax by blocking calcium from stimulating a muscle contraction.

“When you’re feeling anxious, your muscles tense up — you can even see it in people’s faces,” explains Noah Kass, LCSW, a psychotherapist in Brooklyn, New York. When you’re physically relaxed, your nervous system signals your brain to quit worrying, he says. “Magnesium works with the parasympathetic nervous system to relax those muscles,” he adds.

It May Help Your Sleep

And there’s the sleep part of the equation. “Anxiety, sleep, and mental well-being are all intertwined,” says Alex Dimitriu, MD, a board-certified psychiatrist and sleep medicine physician in Menlo Park, California.

As a supplement that may help with anxiety, magnesium may also promote sleep. “Better sleep, in turn, results in less anxiety the following day,” Dr. Dimitriu says.

It May Have Other Mood Benefits

What’s more, there is some evidence that magnesium levels in the body are connected to the development of mood and anxiety disorders — and that taking magnesium supplements may help with symptom management when it comes to anxiety.

One review of research found that some data do indeed show a link between low magnesium levels and the development of anxiety and depression.

 But other studies show mixed results, so more research is needed.
A systematic review in Cureus reported that five of the seven studies it analyzed found that people with anxiety and sleep disorders who took magnesium supplements self-reported greater improvements in anxiety symptoms than those who did not take magnesium supplements.

However, some studies combined magnesium with other nutrients, and it wasn’t clear if the benefits were from the magnesium, the other nutrients, or a combination. The researchers concluded that magnesium may be promising for treating mild anxiety, though more trials are needed to determine the most effective forms and doses.

“While the overall findings suggest a potential link between low magnesium and depression, the research findings are still mixed, particularly when it comes to anxiety,” says Hypolite. “More research is needed to better understand these relationships, determine causality, and identify which individuals may benefit most from magnesium supplementation.”

Which Type of Magnesium Is Best For Anxiety?

Many types of magnesium supplements are available, such as magnesium oxide and magnesium glycinate, with the name indicating which compound was combined with magnesium to create the formula. These types can behave differently when it comes to how easily your body absorbs them and how they interact in your body.

Types of Magnesium Supplements That May Help Anxiety

Here’s what to know about picking a magnesium supplement for anxiety:

The systematic review published in Cureus suggested that magnesium oxide and magnesium lactate dihydrate may be effective in anxiety treatments, and noted magnesium sulfate didn’t show positive results. Studies with the biggest improvements used high doses of 300 milligrams or more, but because some formulas included other potentially active ingredients, the researchers were unable to draw conclusions about the most effective formula and dose for anxiety.

Meanwhile, magnesium glycinate, L-threonate, and taurate are increasingly being used to treat anxiety, though formal large-scale trials remain limited, says Hypolite.

“Magnesium glycinate is commonly used in integrative psychiatry because it’s well absorbed and includes glycine, an amino acid known for its calming effects and support of sleep,” she says.

Magnesium L-threonate is also widely used for its ability to cross the blood–brain barrier, adds Hypolite. This supplement may be taken to normalize magnesium levels in the body.

Meanwhile, magnesium taurate supports GABA function and may have calming effects, says Hypolite. However, most of the data for this form comes from older research or animal studies.

“While more human research is needed, these forms are often considered in integrative psychiatry when anxiety is a concern, particularly because they are generally well tolerated and aligned with known mechanisms that support emotional regulation,” says Hypolite.

Magnesium malate is another form known for its bioavailability (how effectively the body can absorb it). It has less of a laxative effect than magnesium oxide or magnesium L-threonate, and it may help relieve chronic pain.

How to Choose the Right Magnesium Supplement for You

As far as which one you should choose, Dimitriu generally recommends magnesium L-threonate because it’s well-absorbed by the body and crosses the blood-brain barrier (a protective layer that controls how chemicals enter and exit your brain).

Remember: It’s crucial to talk to your doctor first to discern if magnesium is right for you, as well as what type is best and the proper dosage to help soothe anxiety. The recommended daily intake of magnesium from all sources (including food) for general health ranges from 310 to 320 milligrams for women and from 400 to 420 milligrams for men.

However, there’s not a single dose that works for everyone. “I don’t provide blanket recommendations for dosing,” says Hypolite.

If you and your healthcare team decide to add a magnesium supplement to your anxiety treatment, you’ll want to read the label carefully to make sure you select the right type and dosage. Also, because the FDA doesn’t regulate supplements, in order to pick a high-quality product, look for USP, NSF, or ConsumerLab approvals on the label. This means the product has undergone third-party testing for quality and purity.

How to Take Magnesium for Anxiety: 3 Expert Tips

If you have an anxiety disorder — or suspect you might — consult your healthcare provider before using magnesium supplements for anxiety. Supplements can interfere with medications and may cause side effects, especially if you take them at high doses.

“Magnesium works by supporting the regulation of neurotransmitters and helping to calm the nervous system — but it is not a first-line treatment for anxiety,” says Hypolite. The primary treatments remain psychotherapy and selective serotonin reuptake inhibitor antidepressants, depending on severity, she adds.

If your doctor gives the go-ahead to use magnesium supplements, consider the following:

1. Keep a Log of How You’re Responding

Don’t expect your mood to take a 180-degree turn. Still, you should notice improvements pretty quickly, says Sophia Deahl, RD, a functional medicine specialist in private practice in Costa Mesa, California. “I’ll have clients report after several days if they feel a difference with the supplement,” she says.

Accountability to a healthcare practitioner or registered dietitian while taking supplements is key, as they can set expectations and help determine the impact.

Logging or journaling your symptoms is also important for identifying any potential side effects early on. “Magnesium is not without risk,” says Hypolite. “It can cause gastrointestinal symptoms, interfere with medications, or cause cardiac issues such as low blood pressure or arrhythmias, particularly in individuals with impaired kidney function or when taken in high doses.”

Medications that may interact with magnesium include bisphosphonates that treat osteoporosis (such as Fosamax), certain antibiotics, loop diuretics, and proton pump inhibitors.

If you experience any adverse symptoms — like stomach cramps or bowel movements that are too loose — speak with your healthcare provider right away. They may be able to recommend a different type of magnesium, a different dose, or other changes.

2. Don’t Forget About Your Diet

Taking a magnesium supplement doesn’t mean you can ignore how much you’re getting through your diet. “Include a variety of sources of magnesium from food, like whole grains, legumes, nuts, seeds, fruits, and vegetables, and you’re more likely to meet the recommended magnesium intake [than by taking supplements alone],” Deahl says. Plus, you’ll score other essential vitamins and minerals through food.

3. Use With Other Anxiety Treatments

A magnesium supplement may help ease anxiety symptoms for some, but it isn’t a cure-all that replaces your other treatments. Instead, think of it as part of your anxiety management plan. If you have an anxiety disorder, you may also need mental health treatments, such as cognitive behavioral therapy (a type of talk therapy), support groups, or prescription medication.

In fact, it can be harmful to your mental health to self-treat with supplements alone. “If every day is hard, if joy is gone, if sleep is constantly poor, and you cannot recharge in your time off, it might be time to speak to a professional,” Dimitriu says.

If you and your doctor think adding magnesium may be beneficial for you, read our list of the best magnesium supplements out there, recommended by experts.

The Takeaway

  • Magnesium is an essential mineral involved in hundreds of processes in the body, including blood pressure regulation, energy production, and muscle and nerve function.
  • Studies suggest that magnesium supplements may be helpful for symptoms of mild anxiety, but the research is still mixed and limited, and there’s no clear guidance on who is a good candidate for magnesium, what type to take, and what the dose should be.
  • Magnesium supplements should not be used as a stand-alone treatment for anxiety — before adding this supplement, talk to your healthcare provider to make sure it’s right for you.
  • If you get the green light from your provider to take magnesium, consider looking for foods that contain magnesium, and keep a record to track changes to your anxiety and any unpleasant side effects.

Additional reporting by Kelsey Kloss.

EDITORIAL SOURCES
Everyday Health follows strict sourcing guidelines to ensure the accuracy of its content, outlined in our editorial policy. We use only trustworthy sources, including peer-reviewed studies, board-certified medical experts, patients with lived experience, and information from top institutions.
Resources
  1. Magnesium. National Institutes of Health. June 2, 2022.
  2. Anxiety Disorders — Facts and Statistics. Anxiety & Depression Association of America. August 21, 2025.
  3. I’m So Stressed Out! Fact Sheet. National Institute of Mental Health.
  4. Anxiety Disorders. National Institute of Mental Health. December 2024.
  5. The Ultimate Guide to Magnesium: Benefits, Dosage, and Physiological Role. Courage Against Cancer. February 1, 2025.
  6. Botturi A et al. The Role and the Effect of Magnesium in Mental Disorders: A Systematic Review. Nutrients. June 3, 2020.
  7. Rawji A et al. Examining the Effects of Supplemental Magnesium on Self-Reported Anxiety and Sleep Quality: A Systematic Review. Cureus. April 29, 2024.
  8. Dunkin MA. Types of Magnesium Supplements: Best Use and Benefits For Your Health. Mayo Clinic. July 31, 2025.
  9. Magnesium L-Threonate. National Cancer Institute.
  10. Shrivastava P et al. Magnesium Taurate Attenuates Progression of Hypertension and Cardiotoxicity Against Cadmium Chloride-Induced Hypertensive Albino Rats. Journal of Traditional and Complementary Medicine. June 2, 2018.
  11. Which Type of Magnesium Is Right for Your Symptoms? University Hospitals. April 24, 2025.
  12. Dietary Supplements: What You Need to Know. National Institutes of Health. January 4, 2023.
Angela-Harper-bio

Angela D. Harper, MD

Medical Reviewer

Angela D. Harper, MD, is in private practice at Columbia Psychiatric Associates in South Carolina, where she provides evaluations, medication management, and psychotherapy for adults.  

A distinguished fellow of the American Psychiatric Association, Dr. Harper has worked as a psychiatrist throughout her career, serving a large number of patients in various settings, including a psychiatric hospital on the inpatient psychiatric and addiction units, a community mental health center, and a 350-bed nursing home and rehab facility. She has provided legal case consultation for a number of attorneys.

Harper graduated magna cum laude from Furman University with a bachelor's degree and cum laude from the University of South Carolina School of Medicine, where she also completed her residency in adult psychiatry. During residency, she won numerous awards, including the Laughlin Fellowship from the American College of Psychiatrists, the Ginsberg Fellowship from the American Association of Directors of Psychiatric Residency Training, and resident of the year and resident medical student teacher of the year. She was also the member-in-training trustee to the American Psychiatric Association board of trustees during her last two years of residency training.

Harper volunteered for a five-year term on her medical school's admission committee, has given numerous presentations, and has taught medical students and residents. She currently supervises a nurse practitioner. She is passionate about volunteering for the state medical board's medical disciplinary commission, on which she has served since 2015.

She and her husband are avid travelers and have been to over 55 countries and territories.

Jessica Migala

Author

Jessica Migala is a freelance writer with over 15 years of experience, specializing in health, nutrition, fitness, and beauty. She has written extensively about vision care, diabetes, dermatology, gastrointestinal health, cardiovascular health, cancer, pregnancy, and gynecology. She was previously an assistant editor at Prevention where she wrote monthly science-based beauty news items and feature stories.

She has contributed to more than 40 print and digital publications, including Cosmopolitan, O:The Oprah Magazine, Real Simple, Woman’s Day, Women’s Health, Fitness, Family Circle, Health, Prevention, Self, VICE, and more. Migala lives in the Chicago suburbs with her husband, two young boys, rescue beagle, and 15 fish. When not reporting, she likes running, bike rides, and a glass of wine (in moderation, of course).