Sleep

Association of Vitamin D and B12 Levels with Actigraphic Sleep in Cognitively Unimpaired Middle-Aged and Older Adults.

TL;DR

Higher vitamin D levels are associated with longer and less disturbed sleep in middle-aged and older adults, with associations stronger among Black participants, while B12 associations with sleep differed by sex.

Key Findings

Higher vitamin D concentration was associated with longer total sleep time in middle-aged and older adults.

  • B = 23.63 minutes, 95% CI: 9.62, 37.64
  • Study included 460 participants aged 40 and older (mean age 70.9±12.0 years)
  • Sample was 52.8% female and 22.2% Black
  • Data came from the Baltimore Longitudinal Study of Aging

Higher vitamin D concentration was associated with shorter average wake bout length, indicating less disturbed sleep.

  • B = -0.29 minutes, 95% CI: -0.50, -0.09
  • Wake bout length is a measure of sleep fragmentation
  • Sleep was measured actigraphically rather than by self-report

Vitamin D deficiency was associated with shorter total sleep time.

  • B = -23.03 minutes, 95% CI: -42.05, -4.01
  • The magnitude of this deficit was approximately 23 minutes less sleep per night
  • This finding held in cognitively unimpaired adults

The associations between vitamin D and sleep were stronger among Black participants than in the overall sample.

  • Race was examined as an effect modifier of the vitamin D-sleep association
  • The sample was 22.2% Black
  • This interaction suggests differential impact of vitamin D status on sleep across racial groups

Higher vitamin B12 was associated with shorter wake after sleep onset in women but longer wake after sleep onset in men.

  • Sex was examined as an effect modifier of the B12-sleep association
  • The direction of the B12-WASO association was opposite between sexes
  • This sex-differential finding applied to wake after sleep onset (WASO), a measure of nighttime wakefulness

B12 insufficiency or deficiency was associated with longer total sleep time in men but shorter total sleep time in women.

  • The association between B12 status and total sleep time differed by sex
  • Both insufficiency and deficiency categories were grouped together for this analysis
  • This sex-divergent pattern was also observed for the continuous B12-WASO association

The study examined five actigraphic sleep outcomes as dependent variables.

  • Outcomes included total sleep time (minutes), sleep efficiency (%), sleep onset latency (minutes), wake after sleep onset (minutes), and average wake bout length (minutes)
  • Actigraphy was used rather than self-reported sleep measures or polysomnography
  • Participants were cognitively unimpaired and aged 40 years and older

What This Means

This research suggests that having higher levels of vitamin D in the blood is linked to sleeping longer and waking up less during the night among middle-aged and older adults who do not have cognitive impairment. Specifically, people with higher vitamin D levels slept about 23 minutes more per night and had shorter individual wake periods when they did wake up during the night. People classified as vitamin D deficient slept about 23 minutes less per night compared to those with adequate levels. These findings were based on wrist-worn activity monitors (actigraphy) that objectively tracked sleep, rather than relying on participants' own reports of how well they slept. The study also found that the connection between vitamin D and sleep was especially pronounced among Black participants. For vitamin B12, the picture was more complicated: higher B12 was linked to less nighttime waking in women but more nighttime waking in men, and B12 deficiency or insufficiency was associated with longer sleep in men but shorter sleep in women. This suggests that the relationship between B12 and sleep may work differently depending on a person's sex. This research matters because poor sleep in older adults is associated with a range of health problems, and vitamin D and B12 deficiencies are common in this age group. The study involved 460 adults from the Baltimore Longitudinal Study of Aging, with an average age of about 71 years. While these findings show associations rather than cause and effect, the authors note that future studies should investigate whether correcting low vitamin D levels through supplementation or other means could improve sleep quality and related health outcomes.

Check Your Own Numbers

Upload your bloodwork. We'll cross-reference your results against this study and 4,700 others.

Upload Your Labs

Have a question about this study?

Citation

Die-Fei Chen, Jill A. Rabinowitz, Fan Wu, Zhi-Kui Wei, Yang An, J. Schrack, et al.. (2026). Association of Vitamin D and B12 Levels with Actigraphic Sleep in Cognitively Unimpaired Middle-Aged and Older Adults.. The journals of gerontology. Series A, Biological sciences and medical sciences. https://doi.org/10.1093/gerona/glag212