Sleep Anxiety: How to Stop Racing Thoughts at Night

Exhausted all day, wide awake at night? Sleep anxiety runs on a loop of worry and trying too hard to sleep. Here's how to break it, using CBT techniques.

A woman with brown hair lies on her side in a dim bedroom, eyes closed and smiling faintly, a hand by a brass bedside lamp.
Key takeaways
  • Sleep anxiety is a loop: worry keeps you awake, being awake becomes a new worry, and over time your brain learns that bed is where worrying happens
  • Sleep gets harder the more effort you put in — trying to sleep is a monitoring state, and monitoring keeps you awake
  • A 15-minute worry appointment early in the evening, and a five-minute to-do list at bedtime, get open loops onto paper before they reach the pillow
  • The 20-minute rule (stimulus control) is a core part of CBT for insomnia, which the American College of Physicians recommends as the first treatment for chronic insomnia
  • The most powerful night-time thoughts are often about sleep itself — "tomorrow will be a disaster" — and they are worth reframing in daylight so the new version is ready at night

Turn this into a daily habit — free to start in the MindLift app:

You were exhausted all evening. You could barely keep your eyes open on the couch. Then you got into bed, turned off the light, and your brain went: So. About that thing you said in 2019.

Or it’s work. Or money. Or a message you haven’t answered. Or — and this is the cruellest version — sleep itself. It’s already 12:40. If I fall asleep right now I’ll get six hours. Okay, five and a half. I’m going to be useless tomorrow.

If that sounds familiar, you’re dealing with sleep anxiety: anxious thoughts and physical arousal that show up at bedtime and keep you awake, or wake you at 3am and won’t let you back down. It’s one of the most common complaints of overthinkers, and it’s also one of the most fixable — once you understand why it happens.

Here’s the short version: sleep anxiety is a loop. Worry keeps you awake, being awake gives you something new to worry about, and eventually your brain learns that bed is where worrying happens. Breaking it doesn’t mean trying harder to sleep. It means doing almost the opposite.

How do you stop sleep anxiety?

Stop fighting for sleep and break the loop instead. Write your worries down in a 15-minute slot early in the evening. If you've been awake in bed for about 20 minutes, get up and do something calm until you feel sleepy. Hide the clock, let 'resting quietly' be the goal, and slow your breathing before you try to reason with a worry. Then reframe the thoughts about sleep itself — 'tomorrow will be a disaster' — during the day, so a calmer version is ready at night.

Why anxiety gets louder at night

During the day, your attention is taken. Tasks, people, screens, noise — your brain has plenty to process, so unresolved worries sit in the background. At night, all of that disappears. You lie in the dark with nothing to look at and no task to do, and the background worries get the whole stage.

There’s a second reason worries feel worse at night: your thinking brain is tired. Research on sleep loss suggests the prefrontal cortex — the part that puts things in perspective, weighs evidence and says “this is probably fine” — works less efficiently when you’re fatigued, while the parts that detect threats stay alert. So at 3am you can get the full emotional weight of a worry without the part of your mind that normally puts it in proportion.

That’s why a thought that felt manageable at 4pm (“I should reply to that email”) becomes catastrophic at 3am (“I’ve ruined that relationship and everyone at work thinks I’m unreliable”). The problem didn’t change. Your brain’s ability to evaluate it did. We go deeper into this in your brain at 3am.

The same worry at 4pm and at 3am

At 3am

  • You lie in the dark with nothing to look at and no task to do
  • The background worries get the whole stage
  • Your thinking brain is tired
  • "I've ruined that relationship and everyone at work thinks I'm unreliable"

At 4pm

  • Your attention is taken: tasks, people, screens, noise
  • Unresolved worries sit in the background
  • The part that puts things in perspective, weighs evidence and says "this is probably fine"
  • "I should reply to that email"
The problem didn't change. Your brain's ability to evaluate it did.

Worth remembering the next time a 3am thought feels like the truth: it’s being judged by the least reliable version of you.

The loop that keeps sleep anxiety going

