B vitamins and sleep disorders: What studies show about B12, B6, and B-complex supplements
September 28, 2026approx. 17 minutesby mybody®x Editorial & Expert Team

Key takeaways
A B-complex supplement, which contains several B vitamins, appears only once in the studies reviewed: participants in an exploratory add-on group who took it before bed rated their sleep worse and felt more tired upon waking (Aspy et al., 2018). We found no study showing that a B6 or B12 deficiency causes sleep disorders.
In healthy people taking high doses of vitamin B12, the rhythm of the messenger substance melatonin, which is produced at night, shifted earlier, but sleep timing stayed the same (Honma et al., 1992).
According to sleep diaries, people with a sleep-wake rhythm disorder slept no differently in the B12 group than in the placebo group (Okawa et al., 1997).
Higher vitamin B12 levels in the blood were associated with shorter, not longer, sleep in a U.S. survey. This is an association, not proof of cause (Beydoun et al., 2014).
In this article
Sleep disorders and the internal clock: How is sleep regulated?
The body’s internal clock sets the rhythm, acting as its own timekeeper for waking and sleeping. Melatonin also plays a role: according to the Institute for Quality and Efficiency in Health Care, the body produces this messenger substance “mainly at night, between 9 p.m. and 8 a.m.” (IQWiG, 2024).
IQWiG defines a sleep disorder as sleeping so poorly that quality of life is affected on at least three nights a week for more than a month (IQWiG, 2024). So one restless week doesn’t qualify.
If you start sleeping worse after taking a vitamin B supplement, the first thing you might wonder is whether to stop taking it. This article won’t make that decision for you, and it doesn’t recommend doing so either. It lays out what the studies tell us about sleep and explains when your family doctor’s office is the right place to ask. The second line of inquiry goes the other way: could a B-vitamin deficiency be behind poor sleep?
The body clock does not run in exact sync with the day. Its cycle is “never exactly 24 hours” and settles “at 25 hours” under laboratory conditions (IQWiG, 2024). You can think of it as a schedule that determines when the body switches to night mode. Two of the B12 studies in this article focus on exactly that schedule: they measured melatonin levels as well as sleep.
This distinction is the benchmark for the question about B vitamins. A study can find a change in melatonin without any change in sleep. And one bad night does not yet qualify as a sleep disorder under the definition.
Sleep and the body clock in numbers
3 nights
Poor sleep on at least three nights a week for more than a month is considered a sleep disorder (IQWiG, 2024).
9 p.m. to 8 a.m.
The body produces melatonin “mainly” during this time (IQWiG, 2024).
25 hours
“At 25 hours,” the body clock’s cycle settles under laboratory conditions, “never exactly at 24 hours” (IQWiG, 2024).
Source: IQWiG, gesundheitsinformation.de, as of 2024
Does vitamin B12 affect the body clock and sleep?
Melatonin levels, yes; sleep, not consistently: in small studies, vitamin B12 changed measurements related to melatonin, while results for sleep itself varied (Honma et al., 1992; Mayer et al., 1996). In people with a sleep-wake rhythm disorder, a study using a placebo, or a dummy pill without an active ingredient, found no difference (Okawa et al., 1997).
All three studies in this chapter used 3 milligrams (mg) of vitamin B12 per day (Mayer et al., 1996; Honma et al., 1992; Okawa et al., 1997). That is many times the estimated value of 4.0 micrograms (µg) that the German Nutrition Society gives as an adequate intake for adults (DGE, 2018). Two forms of the vitamin were used: methylcobalamin, which Okawa et al. describe as an active form of B12, and cyanocobalamin, another form of B12 that Mayer et al. used for comparison (Okawa et al., 1997; Mayer et al., 1996).
Mayer et al. themselves called their work a preliminary study: after 9 days of observation, 20 healthy people took 3 mg of either cyano- or methylcobalamin daily for 14 days, randomly assigned and without a placebo group (Mayer et al., 1996). With both forms, they excreted less of a melatonin breakdown product in their urine over 24 hours, with a marked decrease between 7 and 11 a.m. (Mayer et al., 1996). They were more active between 11 p.m. and 7 a.m., and slept significantly less with methylcobalamin (Mayer et al., 1996).
The authors interpret this as a direct effect of B12 on melatonin; they observed a wake-promoting effect only with methylcobalamin, in a comparison of the two forms (Mayer et al., 1996). The study summary does not say what time of day participants took their supplement. It therefore cannot show whether B12 disrupts sleep in the evening.
Honma et al. gave 9 healthy people 3 mg of methylcobalamin daily for four weeks in a blinded crossover study, in which the same people receive the active ingredient and placebo in turn (Honma et al., 1992). With B12, the 24-hour melatonin rhythm shifted forward by 1.1 hours, and the average melatonin level in the blood was significantly lower (Honma et al., 1992). B12 did not change the timing of sleep, however. The researchers suggest that B12 may make the internal clock more sensitive to light, and put a question mark at the end of their study title (Honma et al., 1992).
Key takeaway
Vitamin B12 changed melatonin levels in small studies, but the results do not show a consistent effect on sleep.
The third study is the strongest methodologically, and its results are sobering. Okawa et al. studied 50 people with delayed sleep phase syndrome, a sleep-wake rhythm disorder, at several centers (Okawa et al., 1997). The study was double-blind: participants and the study team did not know who received the active ingredient. Of these, 27 took 3 mg of methylcobalamin daily for four weeks, while 23 took a placebo (Okawa et al., 1997).
Neither daytime nor nighttime assessments showed clear differences from the placebo group, according to self-reports and sleep diaries (Okawa et al., 1997). The authors conclude that methylcobalamin at this dose does not work for this disorder; earlier, more favorable reports came from open-label, unblinded studies (Okawa et al., 1997). The study says nothing about healthy people.
For more on what melatonin does in the body, see the article about Melatonin, its effects and the facts about it. Here, the only relevant points are that two of the three B12 studies measured its levels and that neither found a consistent effect on sleep.
Does vitamin B6 or a B-complex supplement in the evening disrupt sleep?
In a placebo-controlled study of vitamin B6, the only clear change was how much participants remembered of their dreams (Aspy et al., 2018). By contrast, the B-complex group rated their sleep worse and felt more tired on waking (Aspy et al., 2018).
Aspy et al. randomly assigned 100 participants from Australia and used double blinding; those in the B6 group took 240 mg of pyridoxine hydrochloride, a form of vitamin B6, before bed on five consecutive evenings (Aspy et al., 2018). An exploratory supplementary group received a B-complex supplement containing several B vitamins. The study summary does not state its composition or dosage (Aspy et al., 2018).
With vitamin B6, participants recalled significantly more dream content (Aspy et al., 2018). This did not make their dreams noticeably more vivid or colorful, and the other sleep characteristics also remained largely unchanged (Aspy et al., 2018). The dreams themselves did not change; rather, participants remembered more of them in the morning.
The B complex group showed a different result: They rated their own sleep quality significantly lower and felt significantly more tired upon waking (Aspy et al., 2018). Among the sources for this article, this is the only finding linking a B complex with poorer sleep.
Verified source
“In contrast, participants in the B complex group showed significantly lower self-rated sleep quality and significantly higher tiredness on waking.”
Translated into German: In contrast, participants in the B complex group rated their sleep quality significantly lower and were significantly more tired upon waking (Aspy et al., 2018).
Aspy D. J. et al., Effects of Vitamin B6 (Pyridoxine) and a B Complex Preparation on Dreaming and Sleep
Perceptual and Motor Skills, 2018
The scope of this finding is limited. The data are based solely on self-reports over five days, and the group was included for exploratory purposes, not as the study's main research question (Aspy et al., 2018). The B complex was taken in the evening. The group's greater tiredness in the morning is an assessment made after waking, not a measurement of alertness during the day.
The 240 mg of B6 also reflects the design of this study and cannot be applied to lower-dose supplements (Aspy et al., 2018). The article on side effects of a vitamin B complex summarizes other reported side effects of a B complex.
Can a B vitamin deficiency trigger sleep problems?
Whether a vitamin B6 or B12 deficiency triggers sleep problems remains unclear here. The sources for this article include an analysis of blood values, which shows associations, not causation (Beydoun et al., 2014).

