Vitamin and Mineral Deficiencies Linked to Anxiety

Which deficiencies linked to anxiety hold up when you read the studies, which are association only, and why testing beats guessing.

Search for deficiencies linked to anxiety and you will be told that low magnesium, vitamin D, zinc or iron is why you feel on edge. The research separates into two piles: one nutrient with a genuine causal record, and several with a correlation nobody has shown runs in the direction people assume.

Key Takeaways

  • Vitamin B12 is the one that can genuinely cause psychiatric symptoms — and it can do so without anaemia (6).
  • Vitamin D has the most trial support: 31 randomised trials, 24,189 people (2).
  • Magnesium looks promising but reviewers called the evidence quality poor (3).
  • Zinc and iron are association only — low levels travel with depression, which is not the same as causing it (4), (5).
  • The best attempt at proving cause found no shared causal variants in its own validation step (8).

The Deficiencies Linked to Anxiety, One by One

NutrientWhat the evidence actually showsHow strong is it
Vitamin DLower levels in people with depression across 31,424 participants, and a more than doubled hazard in cohort studies (1). Unlike the others, it also has trial evidence: 31 randomised trials in 24,189 people found each extra 1,000 IU a day slightly reduced depressive symptoms (2)Strongest of the group — the only one with large randomised trials behind it
MagnesiumA review of 18 studies found a suggestive benefit for subjective anxiety, but only in samples already vulnerable to it (3)Weak. The reviewers called the quality of existing evidence poor (3)
ZincBlood zinc was about 1.85 µmol/L lower in depressed people across 17 studies, and more severe depression went with greater relative deficiency (4). Higher dietary zinc intake went with lower depression risk (5)Association only. No trial showing supplements fix it
IronHighest versus lowest dietary iron intake was associated with lower depression risk, RR 0.57 (5)Thin — that pooled figure rests on just three studies (5)
Vitamin B12Can genuinely cause psychiatric symptoms. In 141 patients whose neuropsychiatric problems were caused by B12 deficiency, 28% had no anaemia at all (6), and reviews list anxiety among the presentations (7)Real, but only if you are actually deficient

Vitamin B12: the one with a real causal claim

This is the strongest case in the list, and it is strong for a specific reason.

In a New England Journal of Medicine study of 141 consecutive patients whose neuropsychiatric abnormalities were caused by cobalamin deficiency, 40 of them — 28% — had no anaemia and no macrocytosis (6). The blood count that would normally raise suspicion was clean. Of those treated, 39 of 39 improved (6). A review of the neuropsychiatric picture lists anxiety alongside depression, psychosis, dementia and delirium as presentations where B12 deficiency can play a causal role, together with apathy, agitation, impaired concentration and insomnia (7).

That is a genuine cause, not a correlation. It is also the reason the answer is a blood test rather than a supplement bought on assumption. We cover the testing thresholds in detail in our guide to vitamin B12 deficiency.

Vitamin D: the best trial evidence

Vitamin D started where the others still are. A meta-analysis across 31,424 participants found lower vitamin D in depressed people, and a hazard ratio of 2.21 in the cohort studies comparing lowest with highest (1). Its authors were careful: consistent with the hypothesis, trials needed to determine whether it is causal (1).

Those trials arrived. A dose-response meta-analysis of 31 randomised trials in 24,189 participants found each 1,000 IU a day slightly reduced depressive symptoms, standardised mean difference −0.32, moderate certainty on GRADE (2). The effect was larger in people who already had depressive symptoms, −0.57 (2).

Modest, but real — and the only nutrient here that has cleared that bar.

Magnesium: popular, thinly evidenced

Magnesium is the supplement most often marketed for anxiety, so the evidence deserves a close look.

A systematic review of 18 studies concluded the evidence is suggestive of a benefit for subjective anxiety (3). Two qualifiers matter more than that headline. Every study recruited people already vulnerable to anxiety — mildly anxious, premenstrual syndrome, postpartum, hypertension — so none of it speaks to the general population (3). And the reviewers stated directly that the quality of the existing evidence is poor (3). The review also discloses that one author sat on a consumer healthcare company’s advisory board (3).

