Skip to main content

Sleep and depression or anxiety: a two-way relationship

Insomnia is both a symptom and a risk factor for depression and anxiety. The good news: treating your sleep with CBT-i often also improves your mood and anxiety.

· Last reviewed July 12, 2026· 5 min read
BMatig bewijsWe zijn redelijk zeker; verder onderzoek kan de conclusie nog bijstellen.

Sleeping poorly and feeling down or anxious often go hand in hand — but which is the cause and which the effect? The surprising answer is: both at the same time. The relationship between sleep and depression or anxiety runs in two directions. Insomnia is not only a consequence of mental health problems, but also a factor that can fuel them and keep them going. And that's where the good news lies: treating your sleep can also help your mood and anxiety. This article explains the two-way relationship and what it means for how to approach it.

In short: what does the evidence say?

BMatig bewijs

  • The relationship between sleep and mood is two-way traffic: insomnia is both a symptom and a risk factor.
  • Persistent insomnia roughly doubles the chance of later developing depression.
  • Insomnia also predicts the onset of anxiety and the persistence of depression.
  • Treating your sleep with CBT-i often also improves low mood and anxiety — though those effects are small to moderate.
  • Sleep and mood are increasingly treated side by side rather than one after the other.

Sleep and mood: a two-way relationship

For a long time, insomnia was seen mainly as a symptom of depression and anxiety — something that would disappear on its own once the underlying disorder had been treated. That picture is outdated. Research over the past decades shows that the link works in both directions: mental health problems disrupt your sleep, but disrupted sleep in turn feeds low mood, anxiety and irritability [1].

That makes insomnia more than a side effect. It's a point of intervention in its own right — a lever you can pull to break the vicious cycle.

Insomnia as a risk factor

The strongest evidence comes from long-term (longitudinal) studies that follow people over many years. An influential meta-analysis of that type of research found that people with insomnia who were not depressed at the time had roughly a twice-as-high chance of later developing depression than people who slept well [1].

It doesn't stop at depression. A broader systematic review showed that insomnia also predicts the onset of anxiety disorders and contributes to the persistence of depression. The authors suggest that insomnia is a kind of transdiagnostic risk factor: a shared driver behind several mental health conditions [2].

Why this matters

If insomnia often precedes depression and anxiety, then sleep is not just something to restore after treatment — it is a possible point of intervention to reduce symptoms or even help prevent them. That is why guidelines advise taking sleep complaints seriously and asking about them separately [5].

Insomnia as a symptom

At the same time, poor sleep is one of the most common symptoms of depression and anxiety. With depression it often involves trouble staying asleep and waking too early; with anxiety it mainly involves trouble falling asleep due to a restless, tense mind. The NHG guideline and Thuisarts.nl therefore stress that, for persistent sleep complaints, the GP also checks whether there is low mood, anxiety or tension that needs to be treated alongside [6][7].

The problem: if only the depression or anxiety is treated, the insomnia often lingers. And it is precisely that lingering insomnia that increases the chance of relapse. That's an important reason not to treat sleep as a side issue.

Treating sleep often improves mood too

Here comes the encouraging part. If you tackle sleep directly with CBT-i (cognitive behavioral therapy for insomnia), not only does sleep improve, but often mood and anxiety as well.

A large randomized study of over 3,700 students (the OASIS trial) showed that digital CBT-i not only reduced insomnia, but also reduced paranoia, hallucinations, anxiety and low mood — and that the improvement in sleep partly explained those effects [3]. A meta-analysis of digital CBT-i reached a similar conclusion: alongside better sleep, a decrease in depressive and anxiety symptoms was seen [4].

⚠️ Honest about the size of the effect

The effects of CBT-i on mood and anxiety are real, but usually small to moderate — sleep itself improves most clearly. So CBT-i is not a replacement for treating depression or an anxiety disorder, but a valuable addition. For moderate to severe depression, psychological treatment and sometimes medication remain the foundation [7].

Treat side by side, not one after the other

The old idea "treat the depression first and the sleep will follow" is therefore often wrong. Because sleep and mood influence each other back and forth, they are increasingly treated side by side: the depression or anxiety according to the usual approach, and the insomnia with CBT-i. The European insomnia guideline recommends CBT-i as the first-line treatment for insomnia, even when other complaints are involved [5].

