Skip to content
AvonoHealth

Wellness

Vitamin D and Sleep: Higher Levels Tied to Longer Sleep in Study

Adults over 40 with the most vitamin D slept about 19 minutes longer a night in a Johns Hopkins study. It shows a link, not cause.

Graphic summarizing a Johns Hopkins study linking higher vitamin D levels to longer sleep in adults over 40

Middle-aged and older adults with the highest blood levels of vitamin D slept about 19 minutes longer per night than those with the lowest levels, according to a Johns Hopkins study that measured sleep with wrist monitors. The study shows a link, not proof that vitamin D improves sleep.

Key takeaways

  • Researchers studied 460 adults age 40 and older, average age about 71, in the long-running Baltimore Longitudinal Study of Aging.
  • People in the top third for vitamin D slept 19.29 minutes more per night than people in the bottom third, after adjusting for age, sex, race, weight and other factors.
  • People with vitamin D deficiency (below 20 ng/mL) slept about 23 minutes less per night than people with normal levels (above 30 ng/mL).
  • Vitamin B12 levels were not clearly linked to sleep overall.
  • The study was observational, so it cannot show that taking vitamin D supplements will help you sleep.

What the study found

The study was published in The Journals of Gerontology: Series A (online October 6, November 2026 issue). Diefei Chen, a PhD candidate in epidemiology at the Johns Hopkins Bloomberg School of Public Health, was first author. Adam Spira, a professor in the school’s Department of Mental Health, was senior author. Scientists at the National Institute on Aging took part, according to the university announcement.

The team looked at blood levels of vitamin D and vitamin B12 and compared them with sleep measured by actigraphy. Actigraphy means wearing a watch-like device that tracks movement to estimate when a person is asleep or awake. Participants wore the device on their non-dominant wrist for seven days, according to the full paper.

The researchers looked at five sleep measures: total sleep time, the share of time in bed spent asleep (sleep efficiency), how long it took to fall asleep, minutes awake after first falling asleep, and the average length of each waking episode.

After adjusting for age, race, sex, education, other health conditions, depression symptoms and body mass index, the main findings for vitamin D were:

  • People in the highest third of vitamin D levels slept 19.29 minutes longer per night than those in the lowest third (95% CI 7.90 to 30.68; p = 0.001).
  • The highest third also had slightly higher sleep efficiency (1.36 percentage points) and shorter waking episodes (0.26 minutes shorter on average).
  • People in the middle third fell asleep 2.66 minutes faster than the lowest third.
  • Compared with people whose levels were normal (above 30 ng/mL), people with deficiency (below 20 ng/mL) slept 23.03 minutes less per night (95% CI 42.05 to 4.01 minutes less; p = 0.018). People in the insufficient range (20 to 30 ng/mL) did not differ significantly.

The results held up after the researchers also accounted for whether people took vitamin D supplements. For context, participants slept an average of 6.69 hours a night by the device, and their average vitamin D level was 35.8 ng/mL.

ComparisonDifference in nightly sleep95% confidence interval
Highest third vs. lowest third of vitamin D19.29 minutes more7.90 to 30.68
Deficient (under 20 ng/mL) vs. normal (over 30 ng/mL)23.03 minutes less42.05 to 4.01 less
Insufficient (20 to 30 ng/mL) vs. normalNo significant differenceNot significant
Adjusted results from Chen et al., The Journals of Gerontology: Series A, 2026. Each row compares a group only with its own reference group.

The two main numbers in the table answer different questions, so they should not be compared with each other. The first splits all 460 people into three equal-sized groups by their vitamin D level and compares the top group with the bottom group. The second uses clinical cutoffs and compares people with deficiency against people with normal levels. Because the groups are built differently, the paper does not say one effect is larger than the other. The authors wrote that the pattern suggests the link might be driven by participants with vitamin D deficiency.

Who was studied

All 460 participants came from the Baltimore Longitudinal Study of Aging, run by the National Institute on Aging. They were assessed between 2012 and 2019. Their average age was 70.9 years. About 53% were women and about 22% were Black. People with dementia or even mild memory and thinking problems were excluded, according to the paper.

Nearly half (48.7%) said they took a vitamin D supplement. About 30% had vitamin D levels in the deficient or insufficient range. Most people (73.9%) had only one visit with both a blood test and a week of sleep tracking.

What about vitamin B12?

The researchers found no significant overall link between vitamin B12 and sleep. In women, higher B12 was linked to less time awake after falling asleep. In men, the estimate went in the opposite direction but was not statistically significant. Only 14 people (3%) had low B12, so the authors say the study may have been too small to detect a B12 effect. The university announcement described the B12 evidence as inconclusive.

