Quick answer
Certain deficiencies — notably vitamin D, B12, folate, and magnesium (a mineral) — can contribute to anxiety and low mood, and correcting a genuine deficiency may help. But most anxiety isn't caused by a vitamin deficiency, so it's about checking and fixing a real shortfall, not assuming vitamins are the answer.
Which deficiencies are linked to anxiety
Some nutrient deficiencies are associated with anxiety and mood problems. Vitamin D deficiency (common, especially in low-sunlight climates) is linked to worse mood and anxiety. Low B12 and folate can cause fatigue, brain fog, low mood, and anxiety-like symptoms — particularly in vegetarians and vegans, older adults, and some medication users. Magnesium (technically a mineral) is involved in nervous-system regulation, and low levels are linked to anxiety. Iron deficiency can cause symptoms that overlap with anxiety too. When these are genuinely low, correcting them can improve how you feel, including reducing anxiety.
The important caveat
The key nuance: these deficiencies contribute to anxiety mainly when you're actually deficient — and most anxiety isn't caused by a vitamin deficiency. If your levels are normal, supplementing won't specifically reduce anxiety, and some vitamins cause harm in excess. The marketing of 'anxiety vitamins' far outruns the evidence; treating anxiety as simply a vitamin problem can delay approaches that actually work. So the realistic framing is: a deficiency can be one contributing factor worth checking and correcting, but it's rarely the whole story, and vitamins aren't a cure for an anxiety disorder. Fix a real shortfall, but don't expect a supplement to do therapy's job.
The practical approach
Rather than guessing with a cabinet of supplements, the sensible approach is to check for deficiencies if you have reason to suspect them — particularly if you have overlapping symptoms (fatigue, low mood alongside anxiety) or risk factors (limited sun exposure, plant-based diet, certain conditions or medications). A doctor can test vitamin D, B12, folate, and iron, and you can then correct any genuine deficiency at sensible doses. A varied diet and some daylight cover most people's needs. Think of checking for deficiencies as ruling out and fixing a possible physical contributor — a reasonable part of a thorough approach — while the core anxiety treatment remains exercise, sleep, stimulant reduction, and, where needed, therapy.
Why causes matter — and their limits
Understanding what feeds your anxiety helps you make smart changes, but you don't need to find 'the' cause to recover. Modern treatment works on the maintaining loop — how anxiety sustains itself today — which is why therapy helps even when the original trigger is unclear. A professional can help with both.
This article is for general information only and is not medical advice, diagnosis, or treatment. Always consult a qualified health professional about your situation. If you are in crisis, contact your local emergency number or a crisis line immediately.