Most articles about sleeping with anxiety give you the same five tips: cool bedroom, no caffeine, deep breathing, worry journal, no screens. None of it is wrong. But it misses the most important distinction — anxiety at bedtime isn’t one problem. It’s two. They look similar from the outside and they require completely different fixes.

The first kind is general anxiety bleeding into bedtime: the work email you can’t stop thinking about, the family thing that’s coming up, the medical scan you’re waiting on. The worry is about something. Quiet the worry and the sleep usually returns.

The second kind is sleep performance anxiety: the worry that you specifically won’t sleep tonight, and that tomorrow will fall apart because of it. The worry is about sleep itself. It’s a closed loop, and the standard relaxation tools often make it worse rather than better — because trying harder to sleep is what’s keeping you awake in the first place.

If you’re reading this at 2am, the first useful thing to do isn’t to start a technique. It’s to figure out which of the two you’re actually dealing with.

A 1-minute self-diagnostic

Read both descriptions. Pick the one that fits your experience most nights, and use that to choose the techniques below.

SignalType 1: Anxiety bleeding into bedtimeType 2: Sleep performance anxiety
What you’re thinking aboutSpecific worries — work, relationships, money, healthWhether you’ll sleep, what will happen tomorrow if you don’t
Pattern over weeksComes and goes with life eventsPersistent, often present even on “calm” days
What makes it worseSuppressing or fighting the thoughtsTrying harder to fall asleep
When it startedUsually traceable to a stressorOften built up gradually after weeks of bad sleep
How you feel about bedtime itselfNeutral — bedtime isn’t the triggerDreading bedtime; thinking about it during the day
What worry journals doHelp (offload onto paper)Often nothing — the worry doesn’t have a topic

Many people have both, especially during stressful life chapters. But there’s usually a dominant one, and the techniques that match it work much faster than the ones that don’t.

What works for Type 1: Anxiety bleeding into bedtime

If your worry has a topic — a specific thing your mind keeps cycling on — the goal is to move that content somewhere outside your head so your nervous system can stand down.

Worry journal (or “constructive worry”)

Twenty minutes before bed, sit somewhere that isn’t your bed and write down every worry that’s circling. Then, for each one, write the next concrete action you can take and when you’ll do it. The mechanism here isn’t magical — it’s that your brain stops circling thoughts once they’ve been recorded somewhere your future self can access them. Several studies cited by the Sleep Foundation have found this measurably reduces sleep onset latency in people with bedtime worry.

The format matters. “Email back to Jamie about the proposal — first thing tomorrow morning before standup” is offloadable. “I’m worried about the proposal” is not. Specificity is what gives your brain permission to drop it.

4-7-8 breathing

Inhale for 4 seconds. Hold for 7. Exhale for 8. The exhale being longer than the inhale signals safety to your autonomic nervous system; research summarised by Cleveland Clinic shows measurable drops in heart rate and systolic blood pressure within a few cycles.

Use 4-7-8 before you get into bed, while you’re still on the sofa or brushing your teeth. Using it once you’re already in bed and tense often turns it into another performance metric (“am I doing this right? am I asleep yet?”) that backfires for Type 2 sufferers.

Progressive muscle relaxation

Tense and release each muscle group from your feet to your face, holding each tension for 5 seconds. The Johns Hopkins guidance is to practice it daily for 20–25 minutes for two weeks, which is when the autonomic effect starts compounding rather than just briefly calming you in the moment.

What works for Type 2: Sleep performance anxiety

This is the harder one, because the standard advice tends to make it worse. If your mind is circling “I have to sleep, I have to sleep, I’m not falling asleep, this is bad” — adding breathing techniques on top of that usually just becomes another thing to fail at. The goal here is to disengage from the trying.

Paradoxical intention

Lie in bed and deliberately try to stay awake. Tell yourself, “My only job right now is to keep my eyes open as long as possible.” Most people doing this for the first time fall asleep within ten minutes, because the performance pressure that was keeping them awake has been removed.

This sounds absurd. It works because the moment you stop trying to sleep, the nervous system stops doing the thing that prevented sleep. I spent four months trying every relaxation technique in the literature, and paradoxical intention was one of the few that consistently moved my own data.

The 20-minute rule

If you’ve been in bed for roughly 20 minutes and you can feel your mind escalating — heart rate up, eyes wider, thoughts louder — get out of bed. Go to another room. Read something boring in dim light. Fold laundry. Look out a window. When you feel sleepy, return.

This is one of the foundational techniques in CBT-I, and it works by breaking the conditioned association between your bed and frustration. If you stay in bed feeling anxious for an hour every night, your brain learns that bed = stress. The 20-minute rule re-teaches it that bed = sleep, by only allowing you in bed when you’re actually sleep-ready.

