How You Think in Bed Affects How You Sleep
It turns out people who sleep well and those who sleep poorly have different kinds of thoughts before bed.They may have less ordered thoughts and more hallucinatory experiences, such as imagining they’re participating in events in the real world.
For people with insomnia, pre-sleep thoughts tend to be less visual and more focused on planning and problem-solving. These thoughts are also generally more unpleasant and less random than those of good sleepers.
People with insomnia are also more likely to stress about sleep as they’re trying to sleep, leading to a vicious cycle; putting effort into sleep actually wakes you up more.
Unfortunately, all this pre-sleep mental activity can prevent you drifting off.
The good news is there are techniques you can use to change the style and content of your pre-sleep thoughts. They could help reduce nighttime cognitive arousal or replace unwanted thoughts with more pleasant ones. These techniques are called “cognitive refocusing.”

What Is Cognitive Refocusing?
Cognitive refocusing, developed by U.S. psychology researcher Les Gellis, involves distracting yourself with pleasant thoughts before bed. It’s like the “fake scenarios” social media users post about—but the trick is to think of a scenario that’s not too interesting.Decide before you go to bed what you’ll focus on as you lie there waiting for sleep to come.
Pick an engaging cognitive task with enough scope and breadth to maintain your interest and attention—without causing emotional or physical arousal. So, nothing too scary, thrilling, or stressful.
For example, if you like interior decorating, you might imagine redesigning a room in your house.
If you’re a football fan, you might mentally replay a passage of play or imagine a game plan.
A music fan might mentally recite lyrics from their favorite album. A knitter might imagine knitting a blanket.
Whatever you choose, make sure it’s suited to you and your interests. The task needs to feel pleasant, without being overstimulating.
Cognitive refocusing is not a silver bullet, but it can help.
How Ancient Wisdom Can Help Us Sleep
Another age-old technique is mindfulness meditation.Meditation practice can increase our self-awareness and make us more aware of our thoughts. This can be useful for helping with rumination; often when we try to block or stop thoughts, it can make matters worse.
Mindfulness training can help us recognize when we’re getting into a rumination spiral and allow us to sit back, almost like a passive observer.
Try just watching the thoughts, without judgement. You might even like to say “hello” to your thoughts and just let them come and go. Allow them to be there and see them for what they are: just thoughts, nothing more.

What Can Help Ease Your Pre-Sleep Thoughts?
Good sleep starts the moment you wake up. To give yourself your best shot at a good night’s sleep, start by getting up at the same time each day and getting some morning light exposure (regardless of how much sleep you had the night before).Have a consistent bedtime, reduce technology use in the evening, and do regular exercise during the day.
If your mind is busy at bedtime, try cognitive refocusing. Pick a “fake scenario” that will hold your attention but not be too scary or exciting. Rehearse this scenario in your mind at bedtime and enjoy the experience.
- Keeping a consistent bedtime routine, so your brain can wind down.
- Writing down worries earlier in the day (so you don’t think about them at bedtime).
- Adopting a more self-compassionate mindset (don’t beat yourself up at bedtime over your imagined shortcomings!).