Vitamin D and Mental Health: What the Research Says About Anxiety and Depression
Understand the research on vitamin D, mood, and practical ways to support your health.
Advertiser Disclosure: WOWMD independently vets all recommended products. If you purchase a featured product, we may be compensated. Learn why you can trust us.

Your mood, energy and ability to handle stress depend on many things, and nutrition is one of them. Vitamin D is one of the most studied nutrients in mental health research, and low levels are common. But the science behind it is more nuanced than most headlines suggest.
This guide covers what vitamin D does in the brain, what the major studies actually found, who is most likely to be low, and practical steps for keeping your levels healthy.
Key Takeaways
- Vitamin D receptors are found throughout the body, including in brain regions involved in mood.
- Low vitamin D levels are linked with depression, but studies haven’t proven that deficiency causes it.
- A large five-year trial found that vitamin D3 did not prevent depression in adults over 50 who weren’t depressed and mostly had adequate levels.
- Meta-analyses suggest a modest benefit for people who already have depressive symptoms, though researchers disagree on who benefits most.
- Evidence on vitamin D and anxiety is still limited.
- A 25-hydroxyvitamin D blood test is the best first step before supplementing.
How Vitamin D Works in the Body
Vitamin D works more like a hormone than a typical vitamin. Understanding how the body makes and uses it helps explain why researchers suspect a link with mood.
From Sunlight to Active Hormone
Your skin makes vitamin D3 when exposed to sunlight, and you can also get vitamin D from food and supplements. According to WebMD, the body transports vitamin D to the kidneys and liver, where it converts into an active hormone that helps the body absorb calcium.
Receptors in the Brain
WebMD notes that your muscles, heart, brain and immune system all have vitamin D receptors. Wellness Road Psychology, a New York therapy practice, explains that these receptors are present in brain areas involved in mood regulation, including the hippocampus and prefrontal cortex.
Vitamin D and Brain Chemistry
Researchers believe vitamin D influences mood through several pathways. A 2025 meta-analysis in Frontiers in Psychiatry describes vitamin D’s roles in supporting neuron development, balancing neurotransmitters such as dopamine and serotonin, and reducing inflammation in the brain. A fact check from TU Dresden adds that vitamin D is essential for keeping serotonin at normal levels.
These mechanisms are plausible, but plausibility isn’t proof. The clinical trials tell a more complicated story.
READ MORE: Vitamin D and Bone Health: Is Vitamin D Good For Bones?
What the Research Says About Vitamin D and Depression
The link between vitamin D and depression has been studied for decades. Two questions matter most: whether low vitamin D causes depression, and whether supplements help.
The Link Is Real, but Cause Is Unclear
WebMD reports that low vitamin D levels may contribute to depression, seasonal affective disorder and schizophrenia in adults. However, it also notes that studies haven’t proven deficiency causes depression. People with depression may simply have lower levels.
The relationship may run both ways. TU Dresden points out that depression itself may cause low vitamin D, since people who are depressed may not feel like going outside. WebMD adds that many groups at high risk of depression, such as older adults and people with chronic illness, are also prone to low vitamin D.
The Largest Trial Found No Prevention Benefit
The biggest test of vitamin D for depression is the VITAL-DEP trial, published in JAMA in 2020. Researchers gave 18,353 adults aged 50 and over either 2,000 IU of vitamin D3 daily or a placebo, and followed them for a median of 5.3 years.
The result: no significant difference in depression risk or mood scores between the two groups. The authors concluded their findings do not support using vitamin D3 to prevent depression in adults. One important caveat is that participants didn’t have depression at the start and most already had adequate vitamin D levels, which may have limited any effect.
Supplements May Help People Who Already Have Depression
Studies of people who already have depressive symptoms paint a different picture. A 2024 meta-analysis of 18 trials in the Journal of Affective Disorders found vitamin D supplementation produced a small overall reduction in depression scores. The benefit appeared in adults with depression whose blood levels were above 50 nmol/L, but not in those below it. Supplements did not prevent depression in people without it.
The 2025 meta-analysis in Frontiers in Psychiatry pooled 20 trials and found a moderate but statistically significant improvement in depressive symptoms. The authors suggested vitamin D may work best as an add-on to other treatment, particularly in people with a deficiency. They also noted that the improvement on one common depression scale fell short of what’s considered clinically meaningful, and that results varied widely between studies.
The two analyses disagree on whether deficient or non-deficient people benefit more. That’s a sign the science is still developing.
What the Research Found
|
Study |
Who Was Studied |
What It Found |
|
VITAL-DEP trial (2020) |
18,353 adults aged 50+ without depression |
No prevention benefit from 2,000 IU of D3 daily over about 5 years |
|
18 trials in adults |
Small benefit for people with depression and blood levels above 50 nmol/L |
|
|
Frontiers in Psychiatry (2025) |
20 trials in adults |
Moderate improvement in depressive symptoms, with wide variation between studies |
What About Vitamin D and Anxiety?
Anxiety has received far less research attention than depression, and the evidence is weaker.
Wellness Road Psychology describes the evidence on anxiety as still emerging, with more large-scale studies needed. In the Frontiers in Psychiatry analysis, vitamin D did not significantly change scores on a combined measure of depression, anxiety and stress.
WebMD lists anxiety among the symptoms that low vitamin D can share with depression. That makes testing worthwhile if anxiety is part of the picture, but it isn’t a reason to expect a supplement to resolve it.
Who Is Most at Risk of Low Vitamin D
Low vitamin D is common, and certain groups face a higher risk. Knowing whether you’re in one of them helps you decide whether testing makes sense.
Common Risk Factors
According to WebMD, higher-risk groups include:
- People who live far from the equator
- Older adults
- People with darker skin, since higher melanin reduces how much vitamin D the skin produces
- People with liver disease, kidney disease or celiac disease
Wellness Road Psychology adds people who spend most of their time indoors and those who wear sunscreen often.
The Seasonal Connection
Sunlight is the body’s main source of vitamin D, so levels tend to dip in darker months. TU Dresden notes that vitamin D deficiencies are mainly caused by the lack of sunlight in winter. The VITAL-DEP trial authors also note that low vitamin D has been hypothesized to play a role in seasonal affective disorder.
READ MORE: Vitamin D Deficiency: Causes, Symptoms & Treatment
Practical Tips for Managing Your Vitamin D Levels
Knowing that vitamin D matters is one thing. These steps help you act on it sensibly.
Get Tested First
The most accurate way to check your status is a 25-hydroxyvitamin D blood test, according to Wellness Road Psychology. TU Dresden advises checking for deficiency with a doctor, and using supplements with caution without medical advice.
Include Vitamin D-Rich Foods
Food alone rarely corrects a deficiency, but it helps. Wellness Road Psychology lists these sources:
- Fatty fish, such as salmon, sardines, mackerel and tuna
- Egg yolks
- Beef liver
- Fortified milk, orange juice and breakfast cereals
- Cod liver oil
Use Sunlight Wisely
For fair-skinned people, about 10 to 30 minutes of midday sun on bare arms and legs two to three times a week is often enough, according to Wellness Road Psychology. People with darker skin may need more time. Sunscreen, windows and clothing block the UVB rays your skin needs, so exposure must be direct.
Consider a Supplement if You Need One
If testing shows you’re low, a supplement can help fill the gap. VitaSun Vitamin K2+D3 combines vitamin D3 with vitamin K2 (MK-7) and is formulated to support bone health, calcium utilization, muscle function and immune wellness.* It’s vegan-friendly, made without artificial additives, GMOs or gluten, and third-party lab tested. The suggested use is one capsule daily.
Don’t Rely on Vitamin D Alone
Vitamin D isn’t a standalone treatment for depression or anxiety. Wellness Road Psychology recommends treating it as one part of a broader plan that may include therapy, lifestyle changes and medication. If you’re struggling with your mental health, speak to a doctor or mental health professional.
FAQs
Why trust our experts?
See Our Editorial Policy > Meet Our Health Expert NetworkThe WOWMD Staff category features a diverse team of writers, each bringing specialized knowledge in areas such as nutrition, fitness, wellness, and more. Articles in this category benefit from insights provided by multiple experts. All content is peer-reviewed and regularly updated to ensure compliance with our editorial standards.
This article is for informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Statements made on this website have not been evaluated by the U.S. Food and Drug Administration. Always consult a qualified healthcare professional before making changes to your diet, supplements, medications, or healthcare routine.
SUBSCRIBE & SAVE MORE!
Subscribe to your favorites WOWMD® supplements and enjoy flexible deliveries, easy account control, and savings on select products. FREE U.S. SHIPPING on orders over $60!
Shop Subscribe & Save









