Can Low Vitamin D Affect Your Sleep? What the Studies Say

Can low vitamin D affect your sleep, explained with study findings

Can Low Vitamin D Affect Your Sleep? What the Studies Say

Can low vitamin D affect sleep? The short answer is yes, modestly. The short answer: low vitamin D is linked to worse sleep in study after study. People with the lowest blood levels show roughly 50 percent higher odds of sleep problems than people with the highest, and small trials suggest supplements can shave a couple of points off a poor sleep score. But the effect is modest, the trials are short, and no study has proved that low vitamin D causes bad sleep. Here is the evidence, graded honestly.

Sleep researchers measure vitamin D as 25-hydroxyvitamin D in blood. Levels below 20 nanograms per millilitre (50 nanomoles per litre) count as deficiency; 20 to 30 is insufficiency. Most of the studies below compare the deficient group with everyone else.

The question matters because both problems are common. Roughly a third of adults report poor sleep, and vitamin D insufficiency affects a large share of people in northern latitudes in winter. If the two are linked, a cheap supplement could be a lever — but only if the link is real and causal.

What the observational studies found

The observational evidence is large and fairly consistent. A 2018 pooled analysis by Gao and colleagues combined 15 studies and found that vitamin D deficiency was associated with:

  • Poor sleep quality: 59 percent higher odds (OR 1.59)
  • Short sleep duration: 74 percent higher odds (OR 1.74)
  • Daytime sleepiness: 36 percent higher odds (OR 1.36)

A second pooled analysis, by Yan and colleagues in Food Science and Nutrition in 2020, took a different approach: instead of grouping people, it compared measured blood levels directly. Across 21 studies, people with sleep disorders had lower vitamin D by a standardised mean difference of 0.75 nanograms per millilitre compared with people without sleep problems. The direction was consistent: the worse the sleep picture, the lower the vitamin D.

Both analyses drew the same careful conclusion. The link is consistent and moderately strong, but nearly all the underlying studies are observational. They can show that low vitamin D and poor sleep travel together. They cannot show which one leads.

Can low vitamin D affect sleep? What the trials say

The real test of the idea is a randomised controlled trial: give people vitamin D, give others a placebo, and see who sleeps better. Few such trials exist, and they are small.

In one Iranian trial (Majid et al., 2018), 89 adults aged 20 to 50 with sleep disorders were randomised to 50,000 units of vitamin D fortnightly or placebo for eight weeks. Sleep quality scores improved more in the vitamin D group.

Yan and colleagues pooled the four randomised trials then available (Ghaderi 2017, Huang 2013, Majid 2018, Mason 2016). Their 2020 analysis found that vitamin D supplementation improved sleep quality scores, with a standardised mean difference that reached statistical significance, though the number of trials was tiny.

The most recent pooled analysis, by Abboud in Nutrients in 2022, went further: 19 studies in total, 13 of them randomised trials. Pooling the three trials that could be combined statistically, vitamin D supplementation cut PSQI scores by a mean of 2.33 points (95% confidence interval minus 3.09 to minus 1.57), with no statistical heterogeneity between the trials and moderate certainty in the evidence. On a 21-point scale, 2.33 points is a real, noticeable change, but it is modest: nobody was cured of a sleep disorder by vitamin D.

Abboud also issued an important caveat. The benefit was clear for sleep quality scores, but the evidence for sleep duration, daytime sleepiness, and specific disorders such as restless legs syndrome was, in the author’s word, “not unanimous”. Some trials and observational studies found no effect at all, including Mason et al. in 2016, one of the four trials in Yan’s pooled analysis, and observational disagreements flagged by the reviewers (Gunduz 2016; Shiue 2013). The honest summary: supplements seem to nudge sleep quality upward a little in people who already sleep badly. Beyond that, the trials are too small and too short to say much.

How could vitamin D change your sleep?

The biology is plausible, though far from settled. Vitamin D receptors have been found in the hypothalamus and other brain regions that regulate the sleep-wake cycle (Gominak and Stumpf, 2012; Saper, Scammell and Lu, 2005, both cited by Yan et al. in 2020). If the vitamin has docking stations in the brain’s sleep circuitry, it is at least conceivable that it plays a role in how that circuitry runs.

A second proposed route runs through serotonin. Rhonda Patrick and Bruce Ames proposed, in two papers in the FASEB Journal in 2014 and 2015, that the vitamin D hormone regulates the genes for tryptophan hydroxylase, the enzyme that produces serotonin: it switches on the brain form of the enzyme (TPH2) while dampening the form used outside the blood-brain barrier (TPH1). Because serotonin is the raw material for melatonin, the hormone that sets our nightly sleep signal, this offers a tidy story for how vitamin D status could ripple through to sleep. It remains a hypothesis, supported by cell and animal work, not a proven human mechanism.

A third, simpler route is pain. Vitamin D deficiency is linked to muscle and bone aches, and aching bodies sleep badly. This indirect path, through pain rather than brain chemistry, may explain part of the association the big pooled analyses found.