Zinc and iron: real associations, unproven direction

Zinc shows one of the more consistent associations. Across 17 studies covering 1,643 depressed and 804 control subjects, blood zinc was about 1.85 µmol/L lower in depressed people, and greater depression severity went with greater relative zinc deficiency (4). Separately, people with the highest dietary zinc intake had a lower risk of depression than those with the lowest, with a pooled relative risk of 0.67 (5).

For iron, the same analysis found a relative risk of 0.57 comparing highest with lowest dietary intake — but that number pools only three studies (5). What is far better established about iron is ordinary: deficiency causes fatigue, weakness and poor concentration, which overlap heavily with how anxiety feels. If low iron is the suspicion, our guide to raising oxygen levels in the blood covers the food side of it — and supplementing blind is a bad idea, because excess iron is not harmless.

The Problem Nobody Mentions: Which Way Does It Run?

The questionWhat people assumeWhat the studies support
Does low vitamin D cause low mood?Yes, low level causes the moodThe meta-analysis authors said only that the findings are consistent with the hypothesis, and called for trials to determine whether the link is causal (1)
Does being depressed lower the nutrient?Rarely consideredPlausible for most of them: appetite, diet quality and time spent outdoors all change with low mood, which moves the very levels being measured
Do supplements prevent anxiety?Widely assumedA genetic study found suggestive protective signals for magnesium, vitamin C and selenium, but its own colocalisation analysis found no evidence of shared causal variants (8)

This is the part that decides how much any of it is worth.

Almost every finding above is observational: low levels measured in people who already have anxiety or depression. But low mood changes appetite, diet quality and time spent outdoors — precisely the mechanism that sets vitamin D. The nutrient level can be a consequence rather than a cause, and a cross-sectional study cannot tell the two apart.

The most rigorous attempt to settle it used Mendelian randomisation, which leans on genetic variants to approximate a natural experiment. It found significant protective signals for vitamin C, magnesium and selenium against anxiety disorders (8). Then its own validation step undercut it: the colocalisation analysis found no evidence of shared causal variants for any of them (8). The authors described their genetic evidence as suggestive, which is the honest word for it.

What To Actually Do

Two blood sample tubes with purple and red caps lying on a pale green surfaceSave
Photo: Kaboompics.com / Pexels

Testing beats guessing, and it is not a difficult ask.

If you have persistent fatigue, brain fog or low mood plus a reason to suspect a shortfall — a restricted or unsupplemented plant-based diet, long-term acid-reducing medication, metformin, heavy periods, pregnancy, or being over 60 — the sensible step is a blood test, not a shelf of supplements. B12, ferritin and vitamin D are ordinary requests.

Supplementing blind has two problems: you may treat a deficiency you do not have, and some nutrients are risky in excess, iron most of all. A balanced diet covers the great majority of people.

And the thing worth saying plainly: anxiety is a medical condition with treatments that work. Correcting a nutrient level is not a replacement for that, and if anxiety is affecting your life, that is a conversation with a health professional.

If you are considering a mineral supplement, note that too much can also cause harm; our guide to selenium side effects is one example.

Frequently Asked Questions

Which vitamin deficiency causes anxiety?

No single deficiency has been shown to cause anxiety in the way the question implies. The one with a genuine causal track record is vitamin B12, where a real deficiency can produce psychiatric symptoms including anxiety, and it can do so without anaemia: in a New England Journal of Medicine series of 141 patients with neuropsychiatric problems caused by cobalamin deficiency, 28% had neither anaemia nor macrocytosis. For vitamin D, magnesium, zinc and iron the picture is association rather than proven cause. Low levels are found more often in people with anxiety or depression, but that is not the same as those levels being the reason.

Can low vitamin D cause depression or anxiety?

