A recent study in Sleep Medicine found that older adults with mild cognitive impairment and sleep problems who took at least 5,000 IU of vitamin D daily scored 13% higher on cognitive screening tests than those who took none. Brain cells contain vitamin D receptors, which explains why researchers study the vitamin's role in cognition, according to Courtney Smith, M.S., R.D.N., a registered dietitian.

A 2023 study of over 12,000 participants found that people taking vitamin D supplements had a 40% lower rate of dementia compared to those who did not. Another clinical trial showed that 2,000 IU of vitamin D daily had positive effects on cognitive health in older Black adults, who face higher deficiency risk due to higher melanin levels filtering UV rays.

Vitamin D may help reduce cognitive decline by controlling neuroinflammation and oxidative stress, both of which can affect brain function. The vitamin also supports sleep quality, which links to optimal brain performance.

The National Institutes of Health recommends 600 IU daily for adults ages 51 to 70, and 800 IU for those over 70. A National Health and Nutrition Examination Survey found that 65% of Americans have suboptimal vitamin D levels. Few foods naturally contain vitamin D, and sun exposure varies by season and location.

Fatty fish, UV-treated mushrooms, and fortified milk and cereal are dietary sources. Supplements may be necessary, but Danielle Smiley, R.D.N., L.D.N., a registered dietitian nutritionist, cautions that higher doses aren't automatically better. Excessive vitamin D can raise blood calcium levels and cause nausea, muscle weakness, and kidney stones. Talk to a doctor or dietitian before starting a new supplement.