Rest Well Journal

Insomnia and anxiety or depression

Understanding the two-way link

Sources checked November 11, 2026. General education for adults.
Clinically reviewed - Nov 2026

Anxiety or depression can disrupt sleep, and ongoing insomnia can make emotional difficulties harder to manage. When both are present, you do not have to identify a single original cause before asking for help. Sleep and mental-health symptoms can be assessed together, with treatment directed at each problem that needs attention. [1, 3, 4, 5]

The phrase "two-way link" describes a pattern in research and clinical experience. It does not mean that one bad night causes depression, that insomnia is always psychological, or that everyone with anxiety will develop a sleep disorder.

How the connection can show up

Anxiety can involve persistent worry, tension and difficulty falling or staying asleep. Depression can affect sleep as well as interest, mood, energy and daily functioning. Symptoms overlap, so tiredness or poor concentration alone cannot tell you which condition, if any, is present. [3, 4]

A person may lie awake worrying about tomorrow, then feel less able to cope after a difficult night. Another may notice repeated early waking during a period of low mood. These examples can help describe an experience, but they are not diagnostic tests. Physical illness, medicines, shift work, caregiving and other sleep disorders may also be clinically relevant.

What the research does and does not show

A systematic review of nine studies found evidence that insomnia and anxiety or depression can predict one another over time. The studies used different populations and measures, and the authors cautioned against firm conclusions for every type of sleep problem. A later meta-analysis also found that insomnia predicted subsequent depression and anxiety. [1, 2]

These are longitudinal associations, not proof that insomnia alone caused a later disorder. Shared stressors, existing symptoms and other factors may help explain the relationship. A group-level increase in risk does not predict what will happen to one person or justify treating a rough night as an emergency.

Treatment trials ask a different question: does intervening improve outcomes? A 2022 meta-analysis of 22 randomized trials in adults with insomnia and co-occurring mental disorders found that CBT-I improved insomnia. Depressive symptoms also improved on average immediately after treatment, but benefits for co-occurring mental-health symptoms were not statistically significant at follow-up. The included conditions and study sizes varied. [6]

That supports treating insomnia alongside mental-health care. It does not show that CBT-I replaces depression treatment, and it does not establish the same effect for every anxiety disorder. The Journal's separate depression-prevention brief concerns a specific older-adult trial, not a guarantee that improving sleep prevents depression for everyone.

Make room for both kinds of care

CBT-I is a recommended treatment for chronic insomnia. It is a structured approach to sleep-related behaviors and thoughts, rather than only advice about caffeine, screens or relaxation. General CBT for anxiety or depression and CBT-I can overlap in skills while targeting different problems. Ask what your treatment includes and how the clinicians will coordinate. [5]

If you already receive mental-health care, tell the provider when sleep trouble continues. If you are seeking sleep care, mention persistent anxiety, low mood, loss of interest and any previous episodes of unusually elevated mood. Also bring a list of prescriptions, over-the-counter sleep aids and supplements. A medicine review may help, but do not stop or adjust treatment on your own. [3, 4, 7]

Avoid creating your own severe sleep-restriction plan. Time-in-bed changes can temporarily increase sleepiness and may need adaptation for bipolar disorder, seizures or safety-sensitive responsibilities. A qualified provider should assess suitability. [5]

Prepare a short description rather than a perfect record

Before an appointment, note roughly when the sleep and emotional changes began, how often they occur and what is hardest during the day. Include times when you cannot sleep despite having the opportunity, as well as times when responsibilities prevent sleep. These are different problems to discuss.

You could ask: "Can we assess both my sleep and how I am feeling, rather than assume one will resolve when the other does?" Ask what progress might look like beyond hours slept, such as less bedtime distress or better daytime functioning.

While arranging care, choose manageable routines and stay connected with someone supportive. Sleep tracking is optional. Pause if recording every night increases your worry. A diary can inform a conversation; it cannot establish cause and effect or diagnose depression.

Get support before the situation becomes a crisis

Seek help when sleep or emotional symptoms persist, worsen or interfere with daily life. Very little sleep together with unusual energy, agitation, racing thoughts or risky behavior needs prompt assessment, especially with a history of bipolar disorder. [8] If sleepiness makes driving unsafe, do not drive.

Thoughts of self-harm, feeling unable to stay safe, severe confusion or hallucinations require urgent help. Contact local emergency services or go to an emergency department if there is immediate danger, and ask a trusted person to stay with you. For ongoing symptoms, a primary-care or mental-health professional can help you choose a starting point. You deserve care for both the nights and the days.

Find local health services and mental health support by country

This article does not provide a diagnosis or individualized treatment plan.

Sources and further reading

  1. Alvaro PK, Roberts RM, Harris JK. A systematic review assessing bidirectionality between sleep disturbances, anxiety, and depression. Sleep. 2013;36:1059-1068.
  2. Hertenstein E et al. Insomnia as a predictor of mental disorders. Systematic review and meta analysis. Sleep Med Rev. 2019;43:96-105.
  3. NIMH. Depression. Overview and treatment resources.
  4. NIMH. Generalized anxiety disorder. What you need to know.
  5. Edinger JD et al. Behavioral and psychological treatments for chronic insomnia disorder in adults. AASM clinical practice guideline. J Clin Sleep Med. 2021;17:255-262.
  6. Hertenstein E et al. Cognitive behavioral therapy for insomnia in patients with mental disorders and comorbid insomnia. Systematic review and meta analysis. Sleep Med Rev. 2022;62:101597.
  7. NHLBI. Insomnia treatment. Government patient education.
  8. NIMH. Bipolar disorder. Revised 2025. Mood episodes, reduced need for sleep and assessment.

← Back to Rest Well Journal practical explainers