Several vitamin deficiencies are linked to depression, but vitamin D, the B vitamins (especially B12, B9, and B6), and iron have the strongest evidence behind them. In many cases, these nutrients are directly involved in producing the brain chemicals that regulate mood, and running low on them can measurably worsen depressive symptoms.
Vitamin D and Serotonin Production
Vitamin D plays a direct role in how your brain makes serotonin, the neurotransmitter most closely tied to mood regulation. It activates the gene responsible for producing serotonin in the brain, so when vitamin D levels drop, serotonin production can fall with it. Vitamin D also slows down the processes that break serotonin apart and recycle it out of use, effectively keeping more of it available in the brain for longer.
The connection shows up clearly in clinical data. In one study, 30% of patients with depression were deficient in vitamin D, compared to just 5% of people without depression. Among people who had attempted suicide, 58% were vitamin D deficient. Across multiple studies, people with depressive symptoms consistently have lower vitamin D levels than those without, even after accounting for differences in age, sex, and body weight.
Supplementation appears to help. A meta-analysis of 29 trials with over 4,500 participants found that vitamin D3 supplements reduced the incidence of depression and improved symptom scores. A separate analysis focused specifically on major depression found similar benefits across four trials. The evidence is strongest for people who are already deficient rather than those with normal levels looking for a mood boost.
B12 and Folate: The Methylation Link
Vitamin B12 and folate (B9) work together in a single biochemical reaction that converts a compound called homocysteine into methionine. This reaction matters for your brain because methionine feeds into a chain of chemical steps that help regulate neurotransmitters like serotonin, dopamine, and norepinephrine. When B12 or folate is low, that conversion stalls, and homocysteine builds up in the blood.
Elevated homocysteine is directly toxic to nerve cells and blood vessels. It also triggers a chemical backup that interferes with the enzymes your brain uses to process mood-regulating neurotransmitters. High homocysteine levels have been associated with depression, schizophrenia, Alzheimer’s disease, and Parkinson’s disease.
B12 deficiency is far more common than many people realize. It affects about 6% of the general U.S. population, but the rate climbs sharply in certain groups. Up to 52% of vegans show subclinical or clinical signs of B12 deficiency. Among older adults, prevalence ranges from 11% to 90% depending on the population studied, largely because the body’s ability to absorb B12 from food declines with age. A blood level below 200 pg/mL is considered low, and below 150 pg/mL is diagnostic for deficiency.
Vitamin B6 and Neurotransmitter Synthesis
Vitamin B6 serves as a required helper molecule for the enzymes that build serotonin, dopamine, and GABA in the brain. Without enough B6, your body literally cannot complete the final chemical step that turns raw amino acids into these neurotransmitters. Serotonin is made from tryptophan, dopamine from its precursor L-Dopa, and GABA from glutamate, and all three conversions depend on B6.
Because B6 sits at such a fundamental bottleneck in neurotransmitter production, even a mild shortfall can affect mood. The safe upper limit for B6 supplementation is 100 mg per day for adults according to U.S. guidelines, though the European Food Safety Authority set a more conservative ceiling of 12 mg per day in 2023 based on concerns about nerve damage at higher doses. This is worth knowing because B6 is one of the few water-soluble vitamins that can cause problems in excess, specifically peripheral neuropathy (tingling and numbness in the hands and feet).
Iron Deficiency and Depression Severity
Iron is not a vitamin, but it comes up so consistently in research on nutritional causes of depression that it belongs in this conversation. Iron is essential for producing dopamine and other neurotransmitters, and for maintaining the brain structures involved in mood regulation.
The relationship between iron and depression appears across every age group. In adolescents, lower ferritin (the blood marker for iron stores) correlates with more severe depressive symptoms and with measurable changes in brain structure, specifically in regions involved in motivation and reward processing. In older adults, both anemia and low ferritin are associated with depressive symptoms and poorer cognitive performance. One of the starkest findings involves new mothers: low ferritin levels 48 hours after delivery were associated with a nearly four-fold increase in postpartum depression at two and eight months later.
A pilot study of adolescents with iron deficiency anemia found that iron supplementation led to significant reductions in self-reported depression, timed alongside the normalization of their ferritin levels. One important caveat: blood ferritin levels don’t perfectly reflect iron levels in the brain itself, so the relationship is not always straightforward.
Who Is Most at Risk
Vegans and vegetarians face the highest risk for multiple overlapping deficiencies. Vegan diets exclude the primary dietary sources of B12 entirely, and they provide iron and zinc in forms that are harder for the body to absorb. Plant foods contain compounds called phytates that bind to minerals and reduce how much your gut can take in. DHA levels (an omega-3 fat important for brain function) in vegans are roughly 50% lower than in omnivores, which correlates with higher rates of depression and anxiety. Up to 80% of vegans in Europe have insufficient iodine levels, which can cause hypothyroidism, cognitive slowing, and depression.
Older adults are vulnerable because of age-related changes in nutrient absorption, particularly for B12. Pregnant and postpartum women face elevated iron demands and are at high risk for deficiency. In parts of South Asia, where vegetarianism is culturally widespread and access to fortified foods is limited, combined deficiencies in iron, zinc, and B12 affect up to 70% of the population.
What to Do With This Information
If you suspect a nutritional deficiency is contributing to depression, a blood test can check your levels of vitamin D, B12, folate, and ferritin. These are routine, inexpensive tests that most doctors will order readily, especially if you mention mood symptoms or fall into a higher-risk group.
Correcting a deficiency is not a substitute for treating depression through therapy or medication when those are needed. But if your levels are genuinely low, bringing them back to normal can meaningfully improve how you feel. The key is identifying which deficiency, if any, actually applies to you rather than supplementing blindly. Vitamin D and B12 are safe at typical supplement doses, but B6 and iron both carry real risks of toxicity at high levels, so testing first makes a practical difference in how you approach supplementation.