Sleep anxiety usually grows through three steps, and each one feeds the next. (If you want to find your own daytime version, the anxiety loop quiz maps it in two minutes.)

1. Worry creates arousal. Anxious thoughts switch on the stress response — faster heart rate, shallow breathing, alertness. Your body is getting ready to deal with a threat, which is the opposite of the state you need to fall asleep.

2. Being awake becomes a new worry. After twenty minutes of not sleeping, a second layer of thoughts arrives: Why can’t I sleep? What’s wrong with me? Tomorrow is going to be terrible. Now you’re anxious about the original worry and about sleep. More arousal.

3. Your brain learns bed = worrying. This is the sneaky part. Your brain is excellent at forming associations. If you spend enough nights lying in bed anxious and awake, bed itself becomes a cue for anxiety. That’s why some people feel sleepy on the couch and wide awake the moment their head hits the pillow.

The loop that keeps sleep anxiety going
  1. Worry creates arousalAnxious thoughts switch on the stress response: faster heart rate, shallow breathing, alertness.
  2. Being awake becomes a new worryWhy can't I sleep? What's wrong with me? Tomorrow is going to be terrible.The thought about sleep itself
  3. Your brain learns bed = worryingBed itself becomes a cue for anxiety.

Step 3 feeds back into step 1.

Worry keeps you awake, being awake gives you something new to worry about, and eventually your brain learns that bed is where worrying happens.

And here’s the paradox at the centre of it: sleep is one of the few things that gets harder the more effort you put in. You can’t force it. Trying to sleep is an active, effortful, monitoring state — and monitoring is exactly what keeps you awake.

So the fixes below aren’t about trying harder. They’re about lowering arousal, taking the effort out of sleep, and teaching your brain a new association with bed.

1. Give your worries an appointment — earlier in the evening

If your brain uses bedtime to process the day’s worries, give it a better time to do that.

Set a 15-minute worry appointment in the early evening — well before bed. Sit down with paper and write out whatever’s on your mind. For each worry, add one line: the next small thing I’ll do about it, or nothing to do about this tonight.

In a study of college students with insomnia, this kind of structured early-evening worry exercise reduced mental activity before sleep. A separate sleep-lab study found that people who spent five minutes writing a to-do list for the next day fell asleep faster than people who wrote about what they’d already done — getting open loops onto paper seems to tell the brain it doesn’t need to keep rehearsing them.

Then, when a worry shows up in bed, you have a response ready: That one’s already on the list. It has a time. I don’t need to solve it now.

What it fixes: step 1 of the loop. Less unprocessed worry reaching the pillow.

2. Follow the 20-minute rule

If you’ve been in bed awake and anxious for roughly 20 minutes (estimate — don’t check the clock), get up. Go to another room, keep the light dim, and do something calm and a bit boring: read a physical book, fold laundry, listen to something quiet. Go back to bed only when you feel sleepy — not just tired, but eyelids-heavy sleepy.

It feels backwards, because you’re giving up sleep time. But this technique, called stimulus control, is one of the core components of CBT for insomnia (CBT-I) — the approach the American College of Physicians recommends as the first treatment for chronic insomnia in adults, ahead of sleeping pills.

It works because it breaks the bed-equals-worry association. Every time you leave the bed while anxious, and return only when sleepy, you’re teaching your brain a new rule: bed is for sleeping. It takes a couple of weeks of consistency, and the first few nights can feel worse before they feel better.

What it fixes: step 3 of the loop — the learned association.

3. Stop trying to fall asleep

This sounds like a trick, but it’s a real technique called paradoxical intention: instead of trying to sleep, you give yourself permission to lie in bed awake, resting, with your eyes closed. The goal becomes “rest quietly,” not “fall asleep.”

It works because it removes the effort. Once you’re not monitoring yourself for sleep (“Am I drifting off? Not yet. Still not yet.”), you stop generating the performance anxiety that keeps you awake. Lying quietly with your eyes closed is not wasted time, even if it isn’t sleep.

Pair it with a hidden clock. Turn your clock away and keep your phone out of reach. Every time you check the time, you restart the sleep math, and the sleep math is pure fuel for anxiety.

