Does taking vitamin D prevent depression?
A large prevention trial found no clear benefit. That is a different question from treating a deficiency or caring for someone already depressed.

Research explained · Published 2020
An association is a starting question
People with low vitamin D sometimes have poorer mood. But health, time outdoors, diet and illness can influence both. Giving a supplement in a randomized trial helps test whether changing vitamin D itself changes depression risk, rather than assuming the association supplies the answer.
What happened over five years?
Depression-related events occurred at similar rates in the supplement and placebo groups. The estimated relative effect was close to no difference, and the uncertainty interval included both a modest reduction and a modest increase. Mood-score changes were also essentially alike. That is useful evidence against selling vitamin D as a general depression-prevention measure in this population.
Why the population matters
The result applies most directly to the older adults and prevention setting studied. Most were not vitamin D deficient. It cannot be used to tell somebody with a documented deficiency to ignore treatment, or to claim that every trial in people already experiencing depression must have the same result. Those are separate questions with different participants and goals.
Do not replace the clinical question with a supplement question
Low mood deserves attention in its own right. A blood test, where clinically appropriate, may identify a nutritional issue, but a bottle cannot stand in for assessment or depression care. The trial does not establish a dose for self-treatment, and taking more than the study amount would not follow logically from a null result.
How to use the finding
Be cautious about promises that a “sunshine vitamin” will prevent depression simply because vitamin D has biological roles. The study had NIH support; manufacturers donated study agents, and the paper reports relevant author relationships. Its strongest contribution is a clear answer to a defined prevention question, not a verdict on every possible use of vitamin D.
Keep three vitamin D questions separate
Prevention
No clear depression-prevention benefit in this large older-adult trial.
Deficiency
Treatment of a diagnosed deficiency is a separate clinical decision.
Existing depression
This trial was not a treatment study for current depression.
Sources & further reading
Study years differ from this article’s publication date. We reviewed the linked research in full, distinguishing original experiments, observational studies and reviews. Access limitations are not used to support efficacy claims. Original illustrations and diagrams; no publisher figures reproduced. Educational writing, not clinical review.
Published 16 October 2026 · Sources checked 16 October 2026. Suggest a correction.