How to Calm Anxiety for Better Sleep: Breaking the Vicious Cycle That’s Sabotaging Your Rest

Story-at-a-Glance
- People with insomnia are 17 times more likely to have anxiety than the general population, revealing a powerful bidirectional relationship where each condition worsens the other
- Sleep deprivation doesn’t just follow anxiety—it actively creates and amplifies anxious states through disruption of the brain’s emotion regulation systems
- The hypothalamic-pituitary-adrenal (HPA) axis becomes hyperactive with poor sleep, flooding your system with stress hormones that make falling asleep even harder
- Research shows sleep disturbances predict future anxiety more strongly than anxiety predicts future sleep problems, suggesting where to focus intervention efforts
- Cognitive behavioral therapy for insomnia (CBT-I) can break this cycle by addressing the neurological roots of both conditions simultaneously
- Recent pandemic-related research reveals how acute stress transforms into chronic sleep-anxiety patterns, offering insights into breaking established cycles
In 2020, a 59-year-old woman arrived at a psychiatric hospital carrying the weight of three intertwined crises: severe insomnia, generalized anxiety disorder, and suicidal thoughts. She’d tried every medication her doctors prescribed—nothing worked. Her case, documented in the Journal of Clinical Sleep Medicine, illustrates something researchers are increasingly recognizing: anxiety and sleep problems aren’t simply related. They’re locked in a vicious cycle where each feeds the other, creating a downward spiral that standard treatments often can’t interrupt.
But here’s where the story gets interesting. Her treatment team tried something unconventional: 40 consecutive hours of monitored sleep deprivation, followed by sleep restriction therapy. Within two months, her insomnia had resolved, her anxiety about sleep had disappeared, and the suicidal ideation had lifted. The approach worked because it targeted the fundamental mechanism linking anxiety and sleep—not by treating them as separate problems, but by understanding how to calm anxiety for better sleep requires addressing the bidirectional relationship at its neurological core.
The Cycle Most People Don’t Recognize
When you’re lying awake at 2 AM, heart racing with worry, it’s easy to assume the anxiety came first. But research from Stanford Medicine tells a more complex story. People with insomnia are 17 times more likely to have anxiety than the general population, but the direction of causation isn’t what most assume.
Dr. Andrea Goldstein-Piekarski, assistant professor of psychiatry and behavioral sciences at Stanford and director of the Computational Psychiatry, Neuroscience, and Sleep Laboratory, has spent years studying this connection using functional MRI brain imaging. She uses cognitive behavioral therapy for patients with insomnia, helping them improve sleep habits and addressing anxiety about the ability to get to sleep, then observing how brain activity and moods change for those whose sleep improves.
What her research reveals challenges conventional thinking: the relationship isn’t simply that anxiety causes insomnia. Rather, the bidirectional relationship means that anxiety and sleep deprivation can be self-reinforcing; worrying causes poor sleep, while further sleep difficulties cause greater anxiety.
When Your Body Forgets How to Calm Down
The mechanism behind this cycle involves your body’s stress response system—specifically, the hypothalamic-pituitary-adrenal (HPA) axis. Think of this as your internal alarm system. When functioning properly, it activates during actual threats and then quiets down. But when sleep becomes disrupted, this system gets stuck in the “on” position.
Sleep, in particular deep sleep, appears to have an inhibitory influence on the HPA axis and cortisol secretion, explained researchers in a comprehensive review. Conversely, administration of glucocorticoids can lead to arousal and sleeplessness. Here’s the problem: when you don’t get enough sleep, your HPA axis becomes hyperactive. Mean 24-hour plasma cortisol levels are significantly higher in subjects with a shorter total sleep time than those with a longer total sleep time.
This creates a biochemical trap. Poor sleep elevates your stress hormones, making you feel more anxious. That anxiety disrupts your sleep architecture—the normal cycling through sleep stages your brain needs. Disrupted sleep further activates your stress response system. You’re caught in a feedback loop that traditional “relaxation techniques” alone can’t fully address.
The Research That Changed Everything
A large-scale Chinese study published in Sleep Medicine examined over 16,000 middle-aged and older adults to determine which direction this relationship flows more strongly. The results were striking: the risk of developing anxiety in individuals with sleep disturbance at baseline was 1.89 times higher than those without. While anxiety also increased sleep disturbance risk, the effect was weaker—anxiety increased the risk of developing sleep disturbance by 1.20-fold.
In other words, your sleep problems might be causing more of your anxiety than you realize. This finding has profound implications for how to calm anxiety for better sleep: targeting the sleep disturbance itself may be more effective than focusing solely on anxiety reduction.
During the COVID-19 pandemic, researchers observed this bidirectional relationship play out in real-time on a global scale. Clinical insomnia symptoms were reported by 36.7% of respondents during the first wave of the pandemic, according to an international collaborative study involving 22,330 adults across 13 countries. Additionally, 17.4% met criteria for a probable insomnia disorder.
The pandemic created what some called “coronasomnia”—a perfect storm where stress disrupted sleep, poor sleep amplified anxiety, and heightened anxiety further degraded sleep quality. It demonstrated how quickly this cycle can establish itself and how difficult it becomes to break without direct intervention.
Real-World Consequences: When Anxiety Steals More Than Sleep
Consider the case documented in research on ICU patients and sleep deprivation. One patient described her experience: “There was one time when I was woken up from my coma, and I had that feeling of suffocation and I found it hard to sleep. I was afraid to fall asleep for fear that I wouldn’t wake up again.”
Another patient expressed how anxiety infiltrated his nights: “Stress wasn’t as much of a nuisance as the anger and fear that I might not return to my full former condition. This also had a huge impact on my sleep, because deep down I kept thinking that things would never be the same again, and such thoughts came to me when I was asleep.”
These aren’t isolated cases. In a study of nursing students, results showed a high level of sleep deprivation among the respondents. They also experienced severe anxiety during clinical exposure, being apprehensive of the outcomes of their close contacts with patients. The sleep problems then created a vicious cycle that impaired their ability to handle the very situations causing their anxiety.
Or take John, a 22-year-old college student documented in a nursing case study on sleep deprivation and insomnia. John started to notice that it has become more difficult for him to fall asleep. Overall, John saw that sleep deprivation negatively affects his mood, productivity, and health. His case illustrates the classic pattern: initial sleep problems from external stressors (in his case, academic pressures) evolve into anxiety about sleep itself, which then perpetuates the insomnia.
Breaking the Cycle: What Actually Works
Dr. Jamie Zeitzer, professor of psychiatry and behavioral sciences at Stanford and co-director of the Stanford Center for Sleep and Circadian Sciences, has researched sleep for over 25 years. His work on circadian rhythms reveals an unexpected factor in the anxiety-sleep relationship: timing matters as much as duration.
Recent Stanford research found that going to bed early and waking early is better for mental health—even for natural night owls. This challenges the common assumption that you should simply sleep according to your natural preferences. The timing of sleep influences not just how rested you feel, but how well your emotional regulation systems function the following day.
But timing is just one piece. The most effective intervention for breaking the anxiety-sleep cycle is cognitive behavioral therapy for insomnia (CBT-I). Unlike medication, which often loses effectiveness over time, CBT-I has greater efficacy in the long-term treatment of insomnia compared to medical therapy.
CBT-I works by addressing the cognitive and behavioral patterns that maintain insomnia—including anxiety about sleep itself. The therapy includes several components:
Sleep restriction: Temporarily limiting time in bed to match actual sleep time, which consolidates sleep. This reduces the anxiety associated with lying awake.
Stimulus control: Re-associating the bed and bedroom with sleep rather than wakefulness and worry
Cognitive restructuring: Challenging the catastrophic thoughts about sleep that fuel nighttime anxiety (thoughts like “I’ll never sleep again” or “I can’t function without eight hours”)
Relaxation training: Techniques that directly calm the hyperactive HPA axis
The 59-year-old woman’s case illustrates CBT-I’s power. After intensive sleep deprivation followed by structured sleep restriction and stimulus control, her anxiety surrounding sleep had resolved. At 2 months follow-up, she no longer met criteria for insomnia.
The Role of Environment and Routine
Understanding how to calm anxiety for better sleep also requires examining environmental factors. Research consistently shows that the pandemic’s disruption of normal routines contributed significantly to the insomnia-anxiety epidemic. Why? Because our sleep-wake cycle depends on external time cues—what sleep researchers call “zeitgebers.”
When you wake at the same time, see morning light, eat meals at consistent times, and maintain regular social interactions, these activities anchor your circadian rhythm. Remove them—as happened during pandemic lockdowns—and your internal clock drifts. This drift disrupts both sleep timing and sleep architecture, setting the stage for the anxiety-sleep cycle to take hold.
Creating structure doesn’t mean rigidity. It means recognizing that your brain’s emotional regulation systems function best when operating on predictable patterns. Even simple changes—like maintaining a consistent wake time even on weekends—can begin to reset a dysregulated system.
When Your Brain Can’t Turn Off
There’s another layer to this story that deserves attention: anticipatory anxiety. This is the worry about worry, the fear of another sleepless night that begins hours before bedtime. The anticipation of demand can affect the magnitude of the cortisol awakening response, and even the anticipation of future work-related tasks can disrupt objective sleep.
This form of anxiety is particularly insidious because it’s self-fulfilling. The worry about not sleeping becomes the very thing that prevents sleep. Breaking this pattern requires addressing what cognitive therapists call “safety behaviors”—the things you do to try to control sleep that actually maintain the problem. These might include going to bed early “to give yourself more time to fall asleep,” checking the clock repeatedly, or catastrophizing about the next day.
A Different Approach to a Common Problem
What makes the anxiety-sleep relationship so challenging is that each condition uses the other as evidence for its persistence. Can’t sleep? “See, you’re too anxious.” Feeling anxious? “Of course, you didn’t sleep.” The narrative becomes self-reinforcing.
But recent meta-analytic research offers hope. All forms of sleep loss resulted in reduced positive affect and increased anxiety symptoms. The reverse is also true: improving sleep consistently improves anxiety symptoms. In some studies, the improvements in mental health directly correlated with the degree of sleep improvement.
For those interested in learning more about related conditions, our article on the vicious cycle of insomnia and anxiety in young adults provides additional insights into age-specific factors.
The key insight? You’re not choosing between treating anxiety or treating insomnia. They’re not separate problems requiring separate solutions. The most effective approach addresses the neurological and behavioral patterns that maintain both—simultaneously.
Save This Article for Later – Get the PDF Now
Moving Forward
Understanding how to calm anxiety for better sleep means recognizing that you’re not fighting two separate battles. You’re addressing one interconnected system where sleep deprivation generates anxiety, and anxiety disrupts sleep architecture, creating a feedback loop that conventional approaches often miss.
The good news? This same bidirectional relationship that makes the problem worse can work in reverse. Improvements in sleep quality reduce anxiety symptoms. Reduced anxiety improves sleep architecture. The cycle can run in both directions—you just need to give it the right push to start moving toward health rather than dysfunction.
Have you experienced this cycle yourself? What strategies have you found helpful—or frustratingly ineffective? The research continues to evolve, but one thing remains clear: your sleep and your mental health are more deeply intertwined than you might have imagined. Understanding that connection might be the first step toward breaking free from both.
FAQ
Q: What is the bidirectional relationship between anxiety and sleep?
A: The bidirectional relationship means that anxiety and sleep problems influence each other in both directions—anxiety disrupts sleep, but poor sleep also creates and worsens anxiety. Research shows this isn’t just correlation; each condition actively causes the other to deteriorate, creating a self-reinforcing cycle.
Q: What is the HPA axis and why does it matter for sleep and anxiety?
A: The hypothalamic-pituitary-adrenal (HPA) axis is your body’s main stress response system, involving three organs that communicate through hormones to manage stress. When you don’t get enough sleep, the HPA axis becomes hyperactive and releases excess cortisol (stress hormone), which both increases anxiety and makes falling asleep harder—creating a biochemical trap.
Q: What is CBT-I?
A: Cognitive Behavioral Therapy for Insomnia (CBT-I) is a structured program that addresses the thoughts, behaviors, and patterns maintaining insomnia. Unlike sleeping pills, CBT-I provides long-lasting improvements by teaching techniques like sleep restriction, stimulus control, and cognitive restructuring to break the anxiety-sleep cycle.
Q: What are zeitgebers?
A: Zeitgebers are external time cues that help regulate your circadian rhythm (your body’s internal 24-hour clock). Common zeitgebers include morning light exposure, consistent meal times, and regular wake times. These cues anchor your sleep-wake cycle and help maintain healthy sleep patterns.
Q: What is sleep architecture?
A: Sleep architecture refers to the structure and pattern of sleep—how you cycle through different sleep stages (light sleep, deep sleep, and REM sleep) throughout the night. Anxiety and stress can disrupt normal sleep architecture, preventing you from getting the restorative deep sleep your brain needs for emotional regulation.
Q: What is anticipatory anxiety related to sleep?
A: Anticipatory anxiety is the worry about not being able to sleep that begins before bedtime. It’s a form of anxiety about anxiety—fearing you’ll have another sleepless night. This type of worry becomes self-fulfilling because the stress it creates activates your body’s arousal systems, making sleep even more difficult.
Q: Why did sleep problems increase so dramatically during the COVID-19 pandemic?
A: The pandemic created multiple factors that disrupted the sleep-anxiety relationship: increased stress and uncertainty, loss of normal routines that anchor circadian rhythms, social isolation, and constant exposure to disturbing news. This created conditions where acute stress could rapidly transform into chronic insomnia-anxiety cycles.
Q: How long does it take for CBT-I to work?
A: Most people begin seeing improvements within 4-8 weeks of consistent CBT-I practice, though some notice changes earlier. Unlike medication that works immediately but loses effectiveness, CBT-I provides lasting improvements by changing the fundamental patterns maintaining the sleep problem.
Q: Can you have insomnia without anxiety, or anxiety without insomnia?
A: Yes, while they’re strongly connected, you can have one without the other. However, having either condition significantly increases your risk of developing the other. About 90% of people with depression report poor sleep, and people with insomnia are 10-17 times more likely to have depression or anxiety than the general population.
Q: Is it better to treat the anxiety first or the insomnia first?
A: Recent research suggests that treating sleep problems may be more effective as a starting point. Sleep disturbances predict future anxiety more strongly than anxiety predicts future sleep problems. Additionally, improving sleep has been shown to reduce anxiety symptoms, while anxiety treatment alone often doesn’t fully resolve sleep issues.

