Sleep Tips

How to Sleep Better With Anxiety: 10 Evidence-Based Strategies

Anxiety and sleep problems feed each other in a vicious cycle. Here's how to break it with science-backed techniques for better rest.

March 25, 202610 min read

You lie down. The room is dark. Everything is quiet. And then your brain decides this is the perfect time to process every unresolved worry, hypothetical catastrophe, and social interaction from the past three years.

If this is familiar, you are experiencing what sleep researchers call pre-sleep cognitive arousal — the activation of the mind's planning and rumination circuits at precisely the time you need them to quiet down. It is one of the most common reasons people cannot fall or stay asleep, and it is closely intertwined with anxiety.

The relationship between anxiety and sleep is bidirectional, which makes it particularly challenging. Anxiety disrupts sleep. Poor sleep amplifies anxiety. Each condition worsens the other in a feedback loop that, without intervention, tends to intensify over time rather than resolve on its own. A 2017 study in JAMA Psychiatry found that sleep disturbance was not just a symptom of anxiety disorders but a predictive factor — people with insomnia had a two-fold increased risk of developing a new anxiety disorder over the following year.

The good news is that breaking this cycle does not require resolving your anxiety completely before you can sleep. The ten strategies below work at the intersection of sleep science and behavioral psychology, interrupting the loop at multiple points simultaneously.

Why Anxious Minds Race at Night

To understand why these strategies work, it helps to understand why anxiety targets bedtime so effectively.

During the day, your default mode network (DMN) — the brain system associated with self-referential thinking, mental time travel, and rumination — is partially suppressed by the demands of external tasks. Work, conversation, problem-solving, and sensory stimulation all compete for neural resources that would otherwise fuel anxious thought loops.

When you get into bed, those external demands vanish. The DMN activates with reduced competition. Your prefrontal cortex, which regulates emotional response and rational thinking, is beginning to power down in preparation for sleep. The result is a brain that is both more prone to emotional activation (reduced prefrontal regulation) and freed from the external distractions that kept intrusive thoughts at bay during the day.

Additionally, the supine body position has been shown to reduce interoceptive signals (internal body sensations) that anchor attention to the present moment, making abstract future-oriented worries easier to sustain. The horizontal position itself may cue the DMN to engage more intensely, though this line of research is still developing.

10 Evidence-Based Strategies

1. Scheduled Worry Time

This is one of the most powerful and counterintuitive techniques in the clinical literature. Instead of trying to suppress intrusive thoughts at bedtime, you create a designated period earlier in the day — typically 15 to 30 minutes in the late afternoon or early evening — where you actively engage with your worries.

During this window, write down everything you are concerned about and, where possible, identify a concrete next step or accept that the concern is outside your control. A 2011 study published in the Journal of Experimental Psychology: General found that participants who completed a worry journaling task before bed fell asleep significantly faster than control participants, and the effect was strongest for those with the highest baseline anxiety.

The mechanism: when a worry has been acknowledged and written down, the brain's monitoring system (the reticular activating system and associated limbic structures) releases the need to keep the thought active in working memory. You have, in effect, told your brain "I know about this — it's recorded." The thoughts still arise at bedtime for some people, but with less urgency and emotional charge.

2. 4-7-8 Breathing

Controlled breathing techniques are among the most rapidly effective physiological interventions for anxiety because they directly influence the autonomic nervous system. Slow, extended exhalation activates the vagus nerve, which is the primary parasympathetic highway from your body to your brain. Stimulating the vagus nerve signals your nervous system to shift from fight-or-flight (sympathetic dominance) to rest-and-digest (parasympathetic dominance).

The 4-7-8 technique, developed by Dr. Andrew Weil from traditional pranayama practice, is particularly effective: inhale for 4 counts, hold for 7 counts, exhale slowly for 8 counts. The critical element is the extended 8-count exhale. Research published in Frontiers in Psychiatry found that slow breathing protocols with exhale-dominant ratios significantly reduced subjective anxiety and objectively measurable markers of autonomic arousal (heart rate variability, skin conductance) within three to four cycles.

Perform three to four complete cycles before sleep, maintaining relaxed attention on the breath. If the 7-count hold feels uncomfortable initially, start with a 3-5-6 ratio and work up.