What it fixes: the paradox at the centre of the loop.

4. Calm your body before you reason with your mind

When your heart is racing, trying to think your way out of a worry rarely works. Settle your body first.

Two techniques that work well in bed:

  • Long-exhale breathing. Breathe in through your nose for about four counts, out through your mouth for about six to eight. A longer exhale than inhale is associated with the parasympathetic nervous system, the side that slows your heart rate. The physiological sigh — a double inhale followed by a long exhale — also works well here.
  • Progressive muscle relaxation. Starting at your feet, tense each muscle group for about five seconds, then release it and notice the difference. Work up to your face. It gives your attention a physical task and releases tension you may not have noticed you were holding.

A third option for racing, jumpy thoughts is cognitive shuffling: pick a random word (say, “planet”), and for each letter, picture as many unrelated objects as you can starting with that letter. P: piano, pear, parrot. L: lamp, lemon… It’s hard to build a worried story while you’re picturing random, unconnected images — which is thought to be close to what happens naturally as you drift off.

What it fixes: step 1 of the loop — the physical arousal.

5. Reframe the thoughts about sleep itself

For many people, the most powerful anxious thoughts at night aren’t about work or relationships. They’re about sleep: I’ll be a wreck tomorrow. I can’t function on this little sleep. Something is wrong with me. These thoughts are almost always distorted, and they’re worth checking — ideally during the day, when your thinking brain is working at full strength, so the new version is ready at night.

Take the most common one: “If I don’t sleep tonight, tomorrow will be a disaster.” That’s catastrophizing and fortune telling at once. Ask three questions:

1. What does the evidence say?
“I’ve had bad nights before. The next day was harder, but I got through it. I went to work, I did my job — maybe not my best, but I did it.”

2. What else could happen?
“One short night usually means a tired day, not a disaster. And after a short night, the next night’s sleep tends to be deeper.”

3. What would I say to a friend lying awake with this thought?
“You’ll be okay. Stop doing the math. Resting is still helping.”

Then write the new thought — not a forced positive one, a more accurate one: “I might be tired tomorrow, and I’ve handled tired before. Lying here resting is enough for now.”

Reframe the thought about sleep itself
  1. Harsh thought“If I don't sleep tonight, tomorrow will be a disaster.”
  2. PatternCatastrophizing and fortune telling
  3. Kinder response“I might be tired tomorrow, and I've handled tired before. Lying here resting is enough for now.”
These thoughts are almost always distorted, and they're worth checking — ideally during the day, when your thinking brain is working at full strength, so the new version is ready at night.

Other sleep thoughts worth checking the same way:

  • “I need eight hours or I can’t function” — a should statement. Sleep needs vary, and one night doesn’t set your capacity.
  • “I’ll never sleep normally again” — overgeneralization. Sleep anxiety is common, and it responds well to exactly the techniques on this page.
  • “Everyone else just falls asleep” — mind reading and comparison. You don’t know how others sleep, and plenty of people struggle.

What it fixes: step 2 of the loop — the anxiety about being awake.

try a reframe

What's the thought that keeps you awake?

Type it into MindLift — get a Realist, Growth, and Compassionate reframe in 60 seconds.

6. Treat the daytime, not just the night

Sleep anxiety starts long before bedtime. A few daytime habits make a noticeable difference:

  • Keep a consistent wake-up time, even after a bad night. Sleeping in feels like a fix but pushes your body clock later, making the next night harder. Waking at the same time builds natural sleep pressure.
  • Skip long naps. If you must, keep it under 20–30 minutes and before mid-afternoon.
  • Move your last coffee before noon. Caffeine stays in your system for hours and mimics the physical signs of anxiety.
  • Get daylight in the morning. Light early in the day helps set your body clock so sleepiness arrives on time at night.
  • Deal with daytime stress during the day. The worries that keep you up at night are usually the ones that didn’t get attention before dark. Catching and reframing them as they happen means fewer arrive at the pillow.

If your nights are less about anxiety and more about replaying the day, how to stop overthinking at night covers that side.

When to get extra help

