Why it happens at bedtime
Three things converge at night. External stimulation drops, so attention turns inward. The day's unfinished business finally has no competition for working memory. And lying still in the dark removes the sensory input that normally keeps the narrative system partly occupied.
Add to this that many people spend their days without processing anything — and bedtime is the first quiet interval available.
Why "stop thinking" cannot work
Trying not to think about something requires monitoring for its appearance, which keeps it active in working memory. This is the ironic-process effect, and it is why the instruction to clear your mind reliably produces more thought, not less.
The alternative is not suppression but substitution: give attention a concrete, neutral, low-stakes task. The narrative system cannot run two threads well, and the tasks below are chosen because they have no plot.
Four techniques
1. Cognitive shuffling
Take a neutral word and generate a random word for each letter. BEDROOM becomes bed, bear, button, elephant, echo, engine, door, dog, dress. The randomness is the mechanism: no narrative can form. Full instructions in cognitive shuffling.
2. Body scan
Move attention slowly through the body, region by region, noticing sensation without judging it. Attention has a job; the narrative system idles. See body scan for sleep.
3. Extended-exhale breathing
If the racing comes with a racing heart or restlessness, this is a physiological rather than a cognitive problem, and breathing addresses it more directly. See 4-7-8 breathing.
4. Small movement
If your body is tight as well as your mind busy, attention-based techniques often fail because the underlying arousal is somatic. Slow, small Feldenkrais movement reduces the effort feeding the alertness, and thinking tends to slow on its own afterwards.
A daytime intervention that matters more
Fifteen minutes in the late afternoon, on paper: write down everything currently open, and next to each one the single next physical action. Not a plan — a list of next actions. This reduces the night-time rehearsal because the open loops have been acknowledged externally.
What makes it worse
- Bringing the phone or laptop to bed — every notification is a new thread.
- Working in bed, which trains the bed as a place for mental activity.
- Lying in bed awake for long stretches, which gives the racing somewhere to happen.
- Caffeine after noon, which amplifies the physical component.
When it is more than racing thoughts
If the thoughts are intrusive and distressing in a way that feels uncontrollable, or if they come with persistent low mood, panic, or a sense of dread, this needs professional assessment rather than a sleep technique. Racing thoughts are a feature of generalised anxiety, and treating the anxiety is the real work.