Vitamin B12 and Sleep: What the Studies Show About the Body Clock
Vitamin B12, also called cobalamin, comes up in searches about sleep mostly because of a set of studies from the 1990s on the body clock. This guide sets out what those studies tested, what the one controlled trial in a sleep disorder found, what population data show, and who is more likely to be low in B12.
It is not medical advice. If sleep trouble is persistent, talk to a healthcare provider.
The Short Answer
- We found no placebo-controlled trial showing that B12 improves sleep in adults with insomnia. The research is about the body clock and the timing of sleep, not about insomnia.
- The largest controlled trial found no benefit. In 50 people with delayed sleep phase syndrome, 3 mg a day of methylcobalamin for four weeks did no better than placebo on sleep logs, mood or daytime drowsiness.
- Small studies found that B12 changed the melatonin rhythm, not when people slept. In nine healthy adults, four weeks of 3 mg a day moved the 24-hour melatonin rhythm about 1.1 hours earlier, with no change in the timing of sleep.
- One small trial found less sleep, not more. In 20 healthy adults, methylcobalamin reduced sleep time, and the authors described an alerting effect.
- Low B12 is a real medical problem, and some groups are more likely to have it: people over 50, vegetarians and vegans, people who have had stomach or intestinal surgery, and long-term users of metformin or heartburn medicines.
What Vitamin B12 Does
MedlinePlus, the National Library of Medicine’s consumer health site, says B12 is important for protein metabolism, helps form red blood cells and helps maintain the nervous system. The body stores it in the liver, a few years’ worth of the needed amount. It is found naturally in animal foods such as fish, meat, poultry, eggs and dairy, and not in plant foods unless they are fortified. The recommended amount for everyone aged 14 and older is 2.4 micrograms (mcg) a day, rising to 2.6 mcg in pregnancy and 2.8 mcg while breastfeeding (MedlinePlus, vitamin B12). The page does not mention sleep.
Its page on B12 deficiency lists fatigue, lack of energy and lightheadedness among the possible symptoms (MedlinePlus, B12 deficiency anemia). Tiredness from a deficiency is a different problem from insomnia, and it calls for a blood test, not a sleep aid.
The Body-Clock Studies
The idea that B12 could help sleep comes from Japanese reports on circadian rhythm disorders, in which the body clock runs out of step with the day.
- Okawa and colleagues, 1990. Two case reports. A 15-year-old blind girl whose sleep-wake rhythm had run on a cycle of about 25 hours for some 13 years fell into a 24-hour rhythm after starting 1.5 mg of B12 three times a day, and the old pattern returned within two months of stopping. A 55-year-old man with delayed sleep phase syndrome improved on 1.5 mg a day. Her blood B12 was normal before and after treatment (Okawa et al., 1990).
- Yamadera and colleagues, 1996. 106 people with sleep-wake rhythm disorders were treated with B12, bright light, chronotherapy and/or sleeping pills, and the authors report moderate or marked improvement in 32% to 67% depending on the disorder (Yamadera et al., 1996). Because the treatments were combined, the study cannot say what B12 did on its own.
- Honma and colleagues, 1992. Nine healthy adults took 3 mg a day of methylcobalamin or placebo for four weeks each, blinded, in a crossover. With B12 the 24-hour melatonin rhythm was 1.1 hours earlier, average melatonin was lower, and bright light suppressed melatonin more. B12 did not change the timing of sleep. The authors raise the possibility that B12 makes the clock more sensitive to light (Honma et al., 1992).
- Hashimoto and colleagues, 1996. Eight young men received B12 or a placebo in a single-blind crossover, first by injection and then by mouth (2 mg three times a day). One three-hour session of bright light at 7 a.m. moved the melatonin rhythm earlier with B12 but not with placebo (Hashimoto et al., 1996).
- Mayer and colleagues, 1996. 20 healthy adults took 3 mg a day of either cyanocobalamin or methylcobalamin for 14 days. Both forms lowered a urine marker of melatonin in the morning hours and increased activity between 11 p.m. and 7 a.m. Sleep time was significantly shorter on methylcobalamin. The authors conclude that only methylcobalamin had an alerting effect, shifting the sleep-wake cycle toward less sleep (Mayer et al., 1996).
The Controlled Trial
Okawa and colleagues then ran a multicenter, double-blind trial in 50 people aged 13 to 55 with delayed sleep phase syndrome, in which sleep comes much later than the person wants. 27 took 3 mg a day of methylcobalamin and 23 took a placebo for four weeks. The groups did not differ significantly in mood or drowsiness during the day, or in night sleep by sleep log. The authors conclude that this dose over four weeks is “not an effective treatment” for the condition (Okawa et al., 1997).
This is the strongest design in the B12 sleep literature we found, and it was negative.
What Population Data Show
- Beydoun and colleagues, 2014. An analysis of 2,459 US adults aged 20 to 85 in the 2005 to 2006 National Health and Nutrition Examination Survey found an independent inverse association between blood B12 and sleep duration: higher B12, shorter sleep (Beydoun et al., 2014). The data were collected at one point in time, so they cannot show which came first.
- Ji and colleagues, 2017. A systematic review of 26 articles on micronutrients and sleep found sleep duration negatively associated with vitamin B12, as well as with copper and potassium (Ji et al., 2017).
Methylcobalamin or Cyanocobalamin?
Supplements sell several forms of B12. Cyanocobalamin is the synthetic form used to fortify foods. Methylcobalamin, adenosylcobalamin and hydroxocobalamin occur in the body and in animal foods.
- For sleep, one small study compared forms. In the 1996 trial above, both forms changed the melatonin marker, but only methylcobalamin shortened sleep (Mayer et al., 1996).
- For B12 status, a 2017 review found that all forms are reduced in the body to a core cobalamin molecule, which cells then convert to their active forms in a ratio not influenced by the form taken. The authors prefer the natural forms but also write that for most people all forms may have similar bioavailability and effects. One of the two authors is chief medical officer of Designs for Health, a supplement company (Paul and Brady, 2017).
We found no evidence that one form is better for sleep.
Who Tends to Run Low
MedlinePlus says B12 deficiency is most common in people who are over 50, follow a vegetarian or vegan diet, have had stomach or intestinal surgery such as weight-loss surgery, have digestive conditions such as celiac disease or Crohn disease, or have pernicious anemia, an autoimmune condition that blocks absorption (MedlinePlus, vitamin B12). Its deficiency page adds long-term use of antacids and other heartburn medicines, long-term use of metformin, alcohol use and misuse of nitrous oxide (MedlinePlus, B12 deficiency anemia).
On metformin, a long-term analysis of the Diabetes Prevention Program found low B12 more often with metformin than with placebo at five years (4.3% vs 2.3%). At 13 years the gap (7.4% vs 5.4%) was no longer statistically significant (Aroda et al., 2016).
A Formula That Lists Other B Vitamins
Yu Sleep, a liquid sleep formula we review, does not list vitamin B12. Its label lists 0.5 mg of vitamin B6 and 0.5 mg of vitamin B2 per serving, which our B vitamins guide compares with the studies of those two vitamins. Our review covers all ten of its ingredients. Affiliate disclosure: the review contains an affiliate link; if you buy through it, we may earn a commission.
Talk to Your Doctor If…
- You have numbness or tingling in your hands or feet, trouble with balance, or unusual tiredness, confusion or memory problems. MedlinePlus lists these among the signs of low B12 and says nerve damage from a long deficiency may be permanent if treatment is not started promptly.
- You are in one of the groups above, such as long-term metformin or heartburn medicine, weight-loss surgery, celiac or Crohn disease, or a vegan diet. A blood test can check your level.
- You cannot fall asleep until very late and cannot wake when you need to. That pattern can be a circadian rhythm disorder, and our circadian rhythm guide explains what the clinical guideline supports.
- Sleep trouble lasts for weeks. For chronic insomnia in adults, clinical guidelines recommend cognitive behavioral therapy for insomnia first, as our guide to waking up at night explains.
- You are thinking of taking milligram doses. The studies above used 1.5 to 6 mg a day, 625 to 2,500 times the 2.4 mcg adults are advised to get.
What We Do Not Know
- Whether B12 helps insomnia. We found no trial in people with insomnia.
- Whether the melatonin changes matter for sleep. The nine-person study found an earlier melatonin rhythm but no change in sleep timing, and the controlled trial in delayed sleep phase was negative.
- Whether low B12 harms sleep. The population data link higher B12 with shorter sleep, and they cannot show cause in either direction.
Who Ran the Research
- The 1990 to 1997 studies list no funding or conflict statements in their PubMed records, and we did not read the full texts.
- The 2014 survey analysis had NIH intramural support.
- One author of the 2017 review of B12 forms is chief medical officer of a supplement company.
- We did not check the funding of the 2016 metformin analysis.
Funding does not invalidate a study. It is why we say who is who.
Questions
Does vitamin B12 help you sleep?
We found no trial showing that it does. The one controlled trial in a sleep disorder, delayed sleep phase syndrome, found no benefit over placebo, and in healthy adults methylcobalamin shortened sleep.
Can vitamin B12 keep you awake?
In one small 1996 trial of 20 healthy adults, 3 mg a day of methylcobalamin significantly reduced sleep time, and the authors described an alerting effect. It is one study, and it has not been repeated in what we found.
See Also
Our B vitamins guide covers vitamins B6 and B2, and Best Natural Sleep Supplements ranks nine sleep ingredients by the strength of their evidence. What Is the Circadian Rhythm? explains the body clock these studies were trying to move.
Sources Cited in This Guide
- National Library of Medicine, MedlinePlus. “Vitamin B12.” Review date January 21, 2025. Read November 30, 2026. MedlinePlus
- National Library of Medicine, MedlinePlus. “Vitamin B12 deficiency anemia.” Read November 30, 2026. MedlinePlus
- Okawa M, Mishima K, Nanami T, et al. “Vitamin B12 treatment for sleep-wake rhythm disorders.” Sleep. 1990. Read November 30, 2026 (abstract). PMID 2305167
- Yamadera H, Takahashi K, Okawa M. “A multicenter study of sleep-wake rhythm disorders: therapeutic effects of vitamin B12, bright light therapy, chronotherapy and hypnotics.” Psychiatry Clin Neurosci. 1996. Read November 30, 2026 (abstract). PMID 9201777
- Honma K, Kohsaka M, Fukuda N, Morita N, Honma S. “Effects of vitamin B12 on plasma melatonin rhythm in humans: increased light sensitivity phase-advances the circadian clock?” Experientia. 1992. Read November 30, 2026 (abstract). PMID 1516676
- Hashimoto S, Kohsaka M, Morita N, et al. “Vitamin B12 enhances the phase-response of circadian melatonin rhythm to a single bright light exposure in humans.” Neurosci Lett. 1996. Read November 30, 2026 (abstract). PMID 8981490
- Mayer G, Kröger M, Meier-Ewert K. “Effects of vitamin B12 on performance and circadian rhythm in normal subjects.” Neuropsychopharmacology. 1996. Read November 30, 2026 (abstract). PMID 8914118
- Okawa M, Takahashi K, Egashira K, et al. “Vitamin B12 treatment for delayed sleep phase syndrome: a multi-center double-blind study.” Psychiatry Clin Neurosci. 1997. Read November 30, 2026 (abstract). PMID 9413873
- Beydoun MA, Gamaldo AA, Canas JA, et al. “Serum nutritional biomarkers and their associations with sleep among US adults in recent national surveys.” PLoS One. 2014. Read November 30, 2026 (abstract). PMID 25137304
- Ji X, Grandner MA, Liu J. “The relationship between micronutrient status and sleep patterns: a systematic review.” Public Health Nutr. 2017. Read September 19, 2026 (abstract). PMID 27702409
- Paul C, Brady DM. “Comparative Bioavailability and Utilization of Particular Forms of B12 Supplements With Potential to Mitigate B12-related Genetic Polymorphisms.” Integr Med (Encinitas). 2017. Read November 30, 2026 (abstract). PMID 28223907
- Aroda VR, Edelstein SL, Goldberg RB, et al. “Long-term Metformin Use and Vitamin B12 Deficiency in the Diabetes Prevention Program Outcomes Study.” J Clin Endocrinol Metab. 2016. Read November 30, 2026 (abstract). PMID 26900641
This guide is for information and is not medical advice. Talk to a healthcare provider about medication, pregnancy, medical conditions and persistent sleep problems.
If this guide was useful, send it to someone who is also awake at 3 a.m.