Vitamin D does not prevent depression in older adults who do not have it, and its possible benefit for people who already have depression rests on small, mixed-quality trials. A 2020 trial of 18,353 adults found that 2,000 IU a day of vitamin D3 for a median of 5.3 years made no difference to depression risk or mood scores, [okereke-2020] while a 2026 meta-analysis of 15 trials in 962 people diagnosed with depression found improved symptoms with vitamin D, with high heterogeneity. [liu-2026] This guide covers what both found, why they differ, what they could not show and what to ask a doctor. Our overview of depression covers the condition itself, and our guide to omega-3 for depression covers the other supplement tested in the same large trial.
Does vitamin D help depression?
It depends on the question. For preventing depression in adults who do not have it, the evidence says no. For improving symptoms in people already diagnosed, the evidence is more positive but weaker. Those are two separate findings, and a headline that says only “vitamin D helps depression” or “vitamin D does not help depression” is leaving one of them out.
Can vitamin D prevent depression?
The largest trial found it cannot. The VITAL-DEP trial randomised 18,353 adults aged 50 or over, none with depression or clinically relevant depressive symptoms at the start, to 2,000 IU a day of vitamin D3 (9,181 people) or placebo (9,172 people). It followed them for a median of 5.3 years, and 90.5% completed the trial. [okereke-2020]
Depression or clinically relevant depressive symptoms occurred in 609 people on vitamin D3 (12.9 per 1,000 person-years) and 625 on placebo (13.3 per 1,000 person-years), a hazard ratio of 0.97 (95% confidence interval 0.87 to 1.09). There was no significant difference in new depression (hazard ratio 0.99) or recurrent depression (0.95). Mood scores on the 8-item Patient Health Questionnaire also did not differ: the mean difference in change was 0.01 points (95% confidence interval from 0.04 points better to 0.05 points worse), against a minimum clinically important change of 0.5 points. [okereke-2020]
The authors concluded that the findings do not support the use of vitamin D3 in adults to prevent depression. [okereke-2020]
Does vitamin D help people who already have depression?
The 2026 meta-analysis suggests it might, as an add-on, but the evidence is not firm. It pooled 15 randomised trials with 962 participants who had been diagnosed with depression. Vitamin D supplementation was associated with a significant improvement in depressive symptoms compared with placebo (standardised mean difference 0.98 in favour of vitamin D, 95% confidence interval 0.68 to 1.28). Heterogeneity between trials was high (I-squared of 79%). [liu-2026]
Trial quality limits how far that can be trusted. Of the 15 trials, 6 were rated high risk of bias, 8 moderate and 1 low. When the six high-risk trials were removed, the nine remaining still showed a significant benefit (standardised mean difference 1.03, 95% confidence interval 0.51 to 1.55). [liu-2026]
The analysis also looked at dose. Higher daily doses, particularly up to about 5,000 IU a day, were associated with the greatest reduction in symptoms (a standardised mean difference of 1.44 at 5,000 IU, 95% confidence interval 1.06 to 1.81). The authors describe vitamin D as a possible adjunctive therapy and advise that high-dose use be individualised, with regular monitoring of serum 25-hydroxyvitamin D and calcium. [liu-2026]
Why do the two results point different ways?
Because they answer different questions in different people. The 2020 trial asked whether vitamin D stops depression from starting, in adults whose average vitamin D level was already adequate (about 31 ng/mL), which the authors say limits how far its results apply to people with a deficiency. [okereke-2020] The 2026 meta-analysis asked whether vitamin D improves symptoms in people already diagnosed, using smaller trials with high heterogeneity and mixed quality. [liu-2026]
Observational studies add a third kind of evidence. The 2020 authors cite a meta-analysis in which each 10 ng/mL higher vitamin D level went with a lower depression risk (hazard ratio 0.88), but their own trial and gene-based studies found no benefit, so they conclude that confounding likely played a major role in the observational links. [okereke-2020]
| Question | What the studies found | Caveat |
|---|---|---|
| Prevents depression? | No: hazard ratio 0.97 over 5.3 years (18,353 adults) | Adults aged 50 or over, levels mostly adequate |
| Changes mood scores? | No: 0.01 points on a 0 to 24 scale | Self-reported questionnaire, yearly |
| Helps existing depression? | Yes on average: standardised mean difference 0.98 (15 trials) | High heterogeneity; 6 of 15 trials high risk |
| Best dose? | Greatest effect around 5,000 IU a day | Should be individualised and monitored |
| Low vitamin D a cause? | Not shown: low baseline level was not linked to risk | Limited power for modest effects |
Questions worth taking to a doctor
Tick anything that applies. This is a preparation prompt for a conversation about vitamin D and mood, it cannot diagnose anything and it does not say whether a supplement is right for you.
0 of 6 ticked
Several of these affect whether a supplement is sensible. Bring the list to your appointment.
Enough here to be worth describing to a doctor, including what else you take and what dose you are considering.
None of these stands out as a reason to raise vitamin D first. If your mood is still a problem, a conversation with a doctor is a good start.
The screener is a short self-check based on the PHQ-9, not a diagnosis, and neither it nor this list tells you whether to take vitamin D.
What can this research not show?
It cannot show whether vitamin D will lift your mood, at what dose or for how long. Five limits matter most:
- Prevention and treatment are separate questions. The big trial covers adults without depression, and the meta-analysis covers people with a diagnosis, so neither answers the other’s question. [okereke-2020] [liu-2026]
- The meta-analysis is heterogeneous and uneven in quality. I-squared was 79%, and 6 of 15 trials were at high risk of bias, with lack of adherence assessment the most common problem. [liu-2026]
- The trial’s participants mostly had adequate vitamin D. The authors say the effect may have been attenuated, and that large studies would be needed in people with deficiency. [okereke-2020]
- The biomarker results rest on two trials each. The 2026 analysis found lower parathyroid hormone and TNF-alpha levels, but only two trials contributed to each, so the authors urge caution. [liu-2026]
- Neither covers children or younger adults. The trial results are not generalisable to children or younger adults. [okereke-2020]
What should you ask a doctor?
Ask whether a vitamin D supplement is sensible for you, whether a blood test is worthwhile, what dose is safe alongside your other medicines, and what to do if your mood does not improve. This section is our suggestion and is not something the studies tested. A supplement is not a replacement for treatment, and nothing here is a reason to stop a prescribed medicine.
Our guides to seasonal affective disorder, CBT for depression and diet and depression cover other routes. If you want a rough picture of your mood before an appointment, our PHQ-9 depression screener is a short self-check. It is not a diagnosis, and it does not tell you whether vitamin D is right for you.
When to seek help
Speak to a doctor if low mood has lasted two weeks or more, if it is getting in the way of work, relationships or sleep, or if you are thinking about taking high-dose vitamin D. If you have thoughts of harming yourself or feel unable to stay safe, contact your local emergency services or a crisis helpline.
How MyFreud can help
A record shows a doctor what has and has not helped. Daily mood tracking in MyFreud shows how your days run over weeks, and the notepad is somewhere to note what you took, how you slept and how your mood changed. It does not replace a doctor.
Download MyFreud and start today: App Store or Google Play.