Cognitive Shuffling: How to Quiet a Racing Mind at Night

Amber Murphy
Content Writer • Updated Sep 29, 2026 • 8 min read
Start meditating
A warm bedside lamp glowing beside an empty bed in a dark, quiet bedroom at night.
TL;DR

Cognitive shuffling is a fall-asleep technique where you picture a rapid stream of random, unrelated objects to crowd out anxious thoughts. Pick a neutral word, then imagine something for each letter. It quiets a busy mind, but it won't fix real insomnia.

It’s late. You’re lying there with your eyes closed, doing everything right, and your brain decides now is the perfect time to replay a conversation from 2019 and draft tomorrow’s to-do list at the same time. The harder you try to shut it off, the louder it gets. If that’s you most nights, cognitive shuffling is worth a try, and it’s the one bedtime trick I’ve seen go viral that actually has some real thinking behind it.

The idea is almost silly on the surface: instead of fighting your racing thoughts, you flood your mind with a stream of random, boring, unrelated images until it loses the thread and drifts off. It sounds too simple to work. But there’s a reason it does something, and it’s the same reason the “just clear your mind” advice never has.

I want to be honest with you from the start, because that’s the part most of the breathless coverage skips. Cognitive shuffling is a genuinely useful tool for a busy mind at bedtime. It is not a cure for insomnia, and the research behind it is younger and thinner than the headlines suggest. I’ll show you exactly how to do it, why it works, what the studies actually found, and when you need something more.

What Cognitive Shuffling Is

Cognitive shuffling is a mental technique for falling asleep. You deliberately imagine a series of random, unconnected objects, one after another, with no story linking them. A cloud. A shoelace. A pineapple. A doorknob. You picture each one for a few seconds, then let it go and move to the next.

The technique was developed by Dr. Luc Beaudoin, a cognitive scientist at Simon Fraser University, who built it while wrestling with his own trouble sleeping. He called the formal version “serial diverse imagining,” which is a precise if unlovely name for it. The point is right there in the phrase: a series of images that are as diverse and disconnected from each other as possible.

That diversity is the active ingredient. Your worried, planning brain runs on narrative. It wants the next thought to connect to the last one, which is how a single worry becomes a two-hour spiral. A random stream of unrelated objects gives it nothing to build on. There’s no plot to follow, so there’s nothing to keep you awake.

How to Do Cognitive Shuffling

Here’s the version I’d start with. It gives your mind a simple rule to follow so you’re not lying there trying to invent randomness, which is its own kind of effort.

  1. Pick a random, emotionally neutral word. Something plain works best. “Blanket,” “garden,” “letter.” Avoid anything loaded or exciting.
  2. Take the first letter of that word. For “blanket,” that’s B.
  3. Picture, one at a time, several unrelated things that start with that letter. Bicycle. Balloon. Bee. Bridge. Spend a few seconds actually seeing each one, then drop it and move to the next.
  4. When you run out of images for that letter, move to the next letter of your word. L: lamp, lion, ladder, lemon.
  5. Keep going, letter by letter, image by image, at a slow and unhurried pace.

A warm bedside lamp lighting a nightstand in a dark bedroom.

If you lose track of which letter you were on, forget your starting word, or find your images going strange and dreamlike, you’re doing it exactly right. Those are signs your mind is loosening its grip on waking logic. And if you fall asleep partway through, well, that was the whole idea. You’re not trying to finish the exercise. You’re trying to bore yourself gently across the border into sleep.

A few things that help: keep the images concrete and ordinary, not abstract concepts. Don’t judge whether you’re “doing it well.” And if a real worry muscles its way in, don’t wrestle with it, just return to your next random object the way you’d return to the breath in a meditation.

Why It Works

For years the standard advice for a racing mind was to clear it, which is a bit like being told to not think of a white bear. The cognitive model of insomnia, laid out by psychologist Allison Harvey in 2002, explains why that backfires. Harvey showed that what keeps many people awake isn’t a lack of tiredness, it’s cognitive arousal: worry, rumination, and monitoring your own failure to sleep, which spins up the nervous system and holds sleep at arm’s length (Harvey, 2002, Behaviour Research and Therapy). The thinking itself is the problem. Trying harder to stop thinking is more thinking.

Cognitive shuffling works by giving that restless mental machinery a harmless job. Instead of a void it can’t maintain, you hand it a task that occupies the same channel it would use for worrying, but with content that carries no emotional charge and goes nowhere. This is called cognitive distraction, and it has better evidence behind it than the technique’s recent fame would suggest. In a 2002 study, Harvey and Payne took 41 people with insomnia and gave some of them an engaging imagery task to focus on at bedtime. The imagery group fell asleep faster than people given no instructions, and rated their pre-sleep worries as less distressing (Harvey & Payne, 2002, Behaviour Research and Therapy). Occupying the mind with images beat leaving it to its own devices.

There’s a second piece. As you drift toward sleep, your brain naturally produces short, fragmented, nonsensical images, the flickers people call microdreams or hypnagogic imagery. A mind about to fall asleep already thinks in exactly this loose, disconnected way. Cognitive shuffling essentially imitates that state on purpose, feeding your brain the kind of scattered imagery it makes on its own at the edge of sleep. You’re not forcing sleep. You’re impersonating its early stages until the real thing takes over.

