Health Libraryโ€บFeel Better
๐ŸŒฟ Feel Better

Insomnia and Anxiety: The Two-Way Street and How to Break the Cycle

Insomnia fuels anxiety and anxiety fuels insomnia. Understand the bidirectional connection and evidence-based approaches that treat both.

K

Dr. Tae Y. Kim, DO

May 9, 2026 ยท 7 min read

You're lying in bed. Your body is exhausted, but your brain is running through every unresolved problem in your life at full speed. You check the clock โ€” 1:47 AM. You calculate how many hours of sleep you'll get if you fall asleep right now. That calculation creates more anxiety, which pushes sleep further away. By 3 AM, you're anxious about being anxious about not sleeping.

This isn't just insomnia. It isn't just anxiety. It's both, feeding each other in a cycle that's remarkably good at sustaining itself.

The connection between insomnia and anxiety is one of the most well-established relationships in mental health, and understanding how it works is the first step toward breaking it.

The Bidirectional Relationship

Research consistently shows that the relationship between insomnia and anxiety is bidirectional โ€” each one causes and worsens the other:

Anxiety causes insomnia. Anxiety activates the sympathetic nervous system (fight-or-flight response), increasing cortisol, heart rate, and physiological arousal. This hyperarousal state is fundamentally incompatible with the relaxation required for sleep onset. Additionally, anxious rumination โ€” the repetitive review of worries, fears, and worst-case scenarios โ€” occupies cognitive resources that need to quiet down for sleep to occur.

Insomnia causes anxiety. Sleep deprivation amplifies amygdala reactivity by up to 60%, according to neuroimaging studies. Your brain's threat detection system becomes hyperactive when sleep-deprived, making you more anxious, more reactive, and less able to regulate your emotional responses. Sleep deprivation also impairs prefrontal cortex function โ€” the part of the brain responsible for rational evaluation and emotional regulation โ€” so you lose the ability to talk yourself down from anxious thoughts.

The cycle perpetuates itself. Anxiety about sleep (a specific form of anticipatory anxiety called "sleep performance anxiety") develops, creating conditioned arousal around the bedroom and bedtime. Your brain learns to associate bed with wakefulness and frustration rather than sleep and rest. This conditioning is powerful and self-reinforcing.

The data is striking: People with insomnia are 10-17 times more likely to develop clinically significant anxiety than good sleepers. And people with anxiety disorders have insomnia rates of 70-80%. When you treat one, the other often improves โ€” but when you ignore one, the other is harder to treat.

How Your Brain Handles Sleep (and How Anxiety Disrupts It)

Understanding normal sleep regulation helps explain why anxiety is so effective at preventing sleep:

Sleep pressure (Process S): Throughout the day, adenosine accumulates in your brain, creating a homeostatic drive to sleep. The longer you're awake, the stronger this pressure becomes. Anxiety doesn't block adenosine accumulation โ€” which is why you feel exhausted โ€” but it can override the sleep signal with arousal.

Circadian rhythm (Process C): Your internal clock, regulated by the suprachiasmatic nucleus, promotes wakefulness during the day and sleepiness at night. Chronic stress and anxiety can disrupt circadian rhythms through cortisol dysregulation, shifting the timing of sleepiness and alertness.

Arousal system: Sleep requires deactivation of the ascending reticular activating system โ€” the brain network that maintains wakefulness. Anxiety keeps this system engaged. Your brain is essentially stuck in "on" mode, unable to complete the transition to sleep.

