What Vitamin and Mineral Deficiencies Cause Anxiety?

Several vitamin and mineral deficiencies have documented links to anxiety symptoms, with the strongest evidence pointing to vitamin D, magnesium, B vitamins, iron, and zinc. The connections are not always straightforward: some deficiencies appear to directly disrupt the brain chemistry involved in anxiety, while others raise anxiety risk through indirect routes like inflammation or hormonal dysregulation. What makes the picture complicated is that these nutrients rarely work in isolation, and being low in one often signals broader nutritional gaps that compound the problem.

Vitamin D and Anxiety

Vitamin D is probably the most studied nutrient in relation to mood disorders, and the evidence linking low levels to anxiety is reasonably consistent. Brain regions involved in anxiety regulation overlap with areas where vitamin D is metabolized, and the vitamin has antioxidant activity in brain tissue that appears relevant to mood regulation.1PubMed Central. Is Vitamin D Important in Anxiety or Depression? What Is the Truth? This isn’t just a correlation story, either. Several trials have tested what happens when you give vitamin D supplements to people who are deficient and anxious.

In one clinical study, patients with generalized anxiety disorder who received vitamin D supplements showed meaningful improvement in their anxiety scores compared to those who didn’t. The researchers also found that serotonin levels went up in the supplemented group, while neopterin, an inflammatory marker, went down, suggesting the vitamin was working through at least two separate pathways.2PubMed. Vitamin D supplementation ameliorates severity of generalized anxiety disorder (GAD) Another trial in vitamin D-deficient patients found that after six months of supplementation, anxiety scores dropped significantly even after adjusting for factors like age, gender, physical activity, and body weight.3PubMed Central. Vitamin D supplementation improves anxiety but not depression symptoms in patients with vitamin D deficiency A separate randomized trial in vitamin D-deficient women with type 2 diabetes and anxiety also found a significant reduction in anxiety scores with supplementation.4PubMed Central. Effect of Vitamin D Supplement on Mood Status and Inflammation in Vitamin D Deficient Type 2 Diabetic Women with Anxiety: A Randomized Clinical Trial

The pattern across these trials is consistent: in people who are already deficient, restoring vitamin D levels tends to reduce anxiety. The key qualifier is “already deficient.” There is much less reason to think that extra vitamin D helps someone whose levels are already normal. Given that vitamin D deficiency is extremely common, especially in northern latitudes, among people with darker skin, and in those who spend most of their time indoors, this is a deficiency worth checking if you’re dealing with persistent anxiety.

B Vitamins and the Brain’s Calming Chemistry

The B-vitamin family is large, and at least four members have connections to anxiety: thiamine (B1), pyridoxine (B6), folate (B9), and cobalamin (B12). They each do different things, but the common thread is that they serve as building blocks for neurotransmitters or help regulate inflammatory compounds that affect the brain.

Vitamin B6 has the most direct biochemical link to anxiety. It is a required cofactor for the enzyme that produces GABA, the brain’s main inhibitory neurotransmitter. GABA is essentially the nervous system’s braking mechanism; when GABA activity is low, neural circuits become overexcitable, and that overexcitability maps onto what people experience as anxiety.5FUDMA Journal of Sciences. THE ROLE OF VITAMIN B6 IN GABA SYNTHESIS AND ITS IMPLICATIONS FOR NEUROLOGICAL HEALTH; A REVIEW This is the same system that anti-anxiety medications like benzodiazepines target. If you don’t have enough B6, you can’t make as much GABA, and that shortage may leave you more vulnerable to anxious states.

Vitamin B12 and folate operate through a different mechanism. When either is deficient, levels of homocysteine, an amino acid, tend to rise. Research in adolescents with anxiety or depressive symptoms found that B12 deficiency and folate deficiency were each associated with elevated homocysteine.6PubMed Central. Vitamin B12, Folate, Homocysteine, Inflammatory Mediators (Interleukin-6, Tumor Necrosis Factor-α and C-Reactive Protein) Levels in Adolescents with Anxiety or Depressive Symptoms A cross-sectional study found that while B12 and folate levels alone weren’t directly associated with generalized anxiety, hyperhomocysteinemia (the elevated homocysteine that follows from their deficiency) was associated with a roughly sixfold increased risk of generalized anxiety disorder.7PubMed. Association of vitamin B12 mediated hyperhomocysteinemia with depression and anxiety disorder: A cross-sectional study among Bhil indigenous population of India In other words, the B12-anxiety link may be mediated by what happens when B12 drops rather than by B12 itself.

Thiamine (B1) deficiency is less commonly discussed but can produce striking neurological and psychiatric effects, ranging from confusion and sleep disturbance to severe brain damage in extreme cases.8PubMed Central. Neurological, Psychiatric, and Biochemical Aspects of Thiamine Deficiency in Children and Adults Even mild to moderate thiamine deficiency may create a kind of oxygen-deprivation effect in the limbic system and brainstem, which are the brain regions that process emotion and orchestrate the stress response. When those areas aren’t getting what they need, the body’s fight-or-flight reflexes can become exaggerated, producing symptoms that sometimes get misdiagnosed as psychosomatic illness.9PubMed. Thiamine and magnesium deficiencies: keys to disease Thiamine deficiency is often associated with heavy alcohol use, but it can also result from poor diet, digestive conditions that impair absorption, or prolonged vomiting.

