Several vitamins have been tied to sleep, and low vitamin D has the strongest and most consistent link to sleep problems. A link is not proof, though: it doesn’t show that the deficiency causes the sleeplessness or that a pill will fix it. One of the clearest nutritional causes of broken sleep isn’t a vitamin at all, but a lack of iron.
Vitamin D Has the Strongest Link to Poor Sleep
Across nine studies, people with the lowest vitamin D levels had about 1.5 times the odds of a sleep disorder compared with people with the highest levels.1PubMed Central. The Association between Vitamin D Deficiency and Sleep Disorders: A Systematic Review and Meta-Analysis Short sleepers, getting 5 to 6 hours a night, also tend to have lower blood vitamin D than people who sleep 7 to 8 hours.2PubMed Central. The Role of Vitamin C in Two Distinct Physiological States: Physical Activity and Sleep
There is a plausible reason. Vitamin D receptors sit in the brain areas that control sleep, and vitamin D appears to help regulate the daily sleep-wake cycle, the rhythm that tells you when to feel alert and when to wind down.3PubMed. The lullaby of the sun: the role of vitamin D in sleep disturbance Most of your vitamin D comes from sunlight on skin, so people who are indoors a lot, or who live through dark winters, run lower. Those more likely to be short include office and night-shift workers, people living far from the equator, people with darker skin, who make less vitamin D from the same sunlight, and older adults, whose skin makes it less efficiently.
Older adults are also where sleep trouble piles up. Nearly 60% of older adults have sleep problems, with insomnia the most common.4Malahayati Nursing Journal. Hubungan Kadar Vitamin D dengan Kejadian Insomnia Pada Kelompok Lanjut Usia di Panti Santa Anna In one small group of care-home residents, lower vitamin D went along with more insomnia, though the difference was not clear-cut.4Malahayati Nursing Journal. Hubungan Kadar Vitamin D dengan Kejadian Insomnia Pada Kelompok Lanjut Usia di Panti Santa Anna These studies show a link, not that low vitamin D causes the insomnia. The arrow may well point both ways: poor sleepers may go outside less, which lowers vitamin D. Illness and weight can also lower vitamin D while disturbing sleep.
A standard blood test measures vitamin D and is widely available through a doctor. Asking for it is reasonable when sleep has been poor for weeks without an obvious reason, and the result guides whether a supplement, and what dose, makes sense.
A result still needs interpreting. Labs and guidelines don’t fully agree on the cut-off between low and adequate, so one source may call the same number fine and another call it low. Levels also rise and fall with the seasons, so a result from late summer may look better than the same person’s level in February. What your doctor makes of the number, alongside your symptoms, season and risk factors, matters more than the number alone.
B Vitamins Help Make the Brain’s Calming Chemicals
Vitamins B6, B12 and folate are needed to make brain chemicals, including serotonin, that calm nerve activity.5PubMed. Nutritional modulators of sleep: A narrative review of vitamins, minerals, amino acids, and their neurobiological and chronoepigenetic mechanisms When these vitamins run short, nerve cells become more excitable, which can interfere with sleep.5PubMed. Nutritional modulators of sleep: A narrative review of vitamins, minerals, amino acids, and their neurobiological and chronoepigenetic mechanisms Serotonin is also the raw material the body uses to make melatonin, so a shortage can affect the sleep signal further down the line.
B12 has the most interesting evidence. Among adults visiting family doctors, 40% reported insomnia symptoms, and those with higher B12 levels had roughly half the odds of insomnia or less.6Clinical and epidemiological respiratory sleep medicine. Association of Vitamin B12 levels with Sleep Quality, Insomnia and Sleepiness in Adult Primary Health Care Users in Greece B12 also appears to act directly on melatonin, shifting its timing in the body.7PubMed. Effects of vitamin B12 on performance and circadian rhythm in normal subjects But in healthy people, taking B12 also increased night-time movement, so more is not simply better.7PubMed. Effects of vitamin B12 on performance and circadian rhythm in normal subjects
Folate shows a similar pattern. In US adults, those with the highest folate levels had about 45% lower odds of severe trouble falling asleep.8PubMed Central. The association between serum total folic acid concentration and severe difficulty falling asleep in US adults: NHANES 2005–2008 In one reported case, chronic insomnia that resisted sleeping pills and therapy resolved once a genetic problem with handling folate was found and treated.9PubMed Central. Chronic insomnia in the setting of MTHFR polymorphism A high blood homocysteine result on a test can be a clue that folate processing is off.
Vitamin B3 works through a different route. The body can make it from the same building block it uses for serotonin.10PubMed Central. Vitamin B3 Ameliorates Sleep Duration and Quality in Clinical and Pre-Clinical Studies Early research suggests a form of B3 may improve sleep, possibly by leaving more of that building block for making melatonin.10PubMed Central. Vitamin B3 Ameliorates Sleep Duration and Quality in Clinical and Pre-Clinical Studies
Some people are more likely to run low on B12 and folate. Vegans and strict vegetarians get little B12, since it comes almost entirely from animal foods. Older adults absorb B12 less well from food. Long-term acid-reducing medicines and metformin can lower it. Folate runs low in people who drink heavily or eat few leafy greens and beans.
Poor sleep is rarely the only clue. Tiredness and weakness beyond what bad nights explain, tingling or numbness in the hands and feet (with low B12), pale skin, a sore tongue or low mood all make a blood test more worthwhile. These shortages can develop slowly over months or years, and because the symptoms overlap with ordinary sleep loss, many people assume they are just run down and never get tested.
Food is the first place to look. B12 comes from meat, fish, eggs and dairy, or fortified foods. Folate comes from leafy greens, beans, lentils and fortified grains. B6 comes from poultry, fish, potatoes and bananas.
Low Iron Can Cause Sleeplessness Through Restless Legs
About 1 in 4 people with iron-deficiency anaemia has restless legs syndrome, an uncomfortable urge to move the legs that strikes at rest and at night.11PubMed. The prevalence and impact of restless legs syndrome on patients with iron deficiency anemia That is about nine times the rate in the general population.11PubMed. The prevalence and impact of restless legs syndrome on patients with iron deficiency anemia People with both slept less and felt more tired and drained by day than those with low iron alone.11PubMed. The prevalence and impact of restless legs syndrome on patients with iron deficiency anemia
Restless legs feels like a creeping, crawling or aching in the legs when you sit or lie down. Moving them brings brief relief, which keeps you awake, and it worsens in the evening and at night. A partner may notice leg jerks during sleep.
Iron-deficiency anaemia is also linked more broadly to taking longer to fall asleep, shorter sleep and less deep sleep.12PubMed Central. Anemia and Sleep Disturbances: Mechanisms, Evidence and Clinical Implications – a Narrative Review Ferritin, the number on a blood test that shows your iron stores, may be worth treating in people with restless legs when it is below about 50 to 75, even if it falls within the lab’s normal range.12PubMed Central. Anemia and Sleep Disturbances: Mechanisms, Evidence and Clinical Implications – a Narrative Review
The good news is that this responds to treatment. Iron tablets or iron given by drip reduce restless legs and sleep problems in most trials.12PubMed Central. Anemia and Sleep Disturbances: Mechanisms, Evidence and Clinical Implications – a Narrative Review
Low iron is most likely in people with heavy periods or who are pregnant, regular blood donors, vegetarians and people with gut conditions that limit absorption. Anyone with restless legs plus fatigue or breathlessness should suspect it too.
Iron is the one deficiency here where self-treating is a poor idea. It is a mineral the body cannot easily get rid of, so too much can be harmful, unlike many vitamins where excess is mostly passed out. Low iron is also often a symptom of something else, such as blood loss, so finding and fixing the cause matters as much as replacing the iron.
Vitamin C, A and E Have Weaker Links
People who sleep 5 to 6 hours tend to eat the least vitamin C and have lower blood levels than 7 to 8 hour sleepers.2PubMed Central. The Role of Vitamin C in Two Distinct Physiological States: Physical Activity and Sleep Vitamin C protects nerve cells from wear-and-tear damage that may disturb sleep.13PubMed Central. Association between vitamin C in serum and trouble sleeping based on NHANES 2017–2018 But short sleep may lower vitamin C rather than the other way round. People who sleep little may eat differently, choosing convenience food or snacking at night, so their lower intake could follow poor sleep rather than cause it.
Vitamins A and E have even thinner evidence. Eye cells that tell the brain’s clock whether it is day or night rely on a vitamin A-based light sensor.14PubMed Central. Impacts of vitamin A deficiency on biological rhythms: Insights from the literature In animal studies, vitamin E protected memory from damage caused by long-term sleep loss.15PubMed. The neuroprotective effect of vitamin E on chronic sleep deprivation-induced memory impairment: the role of oxidative stress These are lab findings, not evidence that vitamin E helps people sleep.
Most people eating a mixed diet get enough of vitamins A, C and E. True shortage is unusual and tends to occur with very restricted diets or conditions that limit absorption, and vitamin C low enough to cause illness is rare in people who eat some fruit and vegetables. Citrus, peppers and berries supply vitamin C, and a better diet is a safer route than antioxidant pills.
Can Taking Vitamins Make Sleep Worse
People taking a multivitamin or several single vitamins woke more often and for longer at night than non-users.16PubMed Central. Vitamins and sleep: an exploratory study They were also slightly more likely to have insomnia and use sleep medication.16PubMed Central. Vitamins and sleep: an exploratory study People with poor sleep may simply be more likely to try vitamins, so this doesn’t prove the pills are to blame.
Some specific culprits are known. Too much vitamin B6 can be harmful, including causing nerve damage, and may disturb sleep.17HealthMatch. 5 Vitamins That May Be Causing Insomnia Or Affecting Your Sleep Taking B vitamins in the morning rather than at bedtime is a reasonable step.
It is worth checking your own shelf. Energy formulas often pack large doses of B vitamins, and many products contain the same vitamins, so add up doses across them. Taking several at once makes it easy to exceed safe amounts without realising, particularly of B6.
Timing is a useful clue. Did sleep get worse around the time you started a new vitamin or raised a dose? Poor sleep that began before any supplement points elsewhere. You can move supplements to breakfast for two weeks and see if sleep changes, or, after checking with your doctor if it was prescribed, stop a high-dose product and note the effect.
Combinations can help in some groups. Magnesium plus vitamin D has shown sleep benefits in people with ADHD, for example.18PubMed Central. The role of vitamin D in sleep regulation: mechanisms, clinical advances, and future directions
How to Find Out If a Deficiency Is Behind Your Sleep
Ask a doctor about blood tests for:
- Vitamin D: the vitamin most linked to sleep problems.1PubMed Central. The Association between Vitamin D Deficiency and Sleep Disorders: A Systematic Review and Meta-Analysis
- Vitamin B12: especially if you eat little animal food or are older.
- Folate: and homocysteine if insomnia resists usual treatments.9PubMed Central. Chronic insomnia in the setting of MTHFR polymorphism
- Ferritin: especially if you have restless legs.12PubMed Central. Anemia and Sleep Disturbances: Mechanisms, Evidence and Clinical Implications – a Narrative Review
Correcting a real deficiency is the step with the best chance of helping. In one reported case, three months of vitamin D plus B vitamins improved sleep in a deficient person, which shows benefit may take weeks.19PubMed Central. Vitamin D deficiency changes the intestinal microbiome reducing B vitamin production in the gut Iron and vitamin D stores often take weeks to months to rise. Retest after treatment to confirm levels have recovered, and if sleep doesn’t improve once they are normal, look for other causes.
Before the appointment, keep a two-week sleep diary of bedtime, waking and night awakenings. List every supplement and medicine with doses. Mention leg sensations, tiredness, diet and sun exposure. Ask what level counts as low for each test and whether your symptoms fit the number.
Vitamins are only one possible cause. Stress, anxiety and depression are among the most frequent causes of insomnia. Caffeine, alcohol and late screens disrupt sleep regardless of vitamins. Snoring with daytime sleepiness may point to sleep apnoea, and thyroid problems and some medicines can also keep people awake.

