You wear a watch that tracks your sleep, your HRV, and your resting heart rate every single night. So when your recovery keeps tanking for no obvious reason, it's natural to look for the cause in that data. And most of the time, the answer is somewhere in your habits: late dinners, alcohol, a rough training week, stress.
But there's one common cause that no wearable can measure, and it shows up as exactly the same symptoms — poor sleep, sluggish recovery, low energy, getting sick more often. Vitamin D.
It's a strange nutrient. Technically it's a hormone precursor, and you can get it for free from sunlight. Yet somewhere between 15% and half of adults worldwide are low on it, depending on which cutoff you use. And the research on vitamin D and sleep has quietly gotten more convincing over the last few years.
Here's what it actually does, how to know if you're low, and how to fix it properly — without guessing.
TL;DR: Vitamin D is a hormone precursor your body makes from sunlight, and low levels are linked to worse sleep quality, more daytime sleepiness, and higher inflammation. Two meta-analyses found that supplementing improved sleep quality measurably — one showed a 2.33-point improvement on the Pittsburgh Sleep Quality Index versus placebo. Your wearable can't measure vitamin D, but it can show the downstream signs: rising resting heart rate, falling HRV, fragmented sleep, more illness. The only reliable way to know your level is a 25(OH)D blood test — roughly 20 ng/mL (50 nmol/L) is considered sufficient, under 12 ng/mL (30 nmol/L) is deficient. The standard adult dose is 600–800 IU per day, with 4,000 IU as the upper limit unless a doctor says otherwise. Take it with a meal containing fat.
YouTube: Related video
Vitamin D is not really a vitamin
The name is misleading. A vitamin is something your body can't make on its own and has to get from food. Vitamin D is closer to a hormone. Your skin synthesizes it when UVB light hits a cholesterol derivative called 7-dehydrocholesterol, and the result gets converted in the liver and kidneys into a compound that behaves like a signaling molecule throughout the body.
The activated form, calcitriol, docks onto vitamin D receptors that exist in most tissues — including regions of the brain involved in sleep regulation. That's the part most people miss. Vitamin D isn't just about bones and calcium absorption. It's involved in:
- Immune function, which is why deficiency is associated with more frequent infections
- Muscle function, including the skeletal muscle you use in every workout
- Inflammation control, where low vitamin D tends to mean higher inflammatory markers
- Neurotransmitter and clock-gene regulation, which is where the sleep connection lives
That last point is what makes vitamin D relevant to a blog about recovery data. If a nutrient that influences inflammation and circadian signaling is low, the most sensitive instruments you own — your HRV and resting heart rate trends — are going to pick up the downstream noise.
What the research says about vitamin D and sleep
For a long time, the evidence here was correlational: people with low vitamin D reported worse sleep, but nobody could tell whether the low vitamin D caused the bad sleep or the other way around. Sedentary, indoors-all-day, poor-sleeping people tend to have low vitamin D for the same reasons they have bad sleep.
The newer evidence is better because it comes from intervention studies — giving people vitamin D and watching what happens.
| Study | Design | Finding |
|---|---|---|
| Abboud, Nutrients (2022) | Systematic review + meta-analysis, 19 intervention studies (13 RCTs) | Vitamin D supplementation reduced the Pittsburgh Sleep Quality Index score by −2.33 points vs placebo (95% CI −3.09 to −1.57, p < 0.001). Moderate certainty of evidence. |
| Mirzaei-Azandaryani et al., Nutrition and Health (2022) | Systematic review + meta-analysis, 5 studies | Significant improvement in sleep quality with vitamin D supplementation (mean difference −1.32, 95% CI −2.55 to −0.09, p = 0.04). No side effects reported. |
| Nutrition research reviews on circadian function (2020s) | Mechanistic reviews | Vitamin D and its metabolites interact with clock genes and melatonin synthesis, suggesting a direct biological pathway rather than just an association. |
Two independent meta-analyses both landed on the same conclusion: when you give vitamin D to people (many of whom were deficient), sleep quality tends to improve. The effect sizes are modest, and the certainty of evidence is moderate rather than high — this is not a magic sleep pill. The results on sleep quantity, restless legs, and sleepiness were mixed in the same reviews.
But it's a real signal. And there's an important nuance in how to read it: the benefit is concentrated in people who were actually low. If your level is already fine, an extra 5,000 IU a day is unlikely to do anything for your sleep. Vitamin D is not a stimulant you can stack.
Why low vitamin D looks like bad recovery
This is the part that matters if you're watching a wearable every morning. A vitamin D deficiency doesn't announce itself. It shows up as a vague pattern of things being slightly worse than they should be.
Sleep gets shallower and more fragmented. The strongest association in the literature is between low vitamin D and poor subjective sleep quality — more awakenings, less restorative-feeling sleep. On a wearable that can look like more time awake after sleep onset, or a sleep score that never quite reaches the range it used to.
Resting heart rate drifts up. Low vitamin D is associated with higher inflammatory tone and higher sympathetic activity, both of which push resting heart rate up. If your RHR crept up over a few weeks and no training change explains it, a nutrient deficiency is one of the things worth ruling out.
HRV is lower than your baseline. Same mechanism. Chronic low-grade inflammation suppresses parasympathetic activity. Your HRV baseline is one of the best tools you own for spotting this, because it reflects your set point rather than a single night.
Immune setbacks hit harder. Deficiency is associated with more frequent respiratory infections, and infections reliably wreck recovery metrics for a week or more.
Muscle soreness and fatigue linger. Vitamin D receptors sit on skeletal muscle. Low status is linked to reduced muscular function and more perceived fatigue.
None of those are specific to vitamin D. That's the whole problem — every one of them has a dozen other explanations. Which is why testing matters more than guessing.
If you want the general playbook for interpreting these signals, our guide on how to improve HRV naturally covers the lights, timing, and temperature levers that overlap heavily with vitamin D production.
What your wearable can and cannot tell you
Let's be clear, because this is where wearables get oversold: no consumer wearable measures vitamin D. There is no optical sensor that reads a fat-soluble hormone precursor through your skin. If an app claims to estimate it from your activity and sun exposure, it's making an inference, not a measurement.
What your watch can do is give you the trend data that makes the diagnosis easier to suspect — and makes the recovery easier to measure.
The way to use it:
- Establish your baseline. Thirty days of HRV, resting heart rate, and sleep score is your reference point.
- Log the intervention. Note the date you start supplementing or change your sun exposure.
- Watch the 30-day trend, not the nightly value. Vitamin D status changes slowly — it takes weeks to move, since it's stored in fat tissue. Daily fluctuations are noise.
- Change one variable at a time. If you start vitamin D and also start a new training block, you won't know what moved what.
This is exactly the workflow that Century AI is built around — a daily health score, recovery score, and overnight trends that turn a noisy stream of nightly numbers into a legible baseline you can compare against. A supplement change is a slow-moving experiment, and slow-moving experiments are the only kind you can read from wearable data.
How to actually test your vitamin D
The marker to ask for is serum 25-hydroxyvitamin D, usually written as 25(OH)D. This is the storage form and the accepted clinical measure. It's a standard, cheap blood test — you can request it from a GP, or through private lab panels if that's faster where you live. You do not need a vitamin D receptor or 1,25-dihydroxyvitamin D test; the simple storage marker is what guidelines use.
Units matter, because labs report in either ng/mL or nmol/L and people mix them up constantly. One nmol/L equals 0.4 ng/mL, so 50 nmol/L and 20 ng/mL are the same number.
| 25(OH)D level | Interpretation |
|---|---|
| Below 30 nmol/L (12 ng/mL) | Deficient — increases risk of rickets/osteomalacia and clearly warrants correction |
| 30–50 nmol/L (12–20 ng/mL) | Insufficient for some people; risk of inadequacy |
| 50 nmol/L (20 ng/mL) and above | Considered sufficient for the general population |
| 75 nmol/L (30 ng/mL) and above | Comfortably sufficient; some guidelines target this range |
The scale of the problem is worth sitting with. A pooled analysis of 7.9 million participants published in Frontiers in Nutrition (2023) found that 47.9% of people worldwide had levels below 50 nmol/L — the sufficiency threshold. Around 15.7% were below 30 nmol/L, the deficiency cutoff. If you spend your week indoors, live at a high latitude, have darker skin, or it's winter, your odds of being in that group go up substantially.
How much to take, and how to take it
The official reference values come from the National Academies and are summarized by the NIH Office of Dietary Supplements:
| Group | Recommended daily intake |
|---|---|
| Adults 19–70 | 600 IU (15 mcg) |
| Adults 71+ | 800 IU (20 mcg) |
| Tolerable upper limit, adults | 4,000 IU (100 mcg) |
Those are maintenance numbers for someone with adequate status, not correction doses. If a blood test shows you're deficient, higher short-term doses are common — and that's a conversation with your doctor, not something to self-prescribe from a blog. High-dose vitamin D without monitoring is genuinely not harmless; it's fat-soluble and accumulates, and the upper limit exists for a reason.
Practical points that matter more than the exact number:
- Take it with a meal that contains fat. Vitamin D is fat-soluble. Absorption is meaningfully better with dietary fat than on an empty stomach.
- D3 over D2. Most evidence indicates cholecalciferol (D3) raises 25(OH)D levels higher and maintains them longer than ergocalciferol (D2).
- Time of day is probably not critical. There's a popular claim that vitamin D hurts sleep if taken at night. The evidence is thin and mixed. If you find it interferes with your sleep, move it to the morning — but don't reorganize your life around an unproven rule.
- Recheck after 8–12 weeks. Status moves slowly. Testing sooner just measures noise.
- Consistency beats dose size. Daily or weekly dosing maintains levels better than sporadic large doses.
Sunlight, food, and the honest limits of each
Food is a weak source. Oily fish, egg yolks, and fortified dairy or plant milks are the main contributors, and hitting 600 IU from diet alone takes deliberate effort. Sunlight works well in theory — 10 to 30 minutes of midday sun on exposed skin can generate a meaningful amount — but it depends on latitude, season, cloud cover, skin pigmentation, age, and whether you're wearing sunscreen. Anyone north of roughly 35° latitude gets almost no UVB production for several months of the year regardless of how much time they spend outside.
That mismatch between the biology and modern indoor life is why deficiency is so common. It's also why sunlight isn't just a vitamin D story — morning light exposure drives your circadian rhythm independently, and that has its own effects on sleep timing and HRV that have nothing to do with 25(OH)D levels.
A simple 8-week test you can run
If you're not going to get a blood test immediately, this is the closest thing to a structured experiment — and it pairs well with wearable data.
- Week 0. Record your 30-day baseline: average HRV, resting heart rate, sleep score, and how rested you feel each morning. Score the feeling 1–5.
- Weeks 1–8. Take 600–1,000 IU of D3 daily with your largest meal containing fat. Keep everything else constant — same training load, same bedtime, same caffeine habits.
- Weekly. Once a week, jot down the weekly average HRV and RHR rather than looking at daily numbers.
- Week 8. Compare the weekly averages. Also compare how often you woke up feeling genuinely restored.
- Then get tested anyway. Eight weeks of self-observation tells you whether something changed. It doesn't tell you whether you were deficient. The blood test is cheap and answers that directly, which means you can stop supplementing if you never needed to.
The honest expectation: if you were low, you might see a modest improvement in sleep quality and a small shift in HRV and resting heart rate. If you weren't low, don't expect anything. That's the finding the meta-analyses point to — the benefit tracks the deficiency.
Frequently asked questions
Can vitamin D deficiency cause insomnia? It's associated with poorer sleep quality and more daytime sleepiness, but "insomnia" is a specific clinical diagnosis with many causes. If you have chronic insomnia, treat it as its own problem — get your vitamin D checked as part of the workup, not instead of it.
Does vitamin D before bed keep you awake? Probably not. This is a widely repeated claim with very little direct evidence. If you notice a pattern in your own sleep data after moving the timing, that's worth respecting — but it's an individual observation, not a general rule.
Should I take vitamin D if I'm not deficient? The maintenance recommendations exist because most people don't reliably get vitamin D from sun and food. Follow the general guidance, stay under the upper limit, and let a blood test guide anything beyond that.
Will my watch show a difference? Over 8–12 weeks, possibly a small shift in HRV and resting heart rate. Not on night one, not overnight, and not if your levels were already fine.
Is vitamin D the reason my sleep got worse in winter? Possibly a contributing factor. Less UVB means less synthesis, and less morning light also disrupts circadian timing. Winter is a genuine double hit — which is why it's a good season to test rather than guess.
The bottom line
Vitamin D sits in an awkward spot: it's genuinely important, deficiency is genuinely common, and it's genuinely uncool to overhype. The evidence for a sleep and recovery benefit is real but modest, with the benefit concentrated in people who were low to begin with.
So the sequence that actually works is boring and effective: get a 25(OH)D blood test. If you're low, correct it with D3 taken with food, stay under 4,000 IU a day unless a doctor directs otherwise, and recheck in three months. If you're not low, you've just saved yourself money and a supplement bottle.
Then use your watch for what it's actually good at — tracking the 30-day direction of your HRV, resting heart rate, and sleep quality so you can see whether the change made a difference.
Century AI helps you understand your body with a daily health score, recovery score, and sleep insights — using the watch you already wear.
