← All articles
Sleep·7 min read

How to Cope With Racing Thoughts When Trying to Sleep

Your body is exhausted but your brain won't stop replaying conversations, running through tomorrow's to-do list, or spiraling into worst-case scenarios. Here's what actually helps.

The short version

  • Racing thoughts at bedtime are a learned pattern your brain can unlearn with the right techniques.
  • Scheduled 'worry time' earlier in the day takes the pressure off your pillow.
  • Cognitive defusion helps you watch thoughts float by instead of getting tangled in them.
  • Stimulus control — keeping your bed for sleep only — retrains your brain to associate bed with rest.

If you lie down at night and your mind immediately kicks into overdrive, you are not broken — you are experiencing one of the most common sleep complaints in the US. The good news is that Cognitive Behavioral Therapy for Insomnia (CBT-I) offers a set of practical, well-researched techniques that can quiet an overactive mind at bedtime. You do not need medication or a therapist's office to start using them tonight.

Why Your Brain Races the Moment Your Head Hits the Pillow

During the day, tasks, conversations, and screens give your brain a constant stream of input to process. Bedtime is the first quiet moment your mind gets — so it tries to catch up on everything it shelved. On top of that, if you have spent many nights lying awake worrying, your brain has literally learned to associate your bed with alertness. This is called conditioned arousal, and it is a core target of CBT-I.

Understanding this takes the blame off you. Your racing thoughts are not a character flaw. They are a habit your nervous system picked up, and habits can change.

Schedule a 'Worry Window' Earlier in the Day

One of the most effective CBT techniques for nighttime rumination is called scheduled worry time. Instead of trying to suppress anxious thoughts — which almost always backfires — you give them a dedicated slot during waking hours.

  1. Pick a 15–20 minute window at least two hours before bed, ideally at the same time each day.
  2. Sit down with a notebook and write out everything that is worrying you. Do not edit — just dump it all onto the page.
  3. For each worry, jot down one small next step you could take, even if it is tiny.
  4. When a worry surfaces at bedtime, remind yourself: 'I already gave that time today. My window is tomorrow at 5 p.m.' Then gently redirect.

Research consistently shows that containing worry to a specific time reduces the urge to ruminate at night. Your brain stops feeling like it has to solve everything right now because it knows a slot is coming.

Try Cognitive Defusion to Unhook From Thoughts

Cognitive defusion is a technique from Acceptance and Commitment Therapy, a close cousin of CBT. The goal is not to stop thoughts but to change your relationship with them — to watch them pass instead of grabbing onto each one.

  • Imagine your thoughts as cars passing on a highway. You are sitting on a hillside, watching, not chasing.
  • Label each thought without judgment: 'There is the work presentation thought again. There is the money worry.' Naming it creates a small but powerful distance.
  • Repeat the thought in a silly voice or imagine it on a marquee sign. This sounds odd, but it disrupts the emotional charge the thought carries.
  • Try the phrase: 'I notice I am having the thought that...' rather than treating the thought as fact.

Defusion does not make the thought disappear. It makes the thought less sticky so it can drift through without keeping you wired.

Use Stimulus Control to Retrain Your Bed

Stimulus control is one of the most evidence-backed components of CBT-I. The rule is simple: your bed is for sleep and sex only. No phones, no laptops, no reviewing your calendar, no doom-scrolling.

If you have been lying awake for more than about 20 minutes, get up. Go to another room, do something calm and low-light — read a physical book, listen to quiet music, do gentle stretching — and only return to bed when you feel genuinely sleepy. This feels counterintuitive when you are exhausted, but it breaks the conditioned link between your bed and wakefulness.

"Every time you stay in bed while your mind races, you are accidentally teaching your brain that bed equals anxiety. Every time you leave and return only when sleepy, you start teaching it the opposite."

Practice a Breathing Technique to Downshift Your Nervous System

Slow, controlled breathing activates the parasympathetic nervous system — your body's rest-and-digest mode — and directly counters the physical arousal that keeps racing thoughts spinning. Two methods that work well at bedtime:

  • 4-7-8 breathing: Inhale for 4 counts, hold for 7, exhale slowly for 8. The long exhale is key — it signals safety to your brain.
  • Box breathing: Inhale for 4 counts, hold for 4, exhale for 4, hold for 4. Repeat 4–6 times. This is the same technique used by military personnel to calm acute stress.

Neither of these is a magic off switch. They work by giving your attention something concrete to anchor to, which naturally crowds out the thought spiral.

Write a 'Tomorrow List' Before You Get Into Bed

A 2018 study published in the Journal of Experimental Psychology found that people who spent five minutes writing a to-do list for the next day before bed fell asleep significantly faster than those who wrote about completed tasks. The more specific the list, the better the effect.

This works because your brain keeps looping through unfinished tasks — a quirk psychologists call the Zeigarnik effect. Writing them down essentially tells your mind the loop is closed. You can let go because it is captured.

Challenge the Thought That 'I Must Fall Asleep Right Now'

One of the most sleep-disrupting thoughts is the meta-worry about not sleeping: 'If I do not fall asleep in the next ten minutes I will be wrecked tomorrow.' This creates a pressure that makes sleep neurologically impossible — your brain cannot sleep on command under threat.

A classic CBT thought challenge: Ask yourself what the evidence actually is that one bad night ruins everything. Most people function better than they predict after a poor night's sleep. Remind yourself that resting quietly — even without sleeping — still gives your body meaningful recovery. Lowering the stakes removes the pressure that perpetuates the cycle.

Build a Wind-Down Routine That Signals Safety

Your brain reads cues. A consistent pre-sleep routine — done in the same order each night — becomes a signal that it is safe to drop alertness. It does not have to be elaborate. Twenty to thirty minutes is enough.

  • Dim the lights in your home at least 30 minutes before bed.
  • Put your phone in another room or use a physical alarm clock.
  • Do your tomorrow list and worry window journaling at a desk, not in bed.
  • Try a warm shower or bath — the drop in body temperature afterward mimics the natural thermal shift that triggers sleep.
  • Pick one calming anchor activity: light reading, a podcast at low volume, or a body scan meditation.

Consistency matters more than perfection here. Even an imperfect routine done regularly will start to work because your nervous system is very good at learning sequences.

A Note on When to Seek More Support

The techniques above are grounded in solid evidence and can make a real difference for most people. But if your racing thoughts are tied to significant anxiety, depression, trauma, or a sleep disorder like sleep apnea, a licensed therapist or your doctor can offer more targeted support. Bruno is a coach, not a therapist, and nothing here is a substitute for professional care. If you are in crisis or having thoughts of harming yourself, please reach out to the 988 Suicide and Crisis Lifeline by calling or texting 988 — trained counselors are available around the clock. You deserve real help, and asking for it is a sign of strength.

Try it for yourself

Take a free 2-minute mental health check.

No diagnosis. No login to start. Just a clear snapshot — and three personalized next steps.

Start the check