What the studies cannot prove

Four limits matter, and the papers themselves flag them.

Causation is unproven. Most of the evidence is observational, and reverse causation is easy to imagine: people who sleep badly spend less time outdoors, get less daylight, and may eat and live differently. Depression, chronic pain, shift work, and the season itself all push vitamin D and sleep in the same direction.

We do not know who benefits. The trials recruited people who already had sleep disorders, not the general public. There is no good evidence that topping up a mildly low level will improve the sleep of an ordinary healthy adult.

There is no established dose. Trial regimens ranged from fortnightly 50,000 unit doses to daily tablets, over periods of eight weeks to twelve months. Nobody has mapped a dose-response curve for sleep.

Sleep length may be unaffected. Abboud’s 2022 review found the clearest benefit for sleep quality scores, with no consistent effect on how long people actually sleep.

Should you take vitamin D for better sleep?

The evidence verdict is narrow: if your vitamin D is low and your sleep is poor, a supplement may improve your sleep quality a little. It is not a sleep treatment, it will not fix insomnia on its own, and it is no substitute for the unglamorous basics: a regular bedtime, daylight in the morning, and less caffeine late in the day.

That said, most people in northern latitudes have an independent reason to take vitamin D in winter. The NHS advises everyone to consider a daily supplement of 10 micrograms (400 international units) from October to early March. People with darker skin, people who cover their skin, and people who rarely go outdoors are advised to consider it year-round. Do not take more than 100 micrograms (4,000 international units) a day: too much vitamin D over a long period causes too much calcium to build up in the body (hypercalcaemia), which weakens bones and can damage the kidneys and the heart.

Food helps, though rarely enough on its own in winter: oily fish such as salmon, mackerel and sardines, egg yolks, and fortified cereals and spreads all contribute. And daylight itself remains the strongest source when it is available. Our autumn vitamin D piece found that outdoor runners who skipped supplements kept their vitamin D levels level with sedentary people who took daily pills, which underlines how much ordinary daylight matters while it lasts: Do You Need Vitamin D Tablets This Autumn?

If poor sleep is your main concern, read our breakdown of how much deep sleep actually matters before reaching for any supplement: How Much Deep Sleep Do You Need? And if broken sleep persists for weeks, speak to a GP rather than escalating supplement doses on your own: a blood test can tell you whether vitamin D is genuinely low, which is more useful than guessing.

Frequently asked questions

Does low vitamin D cause insomnia?

Can low vitamin D affect sleep? Studies say the link is consistent but modest. No study has proved that low vitamin D causes insomnia. What the research shows is a consistent link: deficiency is associated with poorer sleep quality, shorter sleep, and more daytime sleepiness, and trials suggest supplements may improve sleep quality scores modestly in people who already sleep badly.

How much vitamin D should I take for better sleep?

No sleep-specific dose exists, because trials used widely different regimens. The safe public reference is the NHS guidance: 10 micrograms daily in autumn and winter, within the 100 microgram daily upper limit. More has not been shown to help sleep.

How long does vitamin D take to improve sleep?

In the Iranian randomised trial, sleep scores had improved by week eight. Other trials ran for up to twelve months. There is no evidence for an overnight effect, so a few weeks of consistent use is the minimum sensible test.

Can too much vitamin D disturb sleep?

There is no trial evidence that excess vitamin D harms sleep specifically, but more is not better: taking too much over a long period causes too much calcium to build up in the body, so staying within the 100 microgram daily limit matters regardless.

Should I get a blood test before taking vitamin D?

Most people can follow the seasonal 10 microgram guidance without testing. A blood test is sensible if you have risk factors for deficiency, symptoms that might be deficiency-related, or if a clinician suggests a higher dose.

Sources

  • Gao Q et al. The association between vitamin D deficiency and sleep disorders: a systematic review and meta-analysis. Nutrients, 2018. Full text at PubMed Central
  • Yan S et al. A meta-analysis: does vitamin D play a promising role in sleep disorders? Food Science and Nutrition, 2020. Full text at PubMed Central
  • Abboud M. Vitamin D supplementation and sleep: a systematic review and meta-analysis of intervention studies. Nutrients, 2022. Full text at PubMed Central
  • Patrick RP, Ames BN. Vitamin D hormone regulates serotonin synthesis. Part 1: relevance for autism. FASEB Journal, 2014. DOI link; Part 2: relevance for ADHD, bipolar disorder, schizophrenia, and impulsive behavior. FASEB Journal, 2015. DOI link

Medically reviewed by

Dr. Taimoor Asghar, MBBS

Physician and community medicine researcher

Taimoor is a physician and published researcher in community medicine. He personally reviews every calculator and article on Doctor With Data for medical accuracy before it goes live. No content publishes without his sign-off.

Medically reviewed by Dr. Taimoor Asghar, MBBS on October 18, 2026.

More about Taimoor