Higher vitamin D levels were associated with longer and less interrupted sleep in middle-aged and older adults, according to a study led by researchers at the Johns Hopkins Bloomberg School of Public Health in collaboration with scientists at the National Institute on Aging.
The team examined blood-test measurements of vitamin D and wrist-worn actigraph sleep data from 460 people enrolled in an ongoing study. They found that higher vitamin D levels were tied to longer total sleep time and shorter wake intervals, while vitamin D deficiency was associated with less total sleep.
The study appeared online in The Journal of Gerontology: Medical Sciences.
“These findings suggest that we should investigate more thoroughly whether boosting vitamin D levels can improve sleep health,” said senior author Adam Spira, PhD, MA, a professor in the Department of Mental Health at the Bloomberg School and a core faculty member of the Johns Hopkins Center on Aging and Health.
First author Diefei Chen is a PhD candidate in the Bloomberg School’s Department of Epidemiology.
The authors also emphasized that the research was serial cross-sectional, meaning it offered a series of snapshots over time rather than proof that vitamin D causes better sleep.
Sleep problems are common in older adults and have been linked to increased risks of dementia, diabetes, cardiovascular disease and other conditions. Vitamin D deficiency or insufficiency is also widespread in this age group and has been associated in previous studies with poorer sleep quality. Some clinical trials of vitamin D supplements have suggested sleep benefits, although those studies were small and relatively homogeneous.
Chen, Spira and colleagues conducted the new analysis in a larger and more diverse group, using actigraphy-based sleep measures and blood-based vitamin D levels. The participants were 460 men and women, with an average age of about 71, assessed as part of the National Institute on Aging Intramural Research Program’s long-running Baltimore Longitudinal Study of Aging.
Because sleep and vitamin D can vary with age, race, sex and other factors, the researchers adjusted for those possible confounders. Even after that adjustment, they still found significant links between higher serum vitamin D concentrations and better sleep quality. For instance, participants in the highest vitamin D group slept nearly 20 minutes longer per night on average and had shorter wake intervals than those in the lowest group.
When participants were classified using standard clinical categories—deficiency, insufficiency and normal—the vitamin D-deficient group averaged about 23 minutes less total sleep time.
The associations between vitamin D and sleep were strongest among Black participants.
“Black adults in the United States have a higher prevalence of vitamin D deficiency and sleep disturbances compared to white adults, and may benefit more from increasing vitamin D levels,” Chen said.
The researchers also looked at vitamin B12, since earlier studies have suggested it may influence sleep. Among women, higher B12 levels were associated with less time awake after falling asleep on average. Among men, however, the pattern appeared to go in the opposite direction, with higher B12 linked to more time awake after sleep onset. The statistical evidence for these findings was inconclusive.
The authors noted several limitations. They could not separate vitamin D sources such as diet, sunlight exposure or supplements. Future studies could examine whether the relationship differs by source. Another next step would be to study how vitamin D levels relate to sleep patterns over time.
The researchers said the findings add support to the idea that maintaining healthy vitamin D levels may help improve sleep.
“Association of Vitamin D and B12 Levels with Actigraphic Sleep in Cognitively Unimpaired Middle-Aged and Older Adults” was co-authored by Diefei Chen, Jill Rabinowitz, Fan Wu, Zhikui Wei, Yang An, Jennifer Schrack, Toshiko Tanaka, Chee Chia, Mark Wu, Sarah Wanigatunga, Luigi Ferrucci, Eleanor Simonsick and Adam Spira.
More from Digilifetrends
A 30-Second Breakfast Habit That May Support a Sluggish Liver and Ease Bloating
If your mornings begin with a heavy, puffy feeling and you still run into an afternoon energy crash even while eating carefully, don’t be hard on yourself. That stubborn midlife…
4 min read · Published 2026-11-29Could energy drinks with high caffeine raise the risk of heart disease?
A can of energy drink can look harmless, but some of these beverages contain very high levels of caffeine along with other stimulants.
2 min read · Published 2026-11-29Marijuana Use and Stroke Risk: What the Study Suggests
Could using marijuana once or twice a week affect the blood vessels that feed the brain? A large U.S. study points to a possible warning sign, but it does not prove that cannabis…
3 min read · Published 2026-11-29