The result: You have massive sleep pressure (you're exhausted), your circadian clock says it's time to sleep, but your arousal system is still firing at full capacity. It's like trying to sleep with your foot on the gas pedal.

Types of Sleep Problems in Anxiety

Not all anxiety-related sleep problems look the same:

Sleep onset insomnia โ€” The most common pattern with GAD and social anxiety. You can't fall asleep because your mind won't quiet down. Typical rumination content: tomorrow's worries, today's perceived failures, long-term fears.

Sleep maintenance insomnia โ€” Waking in the middle of the night with an activated mind. Common with depression (which frequently co-occurs with anxiety) and with PTSD. The 3 AM wake-up with racing thoughts is a classic pattern.

Early morning awakening โ€” Waking at 4-5 AM unable to return to sleep. More associated with depression but occurs with anxiety as well, particularly when combined with depressive features.

Nightmares and sleep disruption โ€” Most common in PTSD. Trauma-related nightmares can cause conditioned fear of sleep itself.

Poor sleep quality โ€” Even when you sleep adequate hours, anxiety can keep you in lighter sleep stages, reducing time in deep (slow-wave) sleep and REM sleep. You wake up feeling unrefreshed despite being in bed for 8 hours.

CBT-I: The Gold Standard Treatment for Insomnia

Cognitive behavioral therapy for insomnia (CBT-I) is the first-line treatment for chronic insomnia, recommended by the American Academy of Sleep Medicine, the American College of Physicians, and every major sleep guideline. It's more effective than medication in the long term and addresses the root causes rather than masking symptoms.

Core components:

Sleep Restriction

This is the most powerful and most counterintuitive component. If you're spending 9 hours in bed but only sleeping 5, you restrict your time in bed to match your actual sleep time (with a minimum of 5 hours). This consolidates sleep, builds sleep pressure, and breaks the association between bed and wakefulness.

It's uncomfortable for the first week. You'll be more tired initially. But it works โ€” and it works well.

Stimulus Control

Rules that rebuild the association between bed and sleep:

  • Go to bed only when sleepy (not just tired)
  • If you can't sleep after 15-20 minutes, get up and do something calm in another room until you're sleepy again
  • Use the bed only for sleep and sex โ€” no screens, no work, no reading
  • Wake at the same time every day regardless of how you slept
  • No napping (at least initially)

Cognitive Restructuring

Addressing the unhelpful thoughts that maintain insomnia:

  • "I'll never fall asleep" โ†’ "I always fall asleep eventually. My brain won't keep me awake indefinitely."
  • "If I don't sleep well, tomorrow will be a disaster" โ†’ "I've functioned on poor sleep before. It's unpleasant but manageable."
  • "I need 8 hours to function" โ†’ "My actual sleep need might be different, and one night of poor sleep isn't harmful."

Sleep Hygiene

The foundation (but not sufficient alone):

  • Consistent wake time, even on weekends
  • Cool, dark, quiet bedroom
  • No caffeine after early afternoon
  • Limit alcohol (it fragments sleep despite initial sedation)
  • Regular exercise (but not within 2-3 hours of bedtime)
  • Wind-down routine before bed

Relaxation Training

Progressive muscle relaxation, diaphragmatic breathing, and mindfulness techniques that reduce physiological arousal at bedtime. These directly counter the sympathetic activation that anxiety creates.

Treating the Anxiety Side

CBT-I addresses the insomnia, but when significant anxiety is driving the sleep problem, treating the anxiety directly is equally important:

SSRIs and SNRIs โ€” First-line medications for anxiety disorders also improve sleep over time, though they can temporarily worsen insomnia in the first few weeks. Escitalopram and sertraline are commonly used.

Hydroxyzine โ€” An antihistamine with anxiolytic properties. Useful for bedtime anxiety โ€” reduces worry and promotes drowsiness without addiction risk.

Trazodone โ€” An antidepressant used at low doses (25-100 mg) as a sleep aid. Commonly combined with SSRIs when anxiety treatment alone doesn't resolve insomnia.

Mirtazapine โ€” An antidepressant that's sedating at lower doses. Helpful when anxiety, insomnia, and poor appetite coexist.

What about sleep medications?

  • Benzodiazepines and Z-drugs (zolpidem/Ambien, eszopiclone/Lunesta) can be effective short-term but develop tolerance, can cause dependence, and don't address the underlying problem
  • Melatonin may help with circadian timing issues but isn't effective for anxiety-driven insomnia
  • Over-the-counter antihistamines (diphenhydramine, doxylamine) cause next-day grogginess and lose effectiveness quickly

At CORAL, Dr. Kim approaches the insomnia-anxiety combination by addressing both sides simultaneously. Treating only the anxiety and hoping sleep will follow โ€” or treating only the insomnia while ignoring the anxiety โ€” often produces incomplete results.

Practical Strategies for Tonight

While you're working toward long-term solutions, these evidence-supported strategies can help now:

The "worry dump." Before bed, spend 10-15 minutes writing down everything you're worried about and one small next step for each item. This externalizes worries from your brain to paper, reducing the cognitive load that keeps you awake.

The 4-7-8 breathing technique. Inhale for 4 counts, hold for 7, exhale for 8. This stimulates the parasympathetic nervous system and directly counteracts the sympathetic activation that anxiety creates.

Get up when you can't sleep. Lying in bed anxious about not sleeping strengthens the bed-wakefulness association. Get up, go to another room, do something boring (not your phone), and return when sleepy.

Drop the clock. Turn your clock away from you. Clock-watching triggers the "sleep calculation" cycle that amplifies anxiety.

Stop trying to sleep. Paradoxical intention โ€” telling yourself "I'm going to stay awake" โ€” can actually reduce the performance anxiety around sleep and allow natural sleepiness to emerge.

When to Seek Help

If insomnia and anxiety have been co-occurring for more than a few weeks, professional evaluation is worthwhile. Both conditions respond well to treatment, but they respond even better when treated as the interconnected problems they are.

Start an evaluation at [coral.clinic/start](https://coral.clinic/start). Dr. Kim can assess both your anxiety and your sleep, determine what's driving what, and build a treatment plan that addresses the cycle rather than just one half of it.

You deserve to be able to close your eyes without your brain staging a rebellion.


Ready to take the next step?

Talk to a real doctor. On your schedule.

Dr. Kim reviews every intake personally. Florida residents can get started online in minutes โ€” no waiting room, no long drives.

Start Mental Health Intake โ†’

Florida residents only ยท HIPAA-secure ยท Dr. Kim reviews every case

What do you think?

?
500

Be the first to share your thoughts.

Health tips from Dr. Kim

No spam, just real advice โ€” straight from a physician you can trust.