Nutrition, Exercise & Lifestyle for Brain Health

The Neuroscience of Sunlight and Vitamin D

Updated 2026-11-24 · 3 min read

Illustration for The Neuroscience of Sunlight and Vitamin D

Sunlight does two different things for the brain: it sets the circadian clock and influences mood through the eyes, and it triggers vitamin D production in the skin. Both matter, and the science of each is more nuanced than headlines suggest.

Vitamin D and the brain

Vitamin D is made in the skin from UVB radiation and obtained from fatty fish, fortified foods and supplements. It is converted in the liver and kidneys to the active hormone calcitriol. Vitamin D receptors and the enzymes that activate it are found in brain regions including the hippocampus, prefrontal cortex and hypothalamus, and vitamin D appears to influence neurotransmitter synthesis, neuroprotection, calcium signaling and inflammation.

What studies show

  • Low levels and cognition: observational studies link low vitamin D concentrations with poorer cognitive function, faster decline and higher risk of dementia. A meta-analysis found that severe deficiency was associated with higher risk of Alzheimer's disease and dementia.
  • Supplement trials: randomized trials have largely been disappointing. The large VITAL trial, which gave vitamin D3 to over 25,000 adults, found no benefit on cognitive function or depression in the general population, though people with deficiency were underrepresented. A study in the DO-HEALTH trial found no cognitive benefits from vitamin D supplements in older Europeans. Supplements may help people who are deficient.
  • Depression: observational studies link low vitamin D with depression, but trials of supplementation, including VITAL-DEP, found no preventive effect on depression in general populations.
  • Multiple sclerosis: low vitamin D is a risk factor for developing MS, and research continues on supplementation.
  • Reverse causation and confounding: people who are ill or housebound tend to have low vitamin D, so low levels may be a marker, not a cause.
Original illustration for The Neuroscience of Sunlight and Vitamin D
Original illustration created for this article.

Sunlight beyond vitamin D

Light through the eyes sets the circadian clock, boosts alertness and improves mood. Bright light therapy treats seasonal depression, and outdoor light is associated with better sleep and lower risk of myopia in children. These effects do not require UVB or vitamin D synthesis, and light through windows still helps the clock, although it is much dimmer than outdoor light.

Who is at risk of deficiency

Older adults, people with darker skin living at higher latitudes, those who stay indoors, people with obesity, malabsorption conditions or kidney or liver disease, and exclusively breastfed infants are at higher risk. Latitude and season matter, since at northern latitudes, winter sun is too weak to make much vitamin D.

Practical guidance

  • Get daylight regularly, especially in the morning, for your body clock.
  • Sun exposure for vitamin D: brief exposures, such as 10 to 15 minutes of midday sun on arms and legs for lighter-skinned people a few times weekly in summer, can provide vitamin D, while balancing the risk of skin cancer. People with darker skin need longer exposures. Avoid sunburn, and use sun protection for longer exposure.
  • Dietary sources: salmon, mackerel, sardines, egg yolks, fortified milk, cereals and mushrooms exposed to UV.
  • Supplements: typical recommended daily intakes are 600 to 800 IU for most adults, and higher levels for those with proven deficiency. Doses above 4,000 IU per day risk toxicity, with hypercalcemia. Ask your doctor about a blood test (25-hydroxyvitamin D) if you are at risk.
  • Do not expect supplements to prevent dementia or treat depression in people who are not deficient.

Takeaway

Sunlight supports the brain through the eyes and the skin. Daylight habits matter, and vitamin D is important to correct when deficient, but is not a proven brain booster beyond that.

Further reading from authoritative sources

This article is educational and does not replace advice from a licensed clinician. See the medical disclaimer. Looking for specialist care? Browse the neurology clinic directory.