We've become obsessed with optimizing sleep through nighttime rituals—herbal tea, screen curfews, and countless other bedtime routines that promise us better rest. But a recent study published in The Journal of Gerontology: Medical Sciences suggests we've been looking in the wrong place. According to research tracking 460 people over 40, those with vitamin D deficiency lost approximately 23 minutes of sleep each night compared to those with adequate levels. That's not trivial. That's nearly two hours per week of lost sleep, and it deserves our attention.

The science here is compelling. Angela Holliday-Bell, M.D., a board-certified sleep specialist and host of The Art of Sleep, explains that vitamin D receptors are located in brain regions that regulate sleep and circadian rhythms. The nutrient may also influence melatonin production—the hormone that tells our bodies it's time to sleep—and helps regulate inflammation, which can interfere with sleep when elevated. These aren't speculative mechanisms; they're grounded in how our bodies actually function.

What makes this finding particularly urgent is that our ability to produce vitamin D diminishes with age. As Dr. Holliday-Bell notes, our bodies become less efficient at producing vitamin D in response to sunlight as we get older. Meanwhile, quality sleep becomes increasingly critical for maintaining cognitive function, regulating mood, and supporting heart health—all challenges that intensify with aging. We're facing a double bind: we need better sleep more than ever, yet our bodies are becoming less capable of producing the nutrient that helps us sleep.

The good news is that addressing vitamin D deficiency is actionable. Melissa Mroz-Planells, D.C.N., R.D.N., spokesperson for the Academy of Nutrition and Dietetics, recommends starting with food sources: fatty fish, fortified milk and plant-based beverages, fortified cereals, and UV-exposed mushrooms. Adults generally need 600 IU daily through age 70 and 800 IU after age 70. For those who can't meet these needs through diet alone, supplements may be warranted—though Mroz-Planells wisely cautions that more isn't better, as excessive vitamin D can cause harmful elevations in blood calcium.

Still, it's important to maintain perspective. This is an observational study showing association, not definitive causation. Someone with higher vitamin D levels might also spend more time outdoors, get more natural light exposure, and be more physically active—all sleep-promoting behaviors. The study also couldn't distinguish between vitamin D from different sources: supplements, food, or sunlight.

But here's what matters: if you're struggling with sleep and nothing seems to help, it's worth having a conversation with your healthcare provider about vitamin D levels. Dr. Holliday-Bell advocates for looking at sleep holistically, and that means examining nutritional factors alongside bedtime habits. Perhaps it's time we stopped obsessing over the perfect sleep routine and started asking whether our bodies have the nutrients they need to actually sleep well.