You’re exhausted, the lights are off, and your brain decides this is the perfect moment to replay an awkward conversation from 2019 or plan out tomorrow’s entire to-do list. Overthinking at night is one of the most common reasons people lie awake staring at the ceiling, and the harder you try to force your mind to stop, the more awake you often feel.

The good news is that quieting a racing mind isn’t about willpower — it’s about giving your brain something else to do and breaking the habits that train it to treat bed as a place for worrying instead of sleeping. Here’s what actually works, based on techniques used in sleep psychology and cognitive behavioral therapy for insomnia (CBT-I).

Quick Answer

To stop overthinking at night, distract your mind with a low-effort mental task like the cognitive shuffle (picturing random, unrelated objects), get out of bed if you’ve been awake and wired for more than about 20 minutes, and move your worrying to a scheduled slot earlier in the day instead of trying to suppress thoughts the moment you lie down.

Try the Cognitive Shuffle to Interrupt Racing Thoughts

The cognitive shuffle, developed by cognitive scientist Dr. Luc Beaudoin, works by replacing anxious, linear thinking with random, unrelated mental images — mimicking the fragmented way your mind naturally drifts as you fall asleep. To try it, pick a neutral word (avoid anything tied to your worries), then think of a string of unrelated words that start with each letter. For ‘lamp,’ you might picture a lion, an airplane, a mountain, and a pencil — no story, no logic connecting them, just one random image after another.

The key is to resist the urge to make the images relate to each other or to anything on your mind. If you lose focus and a worry creeps back in, just pick a new word and start again. Many people notice their mind starting to feel drowsy and disjointed within several minutes, which is a sign it’s working.

Break the Bed-and-Worry Association (CBT-I Habits)

If your brain has learned that bed is where the overthinking happens, it will keep doing it out of habit — a core idea behind CBT-I’s ‘stimulus control’ technique. If you’ve been lying awake turning thoughts over for roughly 20 minutes, get up and do something quiet and dim-lit (reading, stretching, folding laundry) until you feel sleepy, then go back to bed. This retrains your brain to associate bed with sleep rather than with lying awake and thinking.

It also helps to do your worrying somewhere else, at a different time. ‘Worry postponement’ or scheduled worry time means setting aside 15–30 minutes earlier in the day — at least a couple of hours before bed — to sit down and actually write out what’s bothering you. When a worry shows up at night, jot down a one-line reminder on a notepad by your bed and tell yourself you’ll deal with it at tomorrow’s worry session, then let it go. The goal isn’t to suppress the thought, since actively pushing thoughts away tends to make them come back stronger — it’s to give them a designated home that isn’t 2 a.m.

Slow, structured breathing can also take the edge off a racing mind by shifting your body out of a stressed state. A simple pattern is to inhale for four counts, hold briefly, and exhale for six to eight counts — a longer exhale than inhale helps calm the nervous system. Pair this with the cognitive shuffle or use it on its own while lying still with your eyes closed.

Tips and Common Mistakes

Don’t check the time repeatedly — glancing at a clock and calculating how few hours of sleep you have left almost always ramps up anxiety rather than solving anything. Turn your clock away from view if you have to.

Avoid using your phone as your ‘get out of bed’ activity. Scrolling feels passive, but the light and stimulation tend to wake you up further and pull your mind right back into overthinking territory. Choose something boring and screen-free instead.

Don’t try to force the cognitive shuffle to make sense. The randomness is the point — if the images start forming a story or connecting to your actual worries, deliberately switch to a new, unrelated word.

If your mind consistently jumps to the same specific worry every night, that’s often a sign to address it during your scheduled worry time or with a therapist rather than expecting a bedtime trick to solve it long-term. Occasional racing thoughts are normal; if overthinking is keeping you up most nights for weeks, it’s worth talking to a doctor about persistent insomnia or anxiety.

Explore more: more wellness tips for better sleep.

Stop overthinking at night FAQs

How long should the cognitive shuffle take to work?

Many people report starting to feel drowsy within roughly five to fifteen minutes, though it can take longer if you’re especially stressed or new to the technique. Keep the images random and unemotional, and don’t worry about doing it ‘right.’

Should I get out of bed if I can’t stop overthinking?

Yes — if you’ve been lying awake and mentally active for about 20 minutes, it’s better to get up and do a quiet, screen-free activity until you feel sleepy, then return to bed. This keeps your brain from associating bed itself with wakeful worrying.

Is it bad to write down my worries right before bed?

A quick one-line brain dump of nagging to-dos or worries can help, but a longer worry session is more effective earlier in the evening, at least a couple of hours before bed, so you’re not stirring up anxious thoughts right as you’re trying to fall asleep.

Build Better Habits With ZenDuel

Track your habits and mood, stay accountable, and build a calmer routine — get the ZenDuel app. Get ZenDuel.

Want a calmer inbox? Subscribe to the free newsletter.

Photo by Greg Pappas on Unsplash.

Item added to cart.
0 items - $0.00