Most sleep anxiety improves with the techniques above. But if you’ve been sleeping badly most nights for three months or more, if it’s seriously affecting your days, or if your night-time worry feels constant or overwhelming, talk to a doctor. Chronic insomnia is very treatable, CBT-I is widely available (including in guided digital formats), and a professional can also check for other causes like sleep apnoea.

Catch the thought before it gets to your pillow

The breathing, the 20-minute rule, the hidden clock — all of it helps at night. But the most reliable way to sleep better is to have fewer unresolved worries arriving at bedtime in the first place, and a better answer ready for the ones that do.

That’s what MindLift is for. When a thought is spinning — at 4pm or at 1am — type it exactly as it sounds in your head, and MindLift helps you turn it into a more balanced, believable one using CBT-style reframing, in about 60 seconds. The new version is there when you need it.

Try MindLift — free to start, on iOS 15+, Android 8+ and the web.

MindLift is a wellness and self-reflection tool, not a replacement for professional mental-health or sleep care. If you are experiencing severe or persistent symptoms, or are in crisis, seek support from a qualified professional or your local emergency or crisis service.

Common questions

Frequently asked questions

What is sleep anxiety?

Sleep anxiety is anxiety that shows up around bedtime or during the night — racing thoughts, worry, or a racing heart that make it hard to fall asleep or stay asleep. It often includes anxiety about sleep itself, such as worrying about how tired you will be tomorrow.

Why does anxiety get worse at night?

At night there are fewer distractions, so unresolved worries take up more of your attention. Tiredness also seems to reduce the brain’s ability to put worries into perspective, which makes thoughts feel more urgent and catastrophic than they would during the day.

How do I stop racing thoughts at night?

Write down your worries earlier in the evening, calm your body with slow breathing or progressive muscle relaxation, and use a technique like cognitive shuffling to interrupt the loop. If you are still awake after about 20 minutes, get up and do something calm until you feel sleepy.

Should I get out of bed if I can’t sleep?

Yes. Leaving the bed after about 20 minutes awake, and returning only when sleepy, is a core part of CBT for insomnia. It helps retrain your brain to link bed with sleep instead of worry.

Is CBT effective for sleep anxiety?

Yes. Cognitive behavioural therapy for insomnia (CBT-I) is recommended by the American College of Physicians as the first treatment for chronic insomnia in adults. It combines behavioural techniques like stimulus control with cognitive techniques that challenge anxious thoughts about sleep.

Like what you're reading?

Take control of your mental wellness

Reframe the thought that started it — personalized CBT reframes in the MindLift app.

Download MindLift mental wellness app on the Apple App StoreGet MindLift mental wellness app on Google Play Store

Free to start · premium optional

MT

MindLift Team

CBT & Self-Talk Researchers

CBT-Informed ContentSelf-Talk ResearchEvidence-Based Techniques

MindLift content is grounded in cognitive behavioral therapy principles and designed to help you shift harsh self-talk in real time. Our guides focus on practical, evidence-based techniques you can use in the moment.

Sources (3)
Sources
  1. Qaseem, A., Kansagara, D., Forciea, M. A., Cooke, M., & Denberg, T. D. (2016). Management of chronic insomnia disorder in adults: A clinical practice guideline from the American College of Physicians. Annals of Internal Medicine, 165(2), 125–133. — DOI (opens in a new tab)
  2. Scullin, M. K., Krueger, M. L., Ballard, H. K., Pruett, N., & Bliwise, D. L. (2018). The effects of bedtime writing on difficulty falling asleep: A polysomnographic study comparing to-do lists and completed activity lists. Journal of Experimental Psychology: General, 147(1), 139–146. — DOI (opens in a new tab)
  3. Carney, C. E., & Waters, W. F. (2006). Effects of a structured problem-solving procedure on pre-sleep cognitive arousal in college students with insomnia. Behavioral Sleep Medicine, 4(1), 13–28. — DOI (opens in a new tab)
MindLift content is informed by published research in cognitive behavioral therapy and psychology. This content is educational and does not constitute medical advice, diagnosis, or treatment.

Was this article helpful?