← Library

How to Stop Racing Thoughts at Night: An Evidence-Based Guide to Turning Off Your Brain

You’re exhausted all day. You collapse into bed, close your eyes, and suddenly—your mind turns on like a television set at maximum volume.

The mental chatter begins. You replay a slightly awkward conversation from three years ago. You suddenly remember an email you forgot to send. You start worrying about your finances, the future, and finally, you start worrying about the fact that you aren't sleeping.

If you constantly find yourself thinking, "I can't turn off my brain to sleep," you are experiencing sleep onset insomnia triggered by cognitive hyperarousal. Simply put: your mind is racing, and anxiety is keeping you awake.

This guide breaks down clinically proven techniques rooted in CBT-I (Cognitive Behavioral Therapy for Insomnia) to help you quiet your mind and finally get to sleep. Importantly, every method listed here is supported by published sleep science—no pseudoscience, and no vague advice like "just relax."


The Science: Why is My Brain So Active at Night?

During the day, daylight, physical activity, and daily tasks act as external distractions. But when you lie down in a dark, quiet room, all external stimuli vanish. Your brain, evolved to constantly scan for threats, suddenly has nothing to process except your internal thoughts.

If you are experiencing even mild daytime stress, your nervous system remains slightly flooded with cortisol and adrenaline. When you inevitably can't fall asleep immediately, sleep performance anxiety sets in. The thought "If I don't sleep now, tomorrow is ruined" triggers a literal 'fight or flight' response, ensuring your brain stays wide awake to protect you.

To stop overthinking at night, we cannot force the brain to shut down. Instead, we have to trick it into feeling safe.


Technique 1: "Brain Dumping" (Constructive Worry)

When you lie in bed trying to hold onto a to-do list or a worry, your brain refuses to let you sleep because it treats that information as a threat you might forget.

Psychologists refer to the solution as Cognitive Defusion or Constructive Worry. By writing your thoughts down, you externalize them. You signal to your brain: "This is documented safely. I do not need to actively hold onto it."

The Proof: In a landmark 2018 polysomnographic study conducted by researchers at Baylor University (Scullin et al., published in the Journal of Experimental Psychology), participants who spent 5 minutes before bed writing down a specific "To-Do" list fell asleep significantly faster (9 minutes faster on average) than those who wrote about tasks they had already completed.

How to do it tonight:

  • Don't stay in bed to do this. If you've been awake for roughly 20 minutes, leave the bed.
  • Grab a piece of paper (or use our Brain Dump tool, which deliberately never saves your data).
  • Write down every single fragment of a thought, worry, or to-do. Do not organize them. Just empty your head before bed.

Technique 2: Cognitive Shuffling (The Serial Diverse Imagination)

If your racing thoughts aren't about anxiety, but rather a hyperactive imagination or getting "songs stuck in your head," a journaling exercise might not be enough.

Enter Cognitive Shuffling. Invented by Dr. Luc P. Beaudoin, a cognitive scientist at Simon Fraser University, this technique short-circuits the brain's ability to form logical, stress-inducing narratives.

Dr. Beaudoin's research suggests that the brain falls asleep when it detects random, nonsensical micro-dreams (called hypnagogic imagery). A coherent thought (like planning a presentation) tells the brain to stay awake. Random, disconnected thoughts tell the brain it is time to sleep.

How to do it tonight:

  • Think of a random, emotionally neutral letter, like "C."
  • Visualize a word that starts with C: Carrot. Picture the carrot for 3 seconds.
  • Move to the next word: Cloud. Picture it.
  • Move to the next: Cat.
  • Once you run out of easy "C" words, pick a new letter.
  • Note: If this feels like too much mental effort, you can use our Sleep Experiment tool, which automates Cognitive Shuffling by feeding you random focal points.

Technique 3: Progressive Muscle Relaxation (Somatic Grounding)

Sometimes, the racing thoughts are a symptom of physical tension. Your brain feels the physical tightness in your jaw, shoulders, and chest, and interprets that physical tension as a reason to stay hyper-vigilant.

Progressive Muscle Relaxation (PMR) is one of the oldest and most consistently validated clinical interventions for insomnia. By intentionally tensing a muscle completely, and then releasing it, you force the somatic nervous system to physically let go of adrenaline.

How to do it tonight:

  • Lie on your back.
  • Start down at your toes. Squeeze them as tightly as you can for 5 seconds.
  • Release completely, taking a deep exhale for 10 to 15 seconds. Notice the sensation of heaviness.
  • Move up to your calves, then thighs, then stomach, hands, shoulders, and finally your face.
  • Need help pacing yourself? Try our guided 3-minute PMR Body Scan.

The Golden Rule: Stop "Trying" to Sleep

The ultimate paradox of sleep is that it only comes when you stop trying to achieve it.

If you are dealing with a sleepless night right now, give yourself permission to be awake. Tell yourself: "I am not going to try to sleep. I am just going to lie here and rest quietly in the dark." Often, removing the pressure of performance is the exact release valve the brain needs to finally power down.

If you are struggling right now, you don't need another app asking for your email or tracking your data. Visit sleeptonights.com for ad-free, account-free CBT-I tools designed specifically to help you handle racing thoughts at 3 AM.


References:

  1. 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.
  2. Beaudoin, L. P. (2018). The management of pre-sleep cognitive arousal: A tutorial. Somnologie.

Ready to try an evidence-based tool?

No tracking, no pressure. Just simple exercises to break the cycle of sleeplessness.