ℹ️ What you can do yourself

Keep a brief sleep diary for a week and also note your mood: do you sleep worse during low or tense periods? Take that to your GP. Ask explicitly about (online) CBT-i and, if you have been feeling down or anxious for a longer time, about guidance or treatment for those complaints.

When to see your GP?

See your GP if poor sleep goes together for longer than a few weeks with low mood, anxiety, irritability or loss of pleasure, or if your symptoms interfere with your daily functioning [7]. Your GP or practice nurse (POH-GGZ) can examine you, guide you or refer you — for example to CBT-i, psychological treatment, or both.

ℹ️ Need help right away?

Do you have thoughts of ending your life? Then call your GP, the out-of-hours GP service or 112 right away, or contact 113 Suicide Prevention free of charge, day and night, via 113.nl or 0800-0113.

Sleep and mood are inextricably linked, in both directions. That may sound like a trap, but it is above all an opportunity: by taking your sleep seriously and treating it purposefully, you often help your mood and anxiety along too. If you keep sleeping poorly or feeling down, don't wait it out — raise it with your GP and ask about CBT-i alongside care for your mental health complaints.

Frequently asked questions

Is poor sleep a cause or a consequence of depression?

Both. The relationship runs in two directions. Insomnia is a common symptom of depression and anxiety, but long-standing insomnia also often precedes them and raises the chance of developing them later. In large long-term studies, people with persistent insomnia have roughly a twice-as-high chance of later developing depression.

If I treat my sleep, will my mood improve too?

Often, at least in part. Research shows that CBT-i (cognitive behavioral therapy for insomnia) not only improves sleep, but also reduces low mood and anxiety symptoms. The effects on mood and anxiety are usually small to moderate — sleep itself improves the most. CBT-i does not replace treatment for depression, but it can be a valuable addition to it.

Should I treat my depression first or my sleep first?

It doesn't have to be either-or. It used to be thought that sleep recovers on its own once the depression is treated, but insomnia often turns out to linger, and then it increases the risk of relapse. That is why sleep and mood are increasingly treated side by side. Discuss with your GP what fits best in your situation.

Can too little sleep cause anxiety?

Sleep deprivation can intensify anxiety and tension, and in research persistent insomnia raises the chance of developing an anxiety disorder. Conversely, anxiety keeps you awake at night. Again, it's a two-way relationship: intervening on both sides usually works best.

When should I see my GP about this?

See your GP if poor sleep goes together with low mood, anxiety, irritability or loss of pleasure that last longer than two weeks, or if your symptoms interfere with your daily life. Your GP or mental health practice nurse (POH-GGZ) can examine you, guide you or refer you. Call your GP, 112 or 113 (via 113.nl) right away if you have thoughts of ending your life.

Sources

  1. Baglioni C, et al. (2011). Insomnia as a predictor of depression: A meta-analytic evaluation of longitudinal epidemiological studies. J Affect Disord. doi:10.1016/j.jad.2011.01.011
  2. Hertenstein E, et al. (2019). Insomnia as a predictor of mental disorders: A systematic review and meta-analysis. Sleep Med Rev. doi:10.1016/j.smrv.2018.10.006
  3. Freeman D, et al. (2017). The effects of improving sleep on mental health (OASIS): a randomised controlled trial with mediation analysis. Lancet Psychiatry. doi:10.1016/S2215-0366(17)30328-0
  4. Lee S, et al. (2023). Digital cognitive behavioral therapy for insomnia on depression and anxiety: a systematic review and meta-analysis. npj Digit Med. doi:10.1038/s41746-023-00800-3
  5. Riemann D, et al. (2023). The European Insomnia Guideline: An update on the diagnosis and treatment of insomnia 2023. J Sleep Res. doi:10.1111/jsr.14035
  6. NHG (2024). NHG-Standaard Slaapproblemen. NHG. source
  7. Thuisarts.nl / NHG (2024). Depressie: welke adviezen en behandelingen kunnen je helpen?. Thuisarts.nl. source
  8. Thuisarts.nl / NHG (2024). Ik heb psychische klachten. Van wie krijg ik hulp?. Thuisarts.nl. source