What the Research Actually Shows

Here’s where I’ll be straight with you, because the coverage rarely is. The idea that quieting cognitive arousal helps you sleep is well established. The specific evidence that this technique delivers is real but early.

The main study people point to came from Nicole Digdon and Luc Beaudoin, first presented in 2015. They randomly assigned 154 college students to a bedtime routine, to the cognitive shuffle, or to both. The students using the shuffle were more likely to report better sleep quality, less difficulty falling asleep, and lower pre-sleep arousal. That’s a genuinely encouraging result, and it’s the direct test of the technique.

Moonlight glowing softly through a window at night, with leaf shadows on the glass.

But notice what it is: one study, in mostly young female university students, relying on their own reports of how they slept rather than objective sleep tracking. That’s a promising start, not a settled science. There’s no large clinical trial in people with diagnosed insomnia showing cognitive shuffling matches established treatments. So the honest summary is this: the mechanism is sound and the early data is favorable, which is a good bet for a technique that costs nothing and carries no risk. Just don’t expect it to behave like a prescription. If it doesn’t work for you the first few nights, that’s normal, and it doesn’t mean you’ve failed at sleep.

When Cognitive Shuffling Won’t Help

Cognitive shuffling is aimed at one specific problem: a mind too busy to let you drift off. When that’s what’s keeping you up, it can be a small gift. When something else is going on, it’s the wrong tool.

If your body is wired and tense rather than your mind chattering, if you feel physically alert and on edge, a technique that occupies your thoughts may not reach the arousal that’s the real issue. In that case a body-based approach like progressive muscle relaxation or slow breathing often does more, because it works on the physical side of the equation. And if your nights are ruled by dread about sleep itself, the anxious loop of watching the clock and fearing another bad night, that’s sleep anxiety, and it usually needs the sleep-effort paradox addressed directly, not just a distraction.

Most importantly, cognitive shuffling is not a treatment for chronic insomnia. If you’ve had trouble sleeping most nights for three months or more, or your sleep is wrecking your days, the first-line treatment is cognitive behavioral therapy for insomnia (CBT-I), which is more effective and longer-lasting than any single trick or, for that matter, sleeping pills. A mental exercise you found online is not a substitute for that, and persistent insomnia is worth raising with a doctor, who can also rule out conditions like sleep apnea that no amount of imagery will fix. Use cognitive shuffling for the ordinary busy-brain nights. Get real help for the rest.

Cognitive Shuffling or a Guided Meditation?

If cognitive shuffling clicks for you, here’s something worth knowing: you’ve basically been doing a form of informal meditation. Redirecting your attention, gently and without judgment, away from a runaway train of thought and back to a neutral anchor is the core move of mindfulness. The shuffle just uses random images as the anchor instead of the breath.

That’s why, if the self-directed version feels like too much to manage when you’re exhausted, a guided practice can carry the same load with less effort from you. Instead of generating your own stream of images, you follow a voice that does the steering, which is often easier at midnight than running the exercise yourself. It’s the same principle behind other structured wind-down techniques, from a body-based fall-asleep method to a proper routine for overthinking at night. If you’d rather follow along than run a mental exercise solo, there’s a library of guided sleep meditations in the Declutter The Mind app built for exactly this, the restless-mind-at-bedtime problem, with no music, no mysticism, just a calm voice giving your attention somewhere to rest. For more on the groundwork, our guide on how to fall asleep covers the habits that make any of these techniques work better.

Whichever route you take, the underlying skill is the same, and it’s a learnable one: letting the day’s thinking go so sleep has room to arrive.

Frequently Asked Questions

What is cognitive shuffling?

Cognitive shuffling is a mental technique for falling asleep, developed by cognitive scientist Dr. Luc Beaudoin. Instead of fighting a racing mind, you deliberately imagine a stream of random, unrelated, emotionally neutral objects, one after another, which gives your worried brain nothing to build on and lets sleep take over.

How do you do cognitive shuffling to fall asleep?

Pick a random neutral word, like “blanket.” Take its first letter and picture several unrelated things that start with it, a few seconds each: bicycle, balloon, bee, bridge. When you run out, move to the next letter and keep going slowly. Losing track or drifting off means it’s working.

Does cognitive shuffling actually work?

The mechanism is well supported: occupying the mind with neutral imagery reduces the cognitive arousal that keeps people awake, and imagery distraction has been shown to shorten how long it takes to fall asleep. The direct evidence for cognitive shuffling itself is promising but early, based mainly on one small study in students.

Is cognitive shuffling good for insomnia?

It can help on ordinary nights when a busy mind is the problem, but it is not a treatment for chronic insomnia. If you’ve slept poorly most nights for three months or more, the first-line treatment is cognitive behavioral therapy for insomnia (CBT-I), and persistent insomnia is worth raising with a doctor.

What’s the difference between cognitive shuffling and counting sheep?

Counting sheep is repetitive and monotonous, which many people find too dull to hold their attention, so their mind wanders back to worries. Cognitive shuffling uses constantly changing, unrelated images instead, which occupies the mind more fully while still carrying no emotional charge or storyline to keep you awake.

Amber Murphy

Amber is the content manager and outreach specialist at Declutter The Mind. She enjoys yoga, MMA, and of course, meditation!

Less reading.
More meditating.

Start meditating