Beydoun et al. analyzed data from NHANES, a national health survey in the US from 2005 and 2006, involving 2,459 adults aged 20 to 85 (Beydoun et al., 2014). It is a cross-sectional study: blood values and sleep reports come from the same period, so it is not possible to say which came first. Sleeping 5 to 6 hours per night was considered short, and 7 to 8 hours normal (Beydoun et al., 2014).
The association with vitamin B12 went against what the search question might suggest: Higher serum B12 levels, in the liquid part of the blood, were associated with shorter sleep duration, not longer (Beydoun et al., 2014). For folate, another B vitamin, the association pointed in the direction that fits the search question: Higher levels were associated with fewer sleep problems (Beydoun et al., 2014). For vitamin D, the analysis found a similar association with less sleepiness and less insomnia (Beydoun et al., 2014).
Only a few of the nutrient levels studied were associated with sleep at all (Beydoun et al., 2014). The authors consider longitudinal studies that follow the same people over a longer period necessary to clarify the sequence of events and possible causes (Beydoun et al., 2014). Vitamin B6 was not measured in this analysis.
For the search question, this means two things. The B12 finding in this analysis does not support the theory that low B12 disrupts sleep. For folate, the association points toward “less nutrient, worse sleep,” but it is an association, not a cause.
We found no study on whether a B6 deficiency disrupts sleep. The article on vitamin B6 deficiency symptoms describes other possible signs of such a deficiency. The article on vitamin D deficiency and sleep disorders explains how vitamin D and sleep are connected.
B vitamins and sleep: What do the studies show when compared?
Taken together, the studies do not show a consistent picture. B12 changed melatonin levels, but did not clearly affect sleep in either direction; the only indication of worse sleep after taking a B-complex comes from the exploratory add-on group in a single study (Aspy et al., 2018).
The studies cannot be combined because the vitamins and participants differ too much. When reading them, it helps to look at the study design: Of the supplementation studies, only Mayer et al. did not include a placebo (Mayer et al., 1996), and only Okawa et al. studied people with a sleep-wake rhythm disorder (Okawa et al., 1997).
Studies on B vitamins and sleep
| Study | Who and what | Sleep outcome |
|---|---|---|
| Mayer et al., 1996 | 20 healthy people took 3 mg of methylcobalamin or cyanocobalamin daily for 14 days, with no placebo (Mayer et al., 1996) | Shorter sleep with methylcobalamin. With both forms, less melatonin metabolite in the morning and more activity at night |
| Honma et al., 1992 | 9 healthy people took 3 mg of methylcobalamin daily for four weeks, blinded against placebo (Honma et al., 1992) | Melatonin rhythm shifted forward by 1.1 hours, sleep timing unchanged (Honma et al., 1992) |
| Okawa et al., 1997 | 50 people with delayed sleep phase syndrome took 3 mg of methylcobalamin or a placebo daily for four weeks, double-blind (Okawa et al., 1997) | No clear difference from placebo, either during the day or at night |
| Aspy et al., 2018 | 100 participants, taking 240 mg of B6 or a placebo on five evenings, double-blind, plus a B-complex group (Aspy et al., 2018) | B6: more dream content recalled, otherwise no clear effect. B-complex: poorer self-reported sleep, more tired upon waking |
| Beydoun et al., 2014 | Cross-sectional analysis of blood levels and sleep reports from 2,459 adults in the US (Beydoun et al., 2014) | Higher B12 associated with shorter sleep, higher folate with fewer sleep problems; associations only, not causation |
Sources: Mayer et al., 1996 · Honma et al., 1992 · Okawa et al., 1997 · Aspy et al., 2018 · Beydoun et al., 2014; in each case, the abstract was reviewed.
The age of the evidence stands out: the three B12 studies date from the 1990s (Honma et al., 1992; Mayer et al., 1996; Okawa et al., 1997). They show what happened with several times the estimated value and apply to this exact study design.
What does this mean for taking B vitamins?
These studies do not establish a rule for taking it, and this text does not provide one. The B12 studies used 3 mg per day (Mayer et al., 1996; Honma et al., 1992; Okawa et al., 1997), several times the estimated value of 4.0 µg (DGE, 2018).
What is established, however, is something else: B vitamins, together with vitamin C, are among the nine water-soluble vitamins (MedlinePlus, 2025). The body does not store them; excess amounts leave the body in urine (MedlinePlus, 2025). The exception is vitamin B12, which can be stored in the liver for many years (MedlinePlus, 2025).
The question of whether a vitamin B complex causes sleep problems includes the idea that a B-complex makes you alert and should therefore be taken in the morning. We found no study comparing taking it in the morning with taking it in the evening.
The studies available do not support this rule. Aspy et al. gave the B-complex in the evening, and the group was more tired, not more alert, upon waking (Aspy et al., 2018). The alerting effect described by Mayer et al. concerns methylcobalamin compared with cyanocobalamin, and the summary does not say when it was taken (Mayer et al., 1996).
The article Taking vitamin B12 in the morning or evening discusses what time of day you can take vitamin B12; this article focuses on what studies show about sleep.
This article does not determine whether you should continue taking a supplement. For the two cases below, your primary care doctor is the first point of contact, even if medications or pre-existing conditions are involved.
When to see a doctor
Poor sleep for more than a month at least three nights a week, affecting quality of life (IQWiG, 2024)
Worse sleep since you started taking a supplement bring the supplement to your doctor’s appointment and discuss the timing
Chapter at a glance
B vitamins are water-soluble and are not stored; the exception is vitamin B12, which can be stored in the liver (MedlinePlus, 2025). The sleep studies on B12 used several times the DGE estimated value (DGE, 2018). We did not find a study on the best time to take it for sleep. Persistent sleep problems should be discussed with your doctor.
What does a blood test show about vitamin B12 and folate?
A blood test shows whether your vitamin B12 or folate level is abnormal, providing an indication of a possible deficiency. It says nothing about sleep.
This is exactly where the two questions in this article diverge. No lab result can tell you whether a supplement affects your sleep. A blood test can provide a starting point for finding out whether B12 or folate deficiency may be involved, and that can matter regardless of sleep.
A B12 deficiency can occur without symptoms, or symptoms may be mild (MedlinePlus, 2026). If it lasts a long time, it can damage nerves, causing symptoms such as numbness and tingling in the hands and feet; this damage can persist if treatment does not begin soon after symptoms start (MedlinePlus, 2026).
For questions about B12 and folate levels, mybody®x (MYBODY Lab GmbH) offers the VitalCheck Nutrient & Mineral Test Complete, an at-home blood test. You collect the sample yourself, and it is analyzed at a specialist laboratory in Germany. The test measures, among other things, vitamin B12 and folate; vitamin D3 is included too.
The test doesn’t measure vitamin B6, so it can neither show nor rule out a deficiency. It says nothing about your sleep, and it can’t determine the right time of day to take a supplement. It provides a snapshot, not a diagnosis; an abnormal result is a reason to talk to your doctor.
From the mybody®x range · Blood test
VitalCheck Complete Nutrient & Mineral Test
At-home blood test using a self-collected sample, analyzed by a specialist laboratory in Germany. It shows, among other things, whether vitamin B12 or folic acid levels in your blood are abnormal. It does not measure vitamin B6 or tell you anything about your sleep: it provides a snapshot, not a diagnosis.
Lab analysis 3–5 business days after sample arrives
Sleep problems caused by a B-complex supplement: What can we say?
Among the sources cited in this article, exactly one finding links a B-complex supplement to worse sleep, and it comes from an exploratory subgroup that rated its own sleep (Aspy et al., 2018). For B12, studies show changes in melatonin, but the findings on sleep are inconsistent.
One thing can still help you: your own observations as a data point. If you note when you started taking a supplement and how your nights have been since, you'll bring more useful information to your primary care appointment than a hunch. A sleep diary, like the one used in the study by Okawa et al. (Okawa et al., 1997), is enough.
None of these studies answers whether you should keep taking the supplement. Take your notes with you to your healthcare provider to discuss that question.
Frequently asked questions
Can vitamin B12 make you feel more alert?
In a preliminary study involving 20 healthy people, the authors reported an alerting effect, but only with methylcobalamin and compared with cyanocobalamin (Mayer et al., 1996). Participants took 3 mg a day, and there was no placebo group (Mayer et al., 1996). In people with a sleep-wake rhythm disorder, a placebo-controlled study found no difference in daytime sleepiness (Okawa et al., 1997). The finding therefore does not support a claim about its effects.
Why do I have more vivid dreams after taking vitamin B6?
Dreams did not become noticeably more vivid in a study with 100 participants, but participants did remember more dream content (Aspy et al., 2018). They took 240 mg of vitamin B6 on five consecutive evenings before going to bed (Aspy et al., 2018). The findings therefore point more to remembering more dreams than to having more intense ones. Anyone concerned about their dreams since starting a supplement should discuss it with their general practitioner.
How much vitamin B12 does an adult need?
For adults aged 19 and older, the DGE gives an estimated value for an adequate intake of 4.0 µg of vitamin B12 per day (DGE, 2018). This is an estimate, not a recommended intake in the narrower sense. According to the DGE, vitamin B12 is found in significant amounts only in animal foods (DGE, 2018). The B12 sleep studies used 3 mg per day (Mayer et al., 1996; Honma et al., 1992; Okawa et al., 1997), several times this amount.
How long does the body store vitamin B12?
Vitamin B12 can be stored in the liver for many years (MedlinePlus, 2025). This makes it the exception among water-soluble vitamins: the body does not store the other B vitamins or vitamin C, and excess amounts leave the body in the urine (MedlinePlus, 2025). A B12 deficiency can occur without symptoms; if it persists for a long time, it can damage nerves (MedlinePlus, 2026).
When is it considered a sleep disorder?
IQWiG defines a sleep disorder as sleeping so poorly that quality of life is impaired for at least three nights a week and for more than a month (IQWiG, 2024). One restless week after starting a new supplement does not yet meet this definition. Anyone who meets these criteria or has been sleeping worse since starting a supplement should first contact their general practitioner.
Next step
How are your B12 and folate levels?
The VitalCheck provides a snapshot of whether your vitamin B12 or folate levels in the blood are abnormal. It says nothing about your sleep and does not measure vitamin B6.
Take the VitalCheck How a vitamin deficiency can affect mental health What the evidence shows and where it falls shortRead more
Sources
- Mayer G. et al.: Effects of vitamin B12 on performance and circadian rhythm in normal subjects (1996) – europepmc.org
- Aspy D. J. et al.: Effects of Vitamin B6 (Pyridoxine) and a B Complex Preparation on Dreaming and Sleep (2018) – europepmc.org
- Beydoun M. A. et al.: Serum nutritional biomarkers and their associations with sleep (2014) – europepmc.org
- IQWiG: Sleep disorders and the internal clock (as of 2024) – gesundheitsinformation.de: Insomnia · Sleep regulation
[1] and [2] provide the study details on B12 in healthy people and on B6 and the B complex. [3] documents the links between blood values and sleep, while [4] provides the definition of sleep disorder and information on the internal clock and melatonin. The studies by Honma et al. (1992) and Okawa et al. (1997) are cited at the relevant point in the text. The DGE estimate (2018) and information from MedlinePlus (2025 and 2026) are also provided there. The studies were available as abstracts, accessed on 28.09.2026. VitalCheck product information: as of 28.09.2026; subject to change.
mybody®x Editorial & Expert Team
Vitamins and sleep Understanding blood values
The mybody®x Editorial & Expert Team writes about blood values and nutrients and checks every figure against the sources cited. The authors page shows who is behind the articles.
Published on 28.09.2026 · Last updated on 28.09.2026
The content is for general information and is not a substitute for medical advice, diagnosis, or treatment. Reference ranges depend on the laboratory, method, and age—the information on your test results is always authoritative.
Our products are not intended to diagnose, treat, cure, or prevent diseases.
The images in this article were created using AI; the people shown are not real.