Differences by race

In exploratory analyses, links between vitamin D and sleep appeared stronger among Black participants. For example, Black participants in the middle and top thirds of vitamin D had higher sleep efficiency than those in the bottom third. However, the statistical test for a difference by race was significant only for the middle-third comparison, not the top-third comparison. The authors wrote that this finding requires replication.

What the researchers said

These findings suggest that we should investigate more thoroughly whether boosting vitamin D levels can improve sleep health.

Adam Spira, PhD, senior author, Johns Hopkins Bloomberg School of Public Health, in a university statement

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.

Diefei Chen, first author, Johns Hopkins Bloomberg School of Public Health, in a university statement

In the paper, the authors concluded that future studies are needed to understand whether maintaining healthy vitamin D levels improves sleep quality and related health outcomes.

How this fits with earlier research

The results match a 2015 study of 3,048 men age 68 and older (the MrOS Sleep Study), which also used wrist monitors. It found that low vitamin D levels were associated with short sleep and lower sleep efficiency. The new study extends that finding to women.

Supplement trials are a different kind of evidence. A 2022 review and meta-analysis of vitamin D supplement studies found that supplements improved self-reported sleep quality compared with placebo, with moderate certainty of evidence. That pooled result came from only 3 randomized trials, and it measured how people rated their own sleep, not sleep measured by a device. The review’s author said the effect on sleep amount and sleep disorders needs more study. The Johns Hopkins team also noted that earlier supplement trials have been small.

Limits of the study

  • Association, not cause. The study took snapshots at points in time. It cannot show that vitamin D causes better sleep, and the authors could not rule out that poor sleep affects vitamin D levels instead.
  • Vitamin D may be a marker. The authors wrote that low vitamin D levels might be a sign of declining health rather than a direct cause of poor sleep.
  • Unknown sources. The researchers could not tell whether vitamin D came from food, sunlight or supplements. Time outdoors and activity habits could also affect sleep.
  • A healthy group. Participants were relatively healthy and free of memory problems, so results may not apply to less healthy people.
  • No sleep stages. Wrist devices estimate sleep from movement. They cannot measure deep sleep or other sleep stages.

What it means for you

The authors did not claim that vitamin D supplements will improve sleep. Their takeaway is that the question deserves testing in future research. If you have trouble sleeping or wonder about your vitamin D level, talk with a licensed clinician. A blood test is the way to check your level, according to the National Institutes of Health.

This study and the NIH use different cutoffs. The study called levels under 20 ng/mL deficient and 20 to 30 ng/mL insufficient. The NIH Office of Dietary Supplements says levels of 20 ng/mL or above are adequate for most people for bone and overall health, and levels above 50 ng/mL are too high and might cause health problems. The NIH lists a daily upper limit of 4,000 IU for adults from all sources. It says too much vitamin D, almost always from supplements, can cause nausea, confusion, kidney stones and, at extreme levels, kidney failure. A clinician can explain what your own result means. For more on reading supplement research, see our look at what the research shows on NAD+.

This article is for general education and is not medical advice. Talk with a licensed clinician before starting, stopping or changing any supplement or medication.

The bottom line

In 460 middle-aged and older adults, higher vitamin D levels were linked to longer and less interrupted sleep, and deficiency was linked to about 23 fewer minutes of sleep a night. The study was observational. It does not show that taking vitamin D will help you sleep, and the researchers say that question still needs to be tested.

Frequently asked questions

Does low vitamin D cause poor sleep?

This study cannot say. It found that low vitamin D was linked to shorter sleep, but the authors note it does not establish cause. Low vitamin D might also be a marker of other health problems.

Will taking vitamin D help me sleep better?

It is not proven. A 2022 meta-analysis found supplements improved self-reported sleep quality in a small number of trials, but the effect on how long people sleep needs more study. Talk with a clinician before starting a supplement.

What vitamin D level is considered low?

It depends on the definition. This study used under 20 ng/mL for deficiency and 20 to 30 ng/mL for insufficiency. The NIH says 20 ng/mL or above is adequate for most people and under 12 ng/mL is too low.

Is vitamin B12 linked to sleep?

In this study, B12 levels were not clearly linked to sleep overall. Results differed between men and women, but the evidence was inconclusive, and few people had low B12.

Can you take too much vitamin D?

Yes. The NIH lists 4,000 IU a day as the upper limit for adults from all sources and says very high blood levels can cause nausea, vomiting, confusion and kidney stones.

Keep reading