Quick Answer: Sleep and depression are tightly linked in both directions. A meta-analysis of 21 studies found that people with insomnia had about twice the risk of later depression. Both short and long sleep were linked to higher depression risk in another pooled analysis. Online CBT-I lowered depression symptoms in trials, but this guide is information, not treatment advice.
Rate your own sleep trouble with our insomnia severity calculator.
How Are Sleep Problems And Depression Connected?
Each can make the other worse. Insomnia often appears before depression and may continue after treatment. Depression can also change sleep, causing too little or too much of it. The studies below look at one piece of this relationship at a time, so no single study explains the whole picture.
For a wider view, see our hub on sleep and mental health.
Does Insomnia Raise The Risk Of Depression?
Yes, as an association over time. A meta-analysis pooled 21 longitudinal studies and found that insomnia at the start predicted depression at follow-up, with a random-effects odds ratio of 2.60 (95 percent confidence interval 1.98 to 3.42). After adjusting for outliers, the fixed-effects odds ratio was 2.10 (1.86 to 2.38) (Baglioni and colleagues, 2011).
The authors summarized that people with insomnia who are not depressed have a twofold risk of developing depression compared with people without sleep difficulties. They noted that the included studies did not always account for other factors, so this is a link, not proof of cause.
Are Short And Long Sleep Both Linked To Depression?
Yes. A meta-analysis of seven prospective studies found that, compared with normal sleep, short sleep carried a pooled relative risk of 1.31 for depression (95 percent confidence interval 1.04 to 1.64), and long sleep carried 1.42 (1.04 to 1.92). The studies covered 25,271 people for short sleep and 23,663 for long sleep, and the authors found no evidence of publication bias (Zhai and colleagues, 2015).
Because these were observational studies, they cannot say whether sleep changes caused depression or depression changed sleep. Neither pooled analysis tested a treatment, so they tell you about risk, not about what to do next. For the long-sleep side of this pattern, see our guide on oversleeping.
| Pattern | Link with depression |
|---|---|
| Insomnia at baseline | Odds ratio 2.60 for later depression (21 studies) |
| Short sleep | Relative risk 1.31 (7 studies) |
| Long sleep | Relative risk 1.42 (7 studies) |
| Sleepiness score of 11 or more | Odds ratio 1.56 in one cohort |
Is Feeling Sleepy The Same As Being Sleepy On Tests?
Not in depression. In the Wisconsin Sleep Cohort, 1,287 adults were studied. After adjusting for many factors, high daytime sleepiness on a questionnaire (a score of 11 or more) went with 1.56 times the odds of depression, and sleeping 9 or more hours a night went with 2.01 times. But a measured tendency to fall asleep quickly in a lab test went with lower odds (0.76) (Plante and colleagues, 2016).
The authors called this a divergence between subjective and objective sleepiness. Depression was defined by a questionnaire score or use of antidepressants. It shows that feeling sleepy and being physiologically sleepy are not the same thing, and the reason is unclear.
How Was The Wisconsin Sleep Study Done?
Researchers measured sleepiness three ways: a questionnaire, reported sleep length, and a lab test of how fast a person falls asleep during the day. They then adjusted for age, sex, body mass index, chronic conditions, sleeping pill use, caffeine, tobacco, alcohol and sleep-disordered breathing.
Even after those adjustments, the questionnaire and long-sleep links held. This helps rule out some other explanations, but not all of them, since the study was observational.
Can Treating Insomnia Help Depression Symptoms?
In several trials it did. In the GoodNight Study, adults with insomnia and some depression symptoms, but not major depression, were randomly given SHUTi, a 6 week online program based on CBT-I, or an attention-matched placebo program. Of 1,149 people randomized, 504 completed the 6 month follow-up. SHUTi lowered depression symptom scores at 6 weeks and 6 months (Christensen and colleagues, 2016).
Major depression was diagnosed in 22 people at 6 months, 9 in the SHUTi group and 13 in the placebo group, a difference that was not statistically significant. So the trial showed lower symptoms, not proven prevention of depressive episodes.
How Was The GoodNight Trial Designed?
Internet users aged 18 to 64 took part. Everyone had insomnia and some depression symptoms but did not meet criteria for major depressive disorder. A computer assigned them to the insomnia program or the placebo program, 574 and 575 people, and the interviewers and statisticians did not know who got which.
The main outcome was the depression score (PHQ-9) at 6 months. Only 51 percent finished the 6 week assessments and 44 percent finished the 6 month ones, which is a limit. No harms were reported in the abstract’s findings.
What Do Pooled Trials Say About Online CBT-I?
A meta-analysis combined seven randomized trials with 3,597 people who had insomnia and depression symptoms. Digital CBT-I reduced insomnia severity (standardized mean difference -0.85) and depression symptoms (-0.47) in the short term. At longer follow-up of 6 weeks to 6 months, insomnia fell by -0.71 and depression by -0.42 (Lin and colleagues, 2023).
The authors said the effect was comparable to traditional face-to-face CBT-I. The abstract does not say how many trials fed each depression estimate, so the figures may change as more studies appear. To learn what CBT-I involves, read our CBT-I guide.
What Are The Limits Of These Studies?
Each source has a different limit. The insomnia analysis noted that included studies did not always account for other variables. The sleep duration analysis combined seven studies, and sleep length was reported by participants. The Wisconsin cohort measured depression with a questionnaire or medication use, not a clinical interview.
These limits do not cancel the findings, but they mean the numbers show strength of link, not size of cause.
What Can You Do?
These are practical suggestions, not medical advice:
- Track your sleep and mood for two weeks to spot patterns.
- Tell your doctor about both sleep trouble and low mood, since each affects the other.
- Ask about CBT-I, which is a structured, non-drug therapy for insomnia.
- Keep a steady sleep and wake time.
- Do not stop any prescribed medicine without talking to your prescriber.
Our guide on how to cure insomnia covers habits that support better sleep.
How Strong Is The Evidence?
Good for the link, modest for treatment. The pooled analyses combine many studies, but most are observational. The CBT-I trials are randomized, yet many participants dropped out of the longest follow-up, and the largest trial did not show fewer new diagnoses. None of this proves that fixing sleep will prevent depression.
When To Get Help
Talk to a doctor or mental health professional if you feel down most days for two weeks or more, lose interest in things you enjoy, have trouble sleeping or sleep far too much, or notice your mood and sleep getting worse together. Depression is treatable.
If you feel hopeless or think about harming yourself, call or text 988 in the US right away. If you are in immediate danger, call 911.
FAQs About Sleep And Depression
Does Lack Of Sleep Cause Depression?
It is linked to it. Short sleep carried a relative risk of 1.31 in a pooled analysis, but these studies cannot prove cause.
Does Insomnia Lead To Depression?
A meta-analysis found that people with insomnia had about twice the risk of later depression, though other factors may play a part.
Can Too Much Sleep Be A Sign Of Depression?
Long sleep was linked to a relative risk of 1.42, and sleeping 9 or more hours went with higher odds of depression in one cohort. Many things can cause long sleep.
Why Do I Feel Sleepy But Test Alert?
In one cohort, questionnaire sleepiness went with higher odds of depression, while a measured tendency to fall asleep fast went with lower odds. The reason is unclear.
Can CBT-I Help With Depression?
Digital CBT-I lowered depression symptom scores in trials. It did not clearly reduce new diagnoses of major depression in the largest one.
Is Online CBT-I As Good As In-Person?
The meta-analysis authors said its effect was comparable to traditional face-to-face CBT-I.
Should I See A Doctor About Sleep And Mood?
Yes, if low mood or sleep problems last more than a couple of weeks or affect daily life.
Sources
- Insomnia as a predictor of depression: a meta-analytic evaluation of longitudinal epidemiological studies (Journal of Affective Disorders, 2011)
- Sleep duration and depression among adults: a meta-analysis of prospective studies (Depression and Anxiety, 2015)
- Subjective and objective measures of hypersomnolence demonstrate divergent associations with depression among participants in the Wisconsin Sleep Cohort Study (J Clin Sleep Med, 2016)
- Effectiveness of an online insomnia program (SHUTi) for prevention of depressive episodes (the GoodNight Study): a randomised controlled trial (Lancet Psychiatry, 2016)
- The efficacy of digital cognitive behavioral therapy for insomnia and depression: a systematic review and meta-analysis of randomized controlled trials (PeerJ, 2023)