Back to all articles
Sleep Problems5 min read

How to Stop Racing Thoughts Before Bed

The moment the lights go out, the thoughts start. The conversation you should have handled differently. The task you forgot. Everything that could go wrong tomorrow. This pattern, lying in bed with a mind that will not stop, is one of the most common sleep problems in adults. It has a specific name, cognitive hyperarousal, and specific interventions that work.

Why Thoughts Race at Night

During the day, your attention is occupied. Work, screens, conversation, and movement all provide external stimulation that gives the mind something to process outwardly. At bedtime, that stimulation disappears. The brain, still running at a high activation level, fills the quiet with internally generated content.

This is not just about stress, though stress amplifies it. Research shows that people with chronic racing thoughts at night have measurably higher physiological arousal than normal sleepers, including elevated cortisol, higher core body temperature, and more high-frequency beta brain wave activity. The brain is biologically in a state that opposes sleep, and it expresses that state through thought.

The harder you try to stop the thoughts, the more attention you direct toward them, which makes them more prominent. Trying not to think about something reliably makes you think about it more. This is the paradox that most people with racing thoughts fall into every night.

Cognitive Techniques That Work

The Worry Dump

Writing down everything on your mind before bed externalises the thoughts and signals to the brain that they have been recorded and do not need to be held in working memory overnight. A 2018 study published in the Journal of Experimental Psychology found that spending five minutes writing a to-do list for the next day before bed significantly reduced time to fall asleep compared to journalling about completed tasks (Scullin et al., 2018). The more specific and detailed the list, the stronger the effect.

This works because the brain generates anxious thoughts partly as a memory function: it replays unfinished business to ensure it is not forgotten. Offloading these items onto paper satisfies that function and reduces the drive to keep rehearsing them.

Cognitive Shuffling

Cognitive shuffling is a technique developed by sleep researcher Luc Beaulieu-Prévost. It involves deliberately generating random, disconnected mental images, a banana, a lighthouse, a bicycle wheel, without letting any of them develop into a narrative or trigger an association. This mimics the kind of fragmented, loose cognition that naturally occurs as the brain transitions toward sleep, and appears to accelerate that transition.

Unlike counting sheep, which is boring enough to be mildly vigilance-inducing, cognitive shuffling actively disrupts the connected thinking that underlies worry.

Scheduled Worry Time

Trying to stop worrying is less effective than redirecting when it happens. Setting aside 15 to 20 minutes earlier in the evening as a dedicated worry period, writing down concerns and thinking them through deliberately, gives the anxious mind its processing time and creates a boundary. When thoughts arise at bedtime, the instruction to the mind is: this was already dealt with at 7pm. There is nothing new here.

Physical and Behavioural Techniques

Progressive Muscle Relaxation

Progressive muscle relaxation involves systematically tensing and then releasing each muscle group in the body, working from feet to head. The physiological relaxation response it triggers reduces cortisol and shifts the nervous system toward parasympathetic dominance, the rest and digest state that is necessary for sleep.

Multiple randomised controlled trials have shown it reduces time to fall asleep and improves sleep quality in people with insomnia, including those with primarily cognitive rather than physical symptoms.

Controlled Breathing

Slow, deliberate breathing at around four to six breaths per minute activates the vagus nerve and shifts the autonomic nervous system toward parasympathetic activity. The physiological sigh, a double inhale through the nose followed by a long exhale through the mouth, has been shown to reduce acute anxiety faster than steady slow breathing in some research.

The mechanism is mechanical: slow exhales lengthen the interval between heartbeats, which stimulates the baroreceptors that regulate blood pressure and send a calm signal to the brain.

Reducing Late Evening Stimulation

Screens, news, intense conversation, and problem-solving close to bed all maintain or elevate cortisol and cognitive activation. A consistent wind-down period of 45 to 60 minutes with low stimulation is one of the most consistently recommended and effective habits for reducing racing thoughts at bedtime.

Supplementation

L-Theanine is the most directly relevant supplement for cognitive hyperarousal. It promotes alpha brain wave activity, which is associated with relaxed alertness rather than the anxious high-frequency activity of an overactive mind. At 200mg taken 30 to 60 minutes before bed, it reduces the mental noise that racing thoughts produce without causing sedation. For a full breakdown of how it works, see our article on L-theanine for sleep.

Magnesium L-Threonate addresses the brain magnesium side of the equation. Adequate brain magnesium is required for normal GABA signalling, and low brain magnesium is associated with reduced inhibitory tone and greater neural reactivity. People who replenish brain magnesium often report a reduction in the baseline mental activation that feeds racing thoughts.

When to Seek Help

If racing thoughts are severe, persistent, and accompanied by anxiety during the day, they may indicate an anxiety disorder rather than a pure sleep problem. CBT-I and general CBT for anxiety are both highly effective for this presentation and are worth pursuing with a professional.

For a broader look at what drives difficulty sleeping at night and what else might be contributing, see our article on can't sleep at night.

What This Means for Your Sleep

Racing thoughts at night are a physiological state of hyperarousal, not a failure of willpower. The brain is running too hot to transition into sleep. The techniques that work best are those that redirect attention rather than suppress thoughts, offload cognitive load onto paper, and actively shift the nervous system toward physiological calm. Done consistently, these habits change the baseline activation level the brain brings to bedtime.

Sources


Related reading: Why You Can't Sleep at Night: Common Causes and Fixes | L-Theanine for Sleep: How It Calms Your Brain Without Sedation

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.