Magnesium

Magnesium may be the mineral with the most intuitive connection to anxiety. Animal research has shown that magnesium deficiency causes anxiety-like behavior and dysregulates the body’s central stress-response system, the hypothalamic-pituitary-adrenal (HPA) axis. When mice were fed a magnesium-deficient diet, their stress-hormone signaling ramped up and a brain region involved in stress responses became hyperexcitable. Treatment with diazepam (a standard anti-anxiety drug) normalized the brain activity, suggesting the anxiety produced by magnesium deficiency runs through the same neural circuits that conventional anxiety medications target.10PubMed Central. Magnesium deficiency induces anxiety and HPA axis dysregulation: modulation by therapeutic drug treatment

The human evidence is more tentative. A systematic review of magnesium supplementation studies concluded there is “suggestive but inconclusive” evidence that magnesium supplements help with mild anxiety, including anxiety related to premenstrual symptoms. The review noted that studies used appropriate symptom measures and that a reasonable number had been conducted, but design weaknesses and large placebo responses in most trials made it hard to draw firm conclusions.11PubMed Central. The Effects of Magnesium Supplementation on Subjective Anxiety and Stress—A Systematic Review That said, magnesium deficiency is widespread in modern diets, and the mineral is involved in over 300 enzymatic reactions in the body, so ensuring adequate intake is a low-risk proposition even if the direct anti-anxiety evidence isn’t yet airtight.

Iron Deficiency

Iron deficiency anemia is the world’s most common nutritional deficiency, and its psychiatric consequences extend beyond the fatigue most people associate with it. A large nationwide database analysis found that people with iron deficiency anemia had significantly higher rates of anxiety disorders compared to those without anemia. The same study found elevated rates of depression, sleep disorders, and psychotic disorders in the iron-deficient group.12PubMed Central. Psychiatric disorders risk in patients with iron deficiency anemia and association with iron supplementation medications: a nationwide database analysis

The biological logic is straightforward. Iron is needed to produce dopamine, serotonin, and norepinephrine, the neurotransmitters most directly implicated in mood regulation. Iron also supports the myelin sheath that insulates nerve fibers, so deficiency can slow neural signaling in ways that go beyond just neurotransmitter chemistry. People who menstruate, vegetarians, vegans, frequent blood donors, and those with gastrointestinal conditions that impair absorption are all at higher risk of iron deficiency. If you’re dealing with anxiety alongside fatigue, shortness of breath, or pale skin, iron levels are worth investigating with a blood test.

Zinc and the Copper-Zinc Balance

Zinc has emerged as a nutrient of interest in anxiety research, though much of the work is still in the realm of systematic reviews and mechanistic studies rather than large clinical trials. A systematic review noted that zinc may reduce anxiety through its influence on GABA activity, serotonin signaling, and neurogenesis, and that it interacts with a receptor called GPR39 that appears to matter for emotional regulation.13Nutrition Reviews. A systematic review of the association between zinc and anxiety Separately, research into zinc and brain-derived neurotrophic factor (BDNF) in brain structures like the hippocampus and amygdala, both critical for processing emotion, points to another pathway through which zinc status could influence mood.14PubMed Central. Interaction between Zinc, GPR39, BDNF and Neuropeptides in Depression

An interesting twist in the zinc story is that zinc doesn’t act alone. Research has found that people with anxiety tend to have not just lower zinc but also higher copper levels. This imbalance may matter more than either mineral’s absolute level. Low zinc may reduce GABA and glutamate availability, creating an anxiety-promoting neurochemical environment, and the researchers suggested that zinc supplementation could help by raising GABA levels.15PubMed Central. Decreased Zinc and Increased Copper in Individuals with Anxiety Zinc and copper compete for the same absorption pathways in the gut, so supplementing one can lower the other. If you’re considering zinc supplements, it’s worth getting both minerals tested rather than blindly adding zinc, since excess zinc can create a copper deficiency with its own neurological consequences.

Selenium

Selenium is a trace mineral that doesn’t get as much attention as the nutrients above, but there is evidence linking it to anxiety. In patients with euthyroid nodular goiter (a thyroid condition where thyroid hormone levels are actually normal), researchers found that lower selenium levels were associated with higher anxiety and depression scores. The relationship held even after accounting for thyroid hormone levels, suggesting that selenium’s link to anxiety isn’t just a byproduct of thyroid dysfunction. The proposed explanation centers on selenium’s role in protecting against oxidative stress: when selenium is low, oxidative damage in the brain increases, and that damage appears to promote anxiety.16PubMed Central. The Relationship between Iodine and Selenium Levels with Anxiety and Depression in Patients with Euthyroid Nodular Goiter