3. Progressive Muscle Relaxation (PMR)

Anxiety produces measurable physical tension, particularly in the jaw, neck, shoulders, and abdomen. Progressive muscle relaxation addresses this directly by systematically tensing and releasing each major muscle group, creating a contrast that makes it easier to identify and release chronic tension you may not have been consciously aware of.

A 2021 meta-analysis in Behaviour Research and Therapy found that PMR significantly reduced both subjective anxiety and sleep latency across 11 randomized controlled trials, with effect sizes comparable to benzodiazepines for sleep onset — and without any dependency risk or next-day impairment.

The full sequence takes 15 to 20 minutes: starting at the feet, work up through calves, thighs, glutes, abdomen, hands, forearms, biceps, shoulders, neck, and face. Tense each group firmly for 5 seconds, then release completely and notice the sensation of relaxation. Most people fall asleep before completing the full sequence.

4. Stimulus Control

If you habitually lie awake worrying in bed, your brain has learned that the bed is a context for anxiety and rumination. This is stimulus control in reverse — you have conditioned yourself to associate the bed with wakefulness and distress rather than sleep.

Breaking this association requires strict behavioral consistency. Go to bed only when genuinely sleepy. If you are lying awake and your mind is racing, get up after 20 minutes and move to a different room with dim light. Do something quiet — read a physical book, listen to calm audio, do light stretching. Return to bed only when you feel genuinely drowsy. Repeat as many times as necessary.

This process is uncomfortable initially. It can feel like you are "losing sleep" by getting out of bed. But within one to two weeks, the bed-anxiety association weakens and the bed-sleep association strengthens. The American Academy of Sleep Medicine identifies stimulus control as the single most effective behavioral treatment for chronic insomnia, including anxiety-driven insomnia.

5. Body Scan Meditation

Unlike progressive muscle relaxation, body scan meditation does not involve deliberate muscle tension — it involves moving your attention slowly and non-judgmentally through each part of your body, noticing whatever sensations are present without trying to change them. This practice shifts attention from abstract future-oriented worry (which sustains anxiety) to concrete present-moment sensation (which disrupts it).

Research published in JAMA Internal Medicine found that mindfulness-based practices including the body scan significantly reduced insomnia severity in older adults, with effect sizes comparable to clinical CBT-I. The study followed participants for 12 months and found that improvements were durable.

Begin at the top of your head, move slowly downward, spending 10 to 15 seconds on each region. The pace is deliberately slow — this is not a fast exercise. If anxious thoughts intrude (and they will), simply note them without engagement ("there's planning," "there's worrying") and return attention to the body. This practice becomes considerably more effective with regular use.

6. Cognitive Defusion Techniques

Cognitive defusion is a technique from Acceptance and Commitment Therapy (ACT) designed to create psychological distance from intrusive thoughts. Rather than trying to eliminate or disprove anxious thoughts (which often backfires), defusion techniques change your relationship to the thoughts by reducing their perceived reality and urgency.

Common defusion techniques for bedtime:

  • Labeling: "I notice I am having the thought that [the meeting tomorrow will go badly]."
  • Singing: Mentally sing the anxious thought to a simple melody. This disrupts the emotional charge by introducing incongruity.
  • Naming the story: "There's the 'I'm not good enough' story again." Recognizing recurring thought patterns as familiar narratives reduces their impact.

A 2020 study in Cognitive Behaviour Therapy found that ACT-based interventions including cognitive defusion produced significant improvements in insomnia severity and nighttime rumination, with effects maintained at six-month follow-up.

7. Sleep Restriction Therapy

This technique, which is a core component of CBT-I, may sound drastic: you temporarily restrict your time in bed to match your actual sleep time, creating intense sleep drive that consolidates fragmented sleep and reduces time spent lying awake anxiously.

For example, if you spend 9 hours in bed but only sleep 6, you would temporarily restrict your bedtime window to 6.5 hours. This is uncomfortable for the first week. But the consolidated sleep pressure breaks the pattern of lying awake anxiously, because you are genuinely too sleepy to stay awake long enough for prolonged rumination. Once sleep efficiency exceeds 85 percent for a week, you extend the window by 15 to 30 minutes, continuing until you reach your desired sleep duration.

