You fall asleep fine. Sometime between 3 and 4 a.m. you're awake with a racing mind, cataloging problems that felt manageable yesterday and will feel manageable again tomorrow. You know sleep would help. You know the racing thoughts are the reason you're not sleeping. Knowing doesn't help.

This is the anxiety-insomnia loop, and it's one of the most common presentations of chronic anxiety. Also one of the most treatable, once you use the right tool.

The specific patterns

Middle-of-the-night wake-up

The classic. You fall asleep OK, then wake at 3-4 a.m. and can't get back to sleep. Cortisol has a natural early-morning rise that anxious nervous systems seem to over-detect — you wake, notice you're awake, notice you're anxious about being awake, and the loop is on.

Sleep-onset insomnia

You can't fall asleep at bedtime. The mind won't stop. You lie there for an hour, then two, checking the clock, calculating how tired you'll be tomorrow, which makes falling asleep harder.

Non-restorative sleep

You "slept" 7 hours but feel like you didn't. Sleep is fragmented, shallow, and the sympathetic nervous system stayed partly active through the night.

Why anxiety and insomnia reinforce each other

The loop is bidirectional and self-reinforcing:

Breaking the loop from either side works. But some interventions are much more effective than others.

What actually helps

CBT-I (Cognitive Behavioral Therapy for Insomnia)

The evidence-based first-line treatment for chronic insomnia, and it outperforms sleep medication in nearly every rigorous comparison. Typically 4-8 weekly sessions. Effects persist after treatment ends (medication effects do not). Includes:

Available in-person, via video, and through evidence-based apps (Sleep Reset, CBT-i Coach from the VA, Somryst are examples). Many people see meaningful improvement in 3-4 weeks.

Treat the underlying anxiety

CBT for anxiety and SSRIs both improve sleep as a downstream effect. Often paired with CBT-I for maximum result.

Behavioral basics

What doesn't work well long-term

Suggested Get matched to what fits

Take the free Anxiety Profile assessment

Three minutes. Seven clinically validated questions, plus four more to match you to what actually fits your presentation. Free, private, and matched by fit — not by payout.

Frequently asked

Why do I always wake up at 3am with anxiety?

A common pattern in anxious nervous systems. Cortisol naturally rises in the early morning; anxious brains seem to over-detect this rise, wake, and then get into a rumination loop. CBT-I specifically addresses this pattern.

Is CBT-I better than sleep medication?

For chronic insomnia including anxiety-driven insomnia, yes — CBT-I outperforms sleep medication in nearly every rigorous comparison, and the effects persist after treatment ends (medication effects don't). Sleep medication has a role for short-term or situational use, not for chronic anxiety-driven sleep problems.

How long does it take CBT-I to work?

Most people see meaningful improvement in 3-4 weeks; full effect typically by 6-8 weeks. Faster than SSRIs, comparable to sleep medication, and unlike medication, the improvement generally holds after treatment ends.