Quick Answer: Poor sleep and mental health problems feed each other. Pooled studies found people with insomnia had about twice the risk of later depression, and a review of 65 trials found that improving sleep led to better mood, anxiety and stress scores. This is not a substitute for care. If low mood or anxiety lasts, see a clinician, and call or text 988 if you are in crisis.
Score how much insomnia affects you with our insomnia severity calculator.
How Are Sleep And Mental Health Linked?
In both directions. Poor sleep can come before a mental health problem, and mental health problems often disrupt sleep. A review of treatment trials noted that almost 70 percent of patients with mental disorders report sleep difficulties, and 30 percent meet the criteria for insomnia disorder (Hertenstein and colleagues, 2022).
That is why clinicians treat sleep as part of mental health care, not as an afterthought. For one example, read our guide to PTSD and sleep.
Does Insomnia Predict Depression?
Yes, in long-term studies. A meta-analysis of 21 follow-up studies found an odds ratio of 2.60 (95 percent CI 1.98 to 3.42) for insomnia predicting later depression. After adjusting for outliers it was 2.10 (CI 1.86 to 2.38). The authors summarized that non-depressed people with insomnia have about twice the risk of developing depression (Baglioni and colleagues, 2011).
A later analysis of 34 cohort studies with 172,077 people, followed for an average of 60.4 months, found a similar relative risk of 2.27 (CI 1.89 to 2.71). Results varied a lot between studies, and the authors flagged high heterogeneity (Li and colleagues, 2016).
| Study | Design | Result |
|---|---|---|
| Baglioni, 2011 | 21 follow-up studies | Odds ratio 2.60 (random effects), 2.10 (fixed effects) |
| Li, 2016 | 34 cohorts, 172,077 people | Relative risk 2.27 (1.89 to 2.71) |
Does Fixing Sleep Improve Mood?
Often, yes. A meta-analysis of 65 randomized trials with 8,608 participants asked whether interventions that improved sleep also improved mental health. Improving sleep led to medium-sized gains for overall mental health (g+ of -0.53), depression (-0.63), anxiety (-0.51) and rumination (-0.49), and smaller gains for stress (-0.42) and psychosis symptoms (-0.26). Larger sleep gains went with larger mental health gains (Scott and colleagues, 2021).
These interventions covered a range of approaches, not only CBT-I. The negative signs mean symptoms fell. Treat the numbers as average effects across many studies.
What Does An Effect Size Mean?
It tells you how big a change is, in a way that can be compared across studies. Researchers often call about 0.2 small, 0.5 medium and 0.8 large. So the 0.63 for depression is a medium-to-large average change, while 0.26 for psychosis symptoms is small.
It does not tell you how any one person will respond. Some people improve a lot and some very little. Use the numbers to see the overall direction, not to predict your own result.
Why Might Sleep Affect Mood?
The sources we read test whether sleep affects mood, but they do not prove how. The authors of the 65-trial review wrote that their results suggest sleep is causally related to mental health difficulties, and they called for research into the mechanisms.
So treat explanations you read online with care. What the trials do show is a pattern across many groups: when sleep gets better, mood and anxiety scores tend to get better too, and bigger sleep gains went with bigger mood gains.
What Did The Largest Trial Find?
A trial of 3,755 university students at 26 UK universities compared digital CBT for insomnia with usual practice. At 10 weeks the program reduced insomnia (Cohen d of 1.11), paranoia (d of 0.19) and hallucinations (d of 0.24), and insomnia explained part of the change in paranoia and hallucinations. No adverse events were reported. The authors called it strong evidence that insomnia is a causal factor in psychotic experiences and other mental health problems, but noted the findings need testing beyond students (Freeman and colleagues, 2017).
The effects on paranoia and hallucinations were small. The study did not include people with a diagnosis of psychosis, so it cannot tell you what to expect if you do have one.
What If You Already Have A Mental Health Condition?
CBT-I still helps. A review of 22 trials in people with a mental disorder and insomnia found medium to large improvements in insomnia, and directly after treatment, effects on the comorbid condition were 0.5 for depression and 1.3 for PTSD. The effect for psychosis or bipolar disorder was 0.3 and not statistically significant. There were no significant effects on the comorbid symptoms at follow-up, and the authors still suggested CBT-I as a first-line treatment (Hertenstein and colleagues, 2022).
Learn how it works in our CBT-I guide. Always keep taking prescribed medicines unless your prescriber tells you to change them.
How Strong Is This Evidence?
The prediction studies are observational, so they cannot prove that insomnia causes depression. People with early, hidden low mood may also sleep poorly first. The treatment trials are stronger evidence, and they point the same way. But they used different interventions, and the biggest single trial was in students.
The safest reading is that sleep is a worthwhile target. Treating insomnia is unlikely to harm, may help mood, and does not replace therapy or medicine for depression or anxiety. If you can’t tell whether your pattern is worry or insomnia, see insomnia vs anxiety.
Can Too Little Sleep Ever Be A Warning Sign?
Sometimes. Needing much less sleep for several days while feeling unusually energetic, racing or very irritable can be a sign of a mood episode. It is different from insomnia, where you want to sleep but cannot. If this happens, call a clinician soon instead of waiting.
The same goes for sleep trouble that comes with thoughts that you are in danger or hearing things others do not. Those need prompt professional care.
How Can You Track Sleep And Mood Together?
A simple diary helps. Each morning, write down your bed and wake times and rate your sleep from 1 to 5. Each evening, rate your mood and anxiety from 1 to 5. After two weeks, look for patterns, such as low mood after short nights.
Share the diary with your clinician. It can show whether sleep problems come first or follow mood changes, which helps choose treatment. Keep it simple so you will actually fill it in, and skip a day if you must rather than quitting altogether.
What Can You Do?
These are practical suggestions, not tested programs:
- Keep a regular wake time, even after a bad night.
- Get daylight and some movement during the day.
- Keep screens and heated conversations out of the last hour before bed.
- Write down worries earlier in the evening, not in bed.
- Ask about CBT-I or a digital CBT-I program if poor sleep lasts weeks.
For insomnia specifically, start with our insomnia guide.
When To See A Doctor
Talk to a doctor or mental health professional if low mood, anxiety or worry lasts more than two weeks, you cannot sleep for several nights in a row, you are using alcohol or drugs to cope, or sleep trouble affects work, driving or relationships.
If you are in crisis or have thoughts of harming yourself, call or text 988 in the US, or call 911 if you are in immediate danger.
FAQs About Sleep And Mental Health
Can Lack Of Sleep Cause Depression?
Insomnia predicted later depression in pooled studies, with about twice the risk. Observational data cannot prove cause, but trials of improving sleep also helped mood.
Can Depression Cause Insomnia?
Yes. Mental health problems often disrupt sleep, and almost 70 percent of patients with mental disorders report sleep difficulties.
Does Treating Insomnia Improve Mental Health?
A review of 65 trials found medium-sized gains for depression, anxiety and overall mental health when sleep improved.
Is CBT-I Safe If You Have Anxiety Or Depression?
Trials in people with mental disorders found improvements, and the largest student trial reported no adverse events. Talk to your clinician first.
How Much Sleep Do You Need For Good Mental Health?
No exact number is established. Many adults need at least 7 hours, but needs vary. Quality and regularity matter too.
Does Improving Sleep Help Paranoia?
In a trial of 3,755 students, digital CBT-I reduced paranoia and hallucinations at 10 weeks, but the effects were small.
When Should You Get Help For Sleep Problems?
See a clinician if poor sleep or low mood lasts more than two weeks, or if either affects your safety or daily life.
Sources
- Insomnia as a predictor of depression: a meta-analytic evaluation of longitudinal epidemiological studies
- Insomnia and the risk of depression: a meta-analysis of prospective cohort studies
- The effects of improving sleep on mental health (OASIS): a randomised controlled trial with mediation analysis
- Improving sleep quality leads to better mental health: a meta-analysis of randomised controlled trials
- Cognitive behavioral therapy for insomnia in patients with mental disorders and comorbid insomnia: a systematic review and meta-analysis