Low vitamin D is consistently found alongside depression. A systematic review and meta-analysis covering 31,424 participants found lower vitamin D in depressed people and, in the cohort studies, a hazard ratio of 2.21 for depression in the lowest versus highest vitamin D group. Its authors were careful, saying the results are consistent with the hypothesis and that trials were needed to settle causality. Those trials have since accumulated: a dose-response meta-analysis of 31 randomised trials in 24,189 adults found each 1,000 IU a day slightly reduced depressive symptoms, with a bigger effect in people who already had depressive symptoms. That makes vitamin D the best supported of the nutrients discussed here, though the effect sizes are modest.

Does magnesium help with anxiety?

Possibly, but the evidence is thinner than the marketing suggests. A systematic review of 18 studies concluded the evidence is suggestive of a beneficial effect on subjective anxiety, with an important qualifier: every study recruited people already vulnerable to anxiety, such as mildly anxious participants or those with premenstrual syndrome, and the reviewers described the quality of the existing evidence as poor. They called for well designed randomised trials. Worth knowing too that one of the review’s authors sat on a consumer healthcare company’s advisory board, disclosed in the paper itself.

Can low iron make you anxious?

The direct evidence is thin. A meta-analysis found people with the highest dietary iron intake had a lower depression risk than those with the lowest, relative risk 0.57, but that pooled only three studies. Better established is that iron deficiency causes fatigue, weakness and poor concentration, which overlap heavily with how anxiety feels. If you are tired and on edge, a full blood count and ferritin are reasonable things to ask about.

Should I just take a multivitamin for anxiety?

Taking a supplement for a deficiency you have not confirmed is guessing, and some nutrients carry real risks in excess, iron in particular. If you have symptoms and a reason to suspect a shortfall, test for it. And anxiety is a medical condition with effective treatments: correcting a nutrient level is not a substitute for that care.

Is there proof that supplements prevent anxiety?

Not yet. The most rigorous attempt so far used Mendelian randomisation, which uses genetic variants to get closer to cause and effect than ordinary observational studies can. It found suggestive protective signals for vitamin C, magnesium and selenium against anxiety disorders. But the same paper’s colocalisation analysis found no evidence of shared causal variants for any of them, which substantially weakens the finding. The authors themselves described the genetic evidence as suggestive.

The Bottom Line

Of the deficiencies linked to anxiety, vitamin B12 is the only one with a clear causal record, and it can produce psychiatric symptoms even when the blood count looks normal — 28% of patients in the landmark study had no anaemia at all. Vitamin D has the best trial evidence, with 31 randomised trials in 24,189 people showing a modest reduction in depressive symptoms. Magnesium is suggestive but the reviewers themselves called the evidence poor, and zinc and iron are associations whose direction has never been established. The most careful genetic analysis to date found its own protective signals unsupported on validation. All of which points to one practical conclusion: if you suspect a deficiency, test for it, and treat anxiety itself with a professional rather than with the supplement aisle.


This article is for informational purposes only and is not a substitute for professional medical advice. Anxiety and depression are medical conditions that require professional care. Do not start supplements in place of medical treatment, do not stop prescribed medication, and ask your doctor before supplementing iron or high-dose vitamin D.


Vitamin B12 Deficiency: Symptoms, Causes and Treatment

Magnesium vs Melatonin for Sleep: What Trials Show

Gut Health and Mental Health: What the Trials Show

Balanced Diet Guide With the 5 Food Groups

References

  1. 1Br J Psychiatry · PubMedpubmed.ncbi.nlm.nih.gov/23377209
  2. 2Psychol Med · PubMedpubmed.ncbi.nlm.nih.gov/39552387
  3. 3Nutrients · PubMedpubmed.ncbi.nlm.nih.gov/28445426
  4. 4Biol Psychiatry · PubMedpubmed.ncbi.nlm.nih.gov/23806573
+ 11 more sources− Hide 11 sources
  1. 5Psychiatry Res · PubMedpubmed.ncbi.nlm.nih.gov/28189077
  2. 6N Engl J Med · PubMedpubmed.ncbi.nlm.nih.gov/3374544
  3. 7Vitam Horm · PubMedpubmed.ncbi.nlm.nih.gov/35337631
  4. 8Food Sci Nutr · PubMedpubmed.ncbi.nlm.nih.gov/41211168