Anxiety and insomnia are the two most common mental health complaints presenting to primary care. They frequently co-occur — studies find that 24–36% of people with anxiety disorders have comorbid insomnia, while people with insomnia are ten times more likely to have clinically significant anxiety than good sleepers. This is not coincidence. The two conditions share overlapping mechanisms, and each actively maintains the other.
Understanding why this happens — and what specifically keeps the cycle turning — is the first step toward breaking it.
The Hyperarousal Link
Both anxiety and insomnia are characterised by elevated physiological and cognitive arousal. The anxious brain is in a state of heightened vigilance — scanning for threat, activating the sympathetic nervous system, maintaining a level of alertness appropriate for dealing with danger. This is adaptive in the presence of actual threat. At bedtime, when no danger is present, the same arousal system makes sleep physiologically difficult to achieve.
People with anxiety disorders show elevated evening cortisol, higher resting heart rate variability patterns associated with sympathetic dominance, more high-frequency EEG activity (a marker of cortical arousal) during sleep, and higher core body temperatures at sleep onset — all measurable physiological signs that the nervous system is not in the state required for easy sleep onset.
This is not simply a matter of "thinking too much." It is a body-wide state of physiological readiness that persists into the night, making the brain's transition to the reduced-arousal state of sleep effortful or impossible.
Why Anxiety Peaks at Bedtime
Many people with anxiety notice that worry intensifies at night — that thoughts that were manageable during the day become overwhelming when lying in bed. This is not random. Several factors converge at bedtime to amplify anxious cognition:
Removal of distractors. During the day, attention is occupied by tasks, conversations, and environmental demands that compete with ruminative worry. At bedtime, those distractors are removed. The default mode network — associated with self-referential thought and mind-wandering — becomes more active, and the content of mind-wandering in anxious individuals tends toward worry and threat appraisal.
The darkness and quiet signal safety — but also vulnerability. Evolutionarily, nighttime was the period of greatest danger from predators. Some theorists suggest that a component of bedtime anxiety reflects this ancestral pattern — an evolved tendency toward heightened vigilance during the low-visibility period when threat-detection is hardest.
Sleep-related worry compounds general anxiety. Once a person has experienced difficulty sleeping due to anxiety, they may begin to worry about sleep itself — will I be able to sleep tonight, what will tomorrow be like if I don't, I can't afford to be tired again. This sleep-specific worry is itself arousing, creating a secondary anxiety layer on top of the original anxiety disorder.
Conditioned Arousal: When the Bed Becomes a Threat Cue
Through straightforward classical conditioning, the bed can become a cue for wakefulness and anxiety rather than for sleep. This process — which CBT-I calls conditioned arousal or learned hyperarousal — happens as follows:
- Anxiety causes wakefulness and distress while lying in bed.
- After many nights of this, the brain associates the bed, the bedroom, and the pre-sleep routine with the experience of anxious wakefulness.
- This association becomes automatic: approaching the bedroom at night begins to trigger the anxious arousal, even before anxiety has an opportunity to be consciously experienced.
- The person is now wired to be alert and anxious in the very environment that should promote sleep — making sleep progressively harder to achieve regardless of what is happening in their life.
This conditioned arousal explains why some people with chronic insomnia find it easier to sleep on the sofa than in their own bed, or sleep well at hotels, or feel sleepy anywhere except when they try to sleep in their bedroom. The bedroom has been conditioned as a threat context.
The Effort Paradox: Why Trying to Sleep Makes It Worse
Sleep is one of the few biological functions that is actively impaired by trying too hard. The sleep system requires a reduction in cortical arousal that effort — by definition — prevents. When someone lies in bed "trying to fall asleep," monitoring their body for signs of sleepiness, checking the clock, evaluating their level of wakefulness, they are generating the kind of focused, goal-directed cognitive activity that is incompatible with sleep onset.
This is sometimes called the "paradox of control" — the harder you try to control sleep, the more it eludes you. Psychologist Daniel Wegner's research on ironic processes describes how trying not to think about something — or trying very hard to achieve something — paradoxically activates the very cognitive process one is trying to suppress or force. Applied to sleep: trying to fall asleep activates monitoring for sleepiness, which activates wakefulness-related cognition, which prevents sleep.
Paradoxical intention — a CBT-I technique where the patient is instructed to lie in bed with eyes open and try to stay awake as long as possible — directly addresses this by removing the performance pressure of sleep. When the goal is to stay awake, the effort to sleep is eliminated, and sleep often comes relatively quickly.
Managing Ruminative Thoughts at Night
Worry and rumination at bedtime are not simply "thinking too much." They serve a function — the anxious mind believes that working through worries is productive and protective. The problem is that nocturnal rumination is rarely productive (solutions rarely emerge from 2am catastrophising) and is almost always arousing.
Several evidence-based strategies address pre-sleep rumination:
Scheduled worry time. A counterintuitive but well-supported technique: designate 15–20 minutes in the early evening specifically for worrying. Write down concerns and possible responses. When worry arises at bedtime, note that it has been addressed (or will be addressed in the next scheduled session) and redirect attention. This externalises the process and reduces its nocturnal intrusion.
Expressive writing before bed. Writing down worries and concerns — getting them out of the head and onto paper — reduces their nocturnal intrusiveness for many people. James Pennebaker's research on expressive writing and health outcomes supports the therapeutic value of externalising emotional material.
Constructive worry journaling. Borkovec's technique distinguishes between "productive" worry (identifying problems and planning responses) and "unproductive" worry (endless catastrophising). Writing a specific worry, a planned response, and then closing the journal with the intention to address it tomorrow can interrupt nocturnal ruminative cycles.
Cognitive defusion. From Acceptance and Commitment Therapy (ACT), defusion techniques teach people to observe thoughts without engaging with them — treating a worry thought as "I notice I am having the thought that X" rather than engaging with X as if it were a live problem requiring immediate resolution.
Breathing and the Nervous System
Voluntary control of breathing is one of the few direct pathways into the autonomic nervous system. Slow, extended exhalations activate the parasympathetic nervous system — the "rest and digest" counterpart to the sympathetic "fight or flight" response — via the vagus nerve. This is not a metaphor; it is a documented physiological mechanism.
The 4-7-8 technique (inhale for 4 counts, hold for 7, exhale for 8), box breathing (4-4-4-4), and simple extended-exhale breathing (inhale for 4, exhale for 6–8) all leverage this mechanism. The extended exhale is the critical component: it is the exhale phase, more than the inhale or hold, that drives parasympathetic activation through the baroreflex pathway.
These techniques do not eliminate anxiety, and they are not a substitute for treating an anxiety disorder. But as a component of a pre-sleep routine, brief breathing exercises can meaningfully reduce physiological arousal at bedtime and create conditions more conducive to sleep onset.
Treating the Underlying Anxiety
When sleep difficulties are driven by a clinical anxiety disorder — generalised anxiety, panic disorder, social anxiety, PTSD, OCD — effective treatment of the anxiety typically improves sleep alongside the primary anxiety symptoms. Cognitive behavioural therapy for anxiety (CBT-A) is the first-line evidence-based treatment. For many anxiety disorders, exposure-based treatments (confronting feared situations or thoughts systematically until they lose their arousing power) are particularly effective.
Medications for anxiety — SSRIs, SNRIs, and others — generally improve anxiety symptoms but can have complex effects on sleep. Many SSRIs suppress REM sleep, increase sleep fragmentation early in treatment, and may cause insomnia as a side effect, particularly at initiation. Discussing sleep specifically with a prescribing clinician is important if medications are being considered.
When both insomnia and anxiety disorder are present, combined CBT-I and CBT-A can be delivered concurrently and tends to produce better outcomes for both conditions than treating either alone.
Anxiety at night is not simply a thinking problem that can be solved by thinking differently, or a relaxation problem that can be solved by breathing deeply. It is a conditioned physiological state, reinforced by specific cognitive patterns — worry, monitoring, effort, catastrophising about sleep — that are well-understood and well-treated by evidence-based approaches. The most important first step is removing the secondary anxiety about sleep itself: recognising that a bad night is not a catastrophe, that sleep pressure will eventually override arousal, and that the harder you try to sleep, the harder it becomes.