SleepDepth

mental

The Link Between Anxiety and Insomnia — And What to Do About It

Anxiety causes insomnia. Insomnia causes anxiety. Breaking this bidirectional cycle requires understanding which came first and targeting both simultaneously.

April 18, 2024·5 min read

Anxiety and insomnia have a chicken-and-egg relationship that makes both harder to treat when addressed in isolation.

Anxiety activates the nervous system and generates intrusive thoughts that prevent sleep. Poor sleep reduces emotional regulation capacity, threat-detection threshold, and stress resilience — making anxiety worse. Each feeds the other in a loop that can persist for months or years without targeted intervention.

How anxiety causes insomnia

Anxiety is a state of heightened physiological and cognitive arousal in response to perceived threat. Sleep requires the opposite: physiological downregulation, reduced arousal, and cognitive quietening.

Specifically, anxiety causes insomnia through:

Hyperactivation of the HPA axis. Anxiety triggers cortisol and adrenaline release, raising core body temperature, heart rate, and metabolic rate — all of which oppose sleep onset.

Intrusive pre-sleep cognition. Anxious minds generate "what if" scenarios, worst-case planning, and threat-monitoring that occupy working memory and maintain cognitive arousal.

Sleep-onset association disruption. People with anxiety often use the quiet of bedtime as their only opportunity to process the day's worries — training the brain to associate bed with worry rather than rest.

Hypervigilance. Anxious people are more sensitive to environmental stimuli (sounds, temperature changes, physical sensations) and more likely to be pulled into wakefulness.

How insomnia causes anxiety

The relationship runs equally in the other direction:

Emotional dysregulation. Sleep deprivation impairs prefrontal cortex function, reducing the brain's ability to regulate emotional responses. A sleep-deprived brain shows 60% more reactivity in the amygdala (threat detection centre) compared to a rested brain, according to research by Matthew Walker's group at UC Berkeley.

Catastrophising about sleep. Once insomnia establishes itself, people develop secondary anxiety specifically about sleep — worrying about not sleeping, which prevents sleeping. This meta-anxiety can persist even after the original anxiety that triggered the insomnia has resolved.

Reduced stress resilience. Poor sleep reduces tolerance for daily stressors, making the same events more anxiety-provoking the following day.

Anticipatory anxiety. As insomnia becomes chronic, people begin dreading bedtime — anticipating another bad night. This pre-bed anxiety maintains the cycle.

Which came first?

In clinical practice, the relationship between anxiety and insomnia is rarely linear. But the question matters for treatment sequencing:

Anxiety-first insomnia: Insomnia developed in the context of an anxiety disorder (generalised anxiety, PTSD, panic disorder). The insomnia is a symptom of underlying anxiety. Treating the anxiety directly is essential, though insomnia-specific interventions are also needed.

Insomnia-first anxiety: Chronic poor sleep has produced or significantly worsened anxiety symptoms. Sleep deprivation is maintaining or amplifying the anxiety. Improving sleep is high-priority and may substantially reduce anxiety without direct anxiety treatment.

Co-maintaining cycle: Both are equally driving each other, and both need to be addressed simultaneously.

A useful clinical question: did your sleep problems precede your anxiety, or did anxiety come first? This often points toward the primary target.

What works

For the insomnia component

CBT-I (cognitive behavioural therapy for insomnia) is the most evidence-based treatment for anxiety-related insomnia. Meta-analyses show it produces larger and more durable effects than sleeping pills, including in people with comorbid anxiety disorders.

Key techniques:

  • Stimulus control (rebuilding bed-sleep association)
  • Sleep restriction (consolidating fragmented sleep)
  • Cognitive restructuring (challenging catastrophic sleep-related thoughts)
  • Relaxation training (PMR, breathing techniques)

For the anxiety component

CBT for anxiety addresses the underlying anxiety maintenance mechanisms — avoidance, safety behaviours, intolerance of uncertainty, and catastrophic appraisal.

Acceptance and Commitment Therapy (ACT) is particularly useful when the anxiety is partly about sleep itself — teaching psychological flexibility around sleeplessness rather than fighting it.

Medications: role and limitations

Sleeping pills (benzodiazepines, Z-drugs) address insomnia symptoms but not the anxiety driving it, and often worsen anxiety long-term through dependency and rebound effects.

SSRIs and SNRIs — the first-line medications for anxiety disorders — can temporarily worsen insomnia when first started (a common reason people stop them prematurely), but often improve both anxiety and sleep when continued.

Beta-blockers are sometimes used for acute performance anxiety and can reduce the physiological arousal component of sleep anxiety at bedtime.

Practical starting points

Don't wait for anxiety to resolve before addressing sleep. The cycle is bidirectional — improving sleep has direct anxiety-reducing effects.

Start with the basics: consistent wake time, stimulus control (out of bed when awake), caffeine cutoff, and a 60-minute wind-down period. These alone produce meaningful improvements for many people.

Consider a CBT-I program. Sleepio and Somryst are digital CBT-I programs with RCT evidence. If the anxiety is severe or has a specific clinical diagnosis, working with a therapist who can deliver both CBT for anxiety and CBT-I is the most effective approach.

Track both sleep and anxiety. Many people discover that their anxiety is significantly better on days following good sleep — which provides motivation for sleep-focused work even when anxiety feels like the primary problem.


This article is for informational purposes only. Anxiety disorders and chronic insomnia respond best to treatment with qualified clinical support. Please speak with a healthcare professional if symptoms are significantly affecting your functioning.