Cognitive shuffling

Pick a random letter and mentally list neutral, unrelated words starting with it — cloud, calendar, cinnamon, cabin. When your mind drifts back to “am I asleep yet,” restart with a new letter. The technique was developed by sleep researcher Luc Beaudoin; the formal evidence base is small but the mechanism (interrupting the rumination loop with low-stakes mental noise) is sound. It’s free, safe, and pairs well with the 20-minute rule.

What I tried during 8 years of my own insomnia

I tracked seven sleep variables every night for four months in 2023, and what I learned about anxiety-driven sleep problems was uncomfortable.

TechniqueWhat my data showed
Meditation (4 months consistent)Improved daytime calm. Did not move my sleep onset latency.
4-7-8 breathing at bedtimeModest effect on calming, small effect on sleep onset
Progressive muscle relaxationFelt good. Minimal effect on the data.
Worry journalHelped on nights with specific worries; useless on others
Paradoxical intentionWorked surprisingly often. Felt absurd.
Cognitive shufflingBest fallback for racing-thought nights
Get up after 20 minutesThe hardest to do and the most effective

The pattern in my own logs was that for general anxious nights (Type 1), the worry journal and 4-7-8 helped. But for the kind of insomnia I had for most of those eight years — the kind where I’d lie awake dreading not sleeping — the only things that worked were paradoxical intention, cognitive shuffling, and getting out of bed. Trying harder was the opposite of the solution.

💡 Not sure if anxiety is your actual root cause, or whether something physical is feeding it?

👉 Take the 60-second Sleep Quiz → — 7 questions that identify the most likely contributor to your sleep problem.

Don’t underestimate the physical layer

This is the part I want to be most honest about. Anxiety is real and important and can absolutely be the primary cause of sleep problems. But it’s also frequently a symptom of something physical — and treating it as purely psychological can lead people to spend years on therapy that doesn’t fully resolve the sleep, because the underlying physical contributor was never addressed.

The pattern I see often:

I’m not suggesting your anxiety isn’t real. I’m suggesting that if you’ve worked on the anxiety honestly and the sleep isn’t improving, the next thing to check is your physical sleep environment.

🛏 If you suspect mattress firmness, pillow alignment, or bedroom setup is part of what’s keeping you anxiously awake, my Mattress & Pillow Firmness Finder → matches you to options based on your weight, sleep position, and pain points in under 60 seconds.

CBT-I: the gold-standard solution for both types

If you take one thing from this article, take this: Cognitive Behavioral Therapy for Insomnia (CBT-I) is the first-line treatment for chronic insomnia, including anxiety-driven insomnia. It’s more effective than sleep medication for long-term outcomes, and the effects persist after treatment ends.

What changed in 2025 is access. A randomized controlled trial published in JMIR Mental Health in 2025 found that digital CBT-I is as effective as in-person CBT-I, and the Centers for Medicare & Medicaid Services established reimbursement codes for FDA-cleared digital mental health treatments — which means digital CBT-I is now widely accessible and increasingly covered by insurance in the US.

Programs like SleepioRx, Somryst, and several others are FDA-cleared. Most run 6–8 weeks. They combine the techniques above with sleep restriction therapy and stimulus control in a structured protocol that’s more powerful than any single technique alone.

If you’ve had anxiety-driven sleep problems for more than three months, this is the intervention with the strongest evidence behind it.

When this isn’t enough — please get help

The techniques above are appropriate for ordinary stress-driven nights and mild-to-moderate sleep anxiety. They aren’t a substitute for professional help when:

Medical disclaimer: I’m not a physician, sleep therapist, or licensed mental health professional. SleepNestGuide is an informational resource and does not constitute medical or mental-health advice. If anxiety is significantly affecting your daily life, please talk to a healthcare provider — anxiety is highly treatable, and the right kind of help dramatically shortens recovery.

The bottom line

Anxiety at night isn’t one problem. If your worry has a specific topic, attack the worry — journal it, breathe through it, work the autonomic system back into calm. If your worry is about sleep itself, do the opposite: stop trying, get out of bed, let the bed and sleep re-associate gently. And if the pattern has lasted more than three months, the most evidence-backed move is CBT-I, which is now far more accessible than it was even two years ago.

🌙 Take the Free Sleep Quiz →

7 questions. No email required. Personalised result with product matches.

Affiliate disclosure: SleepNestGuide participates in Amazon Associates and other affiliate programmes. Product recommendations surfaced from my diagnostic tools may earn me a small commission at no additional cost to you. Recommendations are based on specification match to your sleep profile — not commission rates.

Sources