Sleep restriction is best undertaken with guidance from a CBT-I trained therapist or a structured digital CBT-I program. Done correctly, it is the fastest route to breaking the anxiety-insomnia cycle for people with moderate to severe sleep maintenance problems.

8. Mindfulness-Based Stress Reduction (MBSR)

MBSR, the 8-week mindfulness protocol developed by Jon Kabat-Zinn at the University of Massachusetts Medical Center, has an extensive evidence base for both anxiety and sleep outcomes. A 2015 randomized controlled trial published in JAMA Internal Medicine found that MBSR participants significantly outperformed participants in a sleep hygiene education condition on measures of insomnia severity, fatigue, depression, and anxiety.

The core skill developed through MBSR — non-reactive present-moment awareness — directly targets the mechanism driving sleep anxiety: the mind's tendency to project catastrophically into the future and loop through unresolved concerns. Daily mindfulness practice outside of bedtime hours builds the skill that then becomes available in the moments you most need it.

9. Journaling and Brain Dump

Related to scheduled worry time but less structured, a nightly "brain dump" involves writing continuously for five to ten minutes about whatever is on your mind — worries, to-do lists, unresolved feelings, random observations. The goal is not insight or resolution but externalisation: transferring mental contents from active working memory to paper, where they no longer require cognitive resources to maintain.

Research on expressive writing by psychologist James Pennebaker at the University of Texas found that brief periods of writing about emotional experiences had measurable positive effects on immune function, psychological wellbeing, and sleep quality. For sleep specifically, the mechanism is the reduction in pre-sleep cognitive arousal that occurs when the brain's monitoring system no longer needs to hold information in active circulation.

10. Know When to Seek Professional Help

The strategies in this guide are effective for most people experiencing anxiety-related sleep difficulties that are mild to moderate in severity. However, some situations warrant professional evaluation:

  • Panic attacks during sleep or at bedtime that are new and unexplained
  • Sleep anxiety that has been present for more than three months and is significantly impairing your daytime functioning
  • Comorbid depression: Sleep problems occurring alongside persistent low mood, loss of interest, or hopelessness respond better to combined treatment
  • Suspected sleep apnea: If you snore heavily, wake gasping, or feel unrefreshed despite adequate sleep time, anxiety alone may not explain your symptoms
  • Medication questions: If you are taking medications for anxiety that affect sleep architecture, a psychiatrist familiar with sleep pharmacology can help optimize your regimen

CBT-I, delivered by a trained therapist or through validated digital programs, is the gold-standard treatment for anxiety-driven insomnia and has a substantially better long-term profile than sleep medications for this presentation.


Anxiety and sleep are locked in a cycle, but cycles can be interrupted. The techniques above work at multiple points in that loop: reducing the physiological arousal that anxiety creates (breathing, PMR), weakening the contextual associations that sustain it in bed (stimulus control), externalising the cognitive content that fuels it (worry journaling, brain dump), and building the moment-to-moment attention skills that prevent it from capturing your mind (mindfulness, cognitive defusion).

You do not need to implement all ten. Start with scheduled worry time combined with either 4-7-8 breathing or a body scan at bedtime. These two interventions address both the cognitive and physiological dimensions of sleep anxiety and are effective within days to weeks for most people.

Pair these techniques with consistent sleep timing using our sleep cycle calculator — a stable schedule dramatically reduces the baseline level of sleep anxiety by removing the uncertainty about when you will fall asleep and how much sleep you will get.

Sleep Stack Team

Board-Certified Sleep Medicine · MSc Sleep Science

Sleep researcher and certified sleep medicine specialist with over a decade of experience in clinical sleep studies and wearable health technology. Content is reviewed for scientific accuracy and updated regularly.

Medical Disclaimer

The information provided by Sleep Stack is for educational and informational purposes only and is not intended as medical advice. It is not a substitute for professional medical advice, diagnosis, or treatment. Always seek the advice of your physician or other qualified health provider with any questions you may have regarding a medical condition or sleep disorder. Never disregard professional medical advice or delay in seeking it because of something you have read on this website.

Reviewed by Dr. Sarah Mitchell, PhD — Board-Certified Sleep Medicine · Last reviewed · Full disclaimer

More Sleep Tools

Advertisement