Selenium is found in Brazil nuts, seafood, organ meats, and grains grown in selenium-rich soil. Soil selenium content varies enormously by region, which means dietary intake can differ dramatically depending on where your food was produced. Selenium has a narrower safe range than most minerals: the difference between too little and too much is small, so supplementation should be approached with more caution than, say, magnesium or vitamin D.

Why Deficiencies Tend to Travel Together

In practice, people rarely have just one nutritional deficiency. A diet low in zinc is often also low in iron, magnesium, and B vitamins. Digestive conditions like celiac disease, inflammatory bowel disease, or chronic gastritis can impair absorption across the board, creating simultaneous shortfalls in multiple nutrients. Alcohol use depletes thiamine, magnesium, and zinc at the same time. This clustering means that when someone’s anxiety has a nutritional component, the cause is often not a single missing nutrient but a pattern of inadequacy.

Thiamine and magnesium deficiencies, for example, have been specifically flagged as co-occurring conditions that reinforce each other.9PubMed. Thiamine and magnesium deficiencies: keys to disease Magnesium is needed for thiamine to be converted into its active form, so being low in magnesium effectively worsens the functional impact of low thiamine. Similarly, as noted earlier, B12 and folate deficiencies compound each other’s effects on homocysteine levels, which in turn affect anxiety risk.6PubMed Central. Vitamin B12, Folate, Homocysteine, Inflammatory Mediators (Interleukin-6, Tumor Necrosis Factor-α and C-Reactive Protein) Levels in Adolescents with Anxiety or Depressive Symptoms This interdependence is why broad dietary improvement tends to outperform single-nutrient supplementation for mental health.

The Risks of Over-Supplementing

Given how many nutrients are linked to anxiety, it’s tempting to load up on supplements. That instinct can backfire. Multiple studies have found a strong correlation between excessive vitamin intake and neurological problems, with vitamins A, B6, and folic acid specifically flagged for toxic effects on the nervous system when taken in excess.17PubMed Central. Toxic Effects of Excess Vitamins A, B6, and Folic Acid on the Nervous System High-dose B6 supplementation, for instance, can cause peripheral neuropathy, a painful nerve condition, which is ironic given that B6 deficiency also causes neurological problems. The therapeutic window for some of these nutrients is narrower than supplement marketing suggests.

Iron supplementation is another area where more is not better. Iron is a pro-oxidant at high levels, meaning excess iron promotes the same oxidative damage that iron deficiency contributes to. Taking iron supplements without a documented deficiency is generally a bad idea. The same applies to selenium, where toxicity symptoms can appear at doses not far above the recommended intake. The safest approach is to get tested before supplementing, particularly for iron, zinc, copper, and selenium, where blood tests are readily available and informative.

What Testing Actually Looks Like

If you suspect nutritional deficiency might be contributing to your anxiety, most of the relevant nutrients can be assessed with standard blood tests. Vitamin D is measured as 25-hydroxyvitamin D, and results below about 20 ng/mL are generally considered deficient. Serum B12 and folate are routine blood draws, though homocysteine levels can provide additional context because they rise when either nutrient is low. Serum ferritin is the most useful early marker for iron stores, often catching depletion before hemoglobin drops enough to qualify as full-blown anemia. Magnesium is trickier: standard serum magnesium tests catch only severe deficiency because the body tightly regulates blood magnesium even when tissue stores are low. Some clinicians use red blood cell magnesium as a slightly more sensitive marker. Zinc and copper can be tested simultaneously, which is useful given their interplay.

A few practical notes: these tests are most informative when done fasting. Some labs will run a comprehensive panel that covers most of these in one draw. If your doctor is hesitant to order broad nutritional testing for anxiety, you can focus the request on the nutrients most commonly deficient in your demographic. Premenopausal women should especially consider iron and vitamin D. Vegans and vegetarians should prioritize B12, iron, and zinc. People over 50 are at higher risk for B12 deficiency due to declining stomach acid production. Anyone with a GI condition that affects absorption has reason to test broadly.

When Deficiency Isn’t the Explanation

It would be misleading to suggest that nutritional deficiency is behind most cases of anxiety. Anxiety disorders are complex, with genetic, psychological, social, and physiological drivers that frequently have nothing to do with what you eat. Nutritional deficiency is one contributing factor among many, and probably not the primary one for most people. The research connecting nutrients to anxiety generally shows associations and modest effects, not the kind of dramatic cause-and-effect relationships that would make a vitamin a replacement for therapy or medication.

Where the nutritional angle is most worth pursuing is in cases where anxiety is new, worsening without a clear psychological trigger, or accompanied by physical symptoms that suggest deficiency (fatigue, numbness, muscle cramps, hair loss, frequent infections). It’s also worth considering if you’ve recently changed your diet, started a medication that depletes nutrients (certain antacids reduce B12 absorption, for instance), or have a condition that impairs absorption. In these situations, checking nutrient levels is a relatively cheap step that sometimes reveals a treatable contributor to what might otherwise be attributed entirely to stress or temperament.