Back to all articles
Sleep & Health5 min read

How to Stop Racing Thoughts at Night (What Actually Works)

The experience of lying in bed while the mind runs through tomorrow's meeting, replays an old conversation, or generates an unprompted list of unfinished tasks is one of the most common sleep complaints. It is also one that responds poorly to generic sleep hygiene advice because the problem is cognitive rather than environmental. The bedroom can be perfect and the thoughts will still come.

Why the Mind Activates at Night

The brain has a default mode network (DMN), a set of interconnected regions that become active when external demands are removed. During the day, focused tasks suppress the DMN. When attentional demands drop, the DMN switches on and begins processing self-referential information: personal concerns, future scenarios, social interactions, unresolved problems.

Bedtime is the most complete removal of external demands in most people's day. The phone is down, the tasks are paused, the stimuli are reduced. The DMN fires up in exactly the conditions where sleep is needed. This is not a sign that something is wrong. It is the brain doing what it is designed to do when not occupied with tasks. The problem is that this natural process is incompatible with sleep onset.

Anxiety amplifies this. Anxious people have a more reactive DMN and a stronger pull toward threat-related processing. The topics the DMN generates tend to be negatively valenced: worries, worst-case scenarios, social concerns, physical sensations interpreted as problems. For a deeper look at the anxiety-sleep connection, see our article on anxiety and sleep.

What Does Not Work

Trying harder to stop thinking. Sleep effort, the active attempt to force the mind quiet, increases monitoring and arousal, making the racing thoughts worse. The instruction to stop thinking is paradoxically a thought-generating instruction.

White noise and sleep sounds. These can reduce sensitivity to external noise but do not quiet the internally generated thoughts that are the actual problem.

Scrolling through the phone to distract from the thoughts. This suppresses the DMN temporarily but increases alerting signal through screen light, emotional stimulation, and comparison content, making the underlying problem worse when the phone is eventually put down.

Alcohol. Alcohol may dull the thoughts initially but fragments sleep, suppresses REM, and produces next-day anxiety that compounds the problem.

What Actually Works

Cognitive shuffle. Developed by cognitive scientist Luc Beaudoin, the cognitive shuffle involves visualising unconnected random images in sequence, one per second, without allowing them to connect into a narrative. The idea is that the brain entering sleep naturally produces hypnagogic imagery, fragmented and nonsensical. By deliberately producing fragmented random images, you mimic the brain state associated with sleep onset and interrupt the sequential logical processing that sustains anxious thought.

Practical approach: choose a random word, visualise an object that word brings to mind, then move to the next unrelated image. A pillow, then a giraffe, then a filing cabinet, then a green shoe. Resist the urge to connect them. The disconnection is what makes it effective.

Scheduled worry time. Research in CBT shows that designating a specific 20 to 30-minute period earlier in the evening for deliberate worry processing significantly reduces intrusive worry at bedtime. Write down the worries. For each one, write either a concrete next action or an explicit acknowledgment that nothing can be done and a decision to set it aside.

The brain is less likely to surface concerns that have been given deliberate attention. Unprocessed information stays cognitively available. This technique is about processing, not suppression.

Written download before bed. A brief written download of what is on the mind, without structure or editing, acts as a cognitive offloading exercise. Writing externalises the thought, reducing the memory-maintenance effort that keeps it looping. This is related to journaling but requires no structure, theme, or quality, just transfer from head to paper. For the research on journaling and sleep, see our article on journaling before bed.

Extended exhale breathing. A six to eight count exhale compared to a four count inhale activates the vagus nerve and shifts the autonomic nervous system toward parasympathetic dominance. This physiological shift reduces the arousal state that sustains active thought. Five to ten minutes of slow breathing before sleep is enough to produce measurable heart rate changes. This works better as a pre-sleep practice than as an emergency intervention once thoughts are already racing.

Physical exercise during the day. Regular moderate exercise during the day reduces nighttime cognitive arousal through adenosine accumulation and improved regulation of the stress response. People who exercise consistently have lower baseline evening cortisol, which reduces the physiological substrate that feeds anxious thought at bedtime.

The Role of Nervous System Regulation

Racing thoughts at bedtime are partly cognitive and partly physiological. The physiological arousal state, elevated cortisol and heart rate, heightened sympathetic tone, slightly elevated core temperature, creates conditions in which the cognitive mind finds it difficult to disengage. Addressing both levels simultaneously works better than addressing only one.

Lemon balm extract, through GABA transaminase inhibition, helps reduce the neural arousal that sustains racing thoughts. When GABAergic inhibition is functioning well, the brain can transition from active processing to the quieter state that precedes sleep. Clinical trials have found lemon balm reduces both anxiety and sleep onset difficulty in stressed adults. For the evidence, see our article on lemon balm for sleep.

Magnesium bisglycinate reduces cortisol reactivity and supports NMDA receptor regulation, which lowers the excitatory tone in the nervous system that keeps thoughts active. The combination of cognitive techniques and nervous system support addresses the problem from both angles.

What This Means for Your Sleep

Racing thoughts at night are caused by the brain's natural default mode activation in the absence of tasks, amplified by anxiety and physiological arousal. The interventions that work address both levels: cognitive techniques (scheduled worry, written download, cognitive shuffle) to intercept the thought patterns, and physiological support (slow breathing, magnesium, lemon balm) to reduce the arousal state that sustains them.

Sources


Related reading: Anxiety and Sleep: Why Your Mind Won't Switch Off at Night | Journaling Before Bed: Does It Actually Help Sleep?

About the Author

Nima Koucheki

Nima Koucheki

Founder, Sleep Improvers

Nima Koucheki is the founder of Sleep Improvers. He hosts a podcast and YouTube channel dedicated to sleep science, translating peer-reviewed research into protocols anyone can apply tonight.

Related Reading

Want the Full Sleep Protocol?

Get the free Sleep Improvers book and put the science to work tonight.