You turn the light off, your body is ready for sleep, and your brain decides this is the perfect moment to review tomorrow's meeting, an email you never answered and something awkward you said in 2014. Racing thoughts at night are one of the most common reasons people lie awake, and the usual advice to "clear your mind" doesn't help much, because nobody can clear their mind on command.
What does help is giving those thoughts somewhere to go and giving your attention something better to hold. Below are six approaches that have been tested in sleep research, what each study actually found, and a short routine you can try tonight.
- Bedtime worry, especially about unfinished tasks, is a well-documented cause of difficulty falling asleep.
- Writing a specific to-do list for five minutes before bed helped people fall asleep faster in a sleep-lab study.
- Working through worries earlier in the evening, with possible next steps, lowered pre-sleep arousal in people with insomnia.
- Pushing a thought away tends to bring it back. Swapping it for a specific, absorbing image works better.
- If you've been awake for a long time, getting up for a while is better than wrestling with your thoughts in bed.
Why your mind races at night
During the day your attention is busy with work, conversations, screens and errands. When you lie down in a dark, quiet room, all of that disappears, and whatever you haven't finished thinking about moves into the space. Unfinished tasks are especially sticky. Researchers at Baylor University describe bedtime worry, "including worrying about incomplete future tasks," as a significant contributor to difficulty falling asleep (Scullin et al., 2018).
There's a second loop on top of the first. Once you notice you're still awake, you start thinking about being awake: how many hours are left, how tired you'll be, whether this is going to happen again tomorrow. That adds pressure, and pressure is the opposite of what sleep needs. We wrote more about this in why trying harder to sleep keeps you awake.
So the goal is to take the unfinished business out of your head before bed and give your mind something calm and specific to do once you're lying down. The six approaches below each work on one of those two jobs.
1. Write a specific to-do list before bed
If the thoughts that keep you up are mostly about things you need to do, put them on paper before you turn the light off.
In the Baylor study, 57 healthy young adults spent five minutes before bed in a sleep lab writing either a to-do list for the next few days or a list of things they'd already finished. The to-do list group fell asleep significantly faster, as measured by brain activity rather than by how fast they thought they fell asleep. The more specific their list, the faster they fell asleep (Scullin et al., 2018).
Make the list specific. "Email Priya about the budget numbers before 10" works better than "work stuff", because a vague item still leaves your brain holding the details. We cover the method in more depth, including what to write and what to leave off, in writing a worry list before bed.
What the research says. This was one study of young adults without sleep problems, so treat it as a promising, cheap thing to try rather than a guaranteed fix. It's still one of the few bedtime-writing studies that measured sleep in a lab instead of asking people afterwards.
2. Deal with worries earlier in the evening
Plenty of worries are problems you can't solve tonight, such as a difficult conversation coming up, money or a health question, and a to-do list doesn't quite hold them. For those, a technique called constructive worry moves the thinking to earlier in the evening, when you're upright and not trying to sleep.
In a study at Duke, 33 college students with insomnia spent five nights doing one of two things before bed: writing down their worries along with possible next steps, or writing down worries and filling in worry questionnaires. The group that wrote possible solutions had lower pre-sleep cognitive arousal, both compared with the other group and with their own starting point (Carney & Waters, 2006). A later pilot trial sent university students self-help instructions for constructive worry by email, and their worry, pre-sleep arousal and sleep all improved compared with the week before (Digdon & Koble, 2011). That trial was small and had no untreated comparison group, but it points the same way.
To try it, sit down a couple of hours before bed with a sheet of paper and draw two columns. On the left, write each thing that's bothering you. On the right, write the next small step you could take, even if that step is "ask someone" or "decide on Friday". Then fold the paper and put it away. If the worry shows up in bed later, you can remind yourself that it already has a plan and a time. If worries tend to follow you through the whole day, worry postponement takes the same idea further by giving them one fixed half hour.
3. Give your mind a specific picture to hold
Telling yourself to "think about something else" is too vague to work for long. Giving yourself a detailed, pleasant scene to build in your head works better.
Researchers at Oxford gave 41 people with insomnia one of three sets of instructions for a night: distract yourself with an engaging imagery task, distract yourself in general, or no instructions. The imagery group fell asleep faster and had fewer and less distressing unwanted thoughts than the group with no instructions (Harvey & Payne, 2002). The authors think the imagery took up enough mental space that the worries couldn't get back in.
Pick a scene that's interesting enough to hold your attention and has no stakes. Some ideas:
- Walk slowly through a house you lived in as a child, room by room, noticing what was on each shelf.
- Plan a garden in detail: where the path goes, what grows along it, what the gate looks like.
- Picture a long walk you know well and try to recall each turn and what you'd see.
If you drift off in the middle, that's the point.
4. Stop trying to push the thoughts away
When a worry keeps coming back, the natural response is to try not to think about it. That usually makes it come back more often.
In the well-known "white bear" experiments, people who were told not to think about a white bear for five minutes kept thinking about it, and afterwards they thought about it more than people who'd been allowed to think about it from the start. In a second experiment, people who were given a specific thing to think about instead were less likely to be preoccupied with the bear later (Wegner et al., 1987). That's another reason the imagery in step 3 works better than willpower.
A gentler approach is to notice the thought, label it ("that's the work thing again"), and let it sit there while you return to your scene or your breathing. You're allowed to have the thought. You don't have to solve it tonight.
5. Get up if you've been awake a long time
If you've been lying there for what feels like a long while and your mind is busier than when you started, get out of bed. Go to another room with dim light and do something quiet and dull: read a paper book, fold laundry, listen to something calm. Go back to bed when you feel sleepy.
This is part of a technique called stimulus control, which the American Academy of Sleep Medicine suggests as a treatment for chronic insomnia (Edinger et al., 2021). The idea is that your bed should become a place where you sleep, not a place where you lie awake and argue with your thoughts. Try not to check the clock while you do it, since counting the minutes adds to the pressure. If you wake in the small hours and everything suddenly looks worse, why everything feels worse at 2 a.m. explains what's going on.
6. Make sleep matter less tonight
This sounds backwards, but trying hard to fall asleep can keep you awake when your mind is busy. In one experiment, people listening to stimulating march music who were told to fall asleep as fast as possible took longer to fall asleep than people who were told to fall asleep whenever they liked (Ansfield, Wegner & Bowser, 1996).
You can't force sleep, so aim for rest instead. Lying in the dark with your eyes closed while your mind wanders through a calm scene is useful even before you fall asleep, and telling yourself that takes some of the pressure off. The sleep effort article explains why this works and includes a few ways to practice it.
A 10-minute routine for tonight
If you want one thing to try, here's a version that combines the steps above:
- Earlier in the evening: spend five minutes on the two-column worry sheet for anything that's bothering you, then put it away.
- Just before bed: write a specific to-do list for tomorrow. Leave it outside the bedroom.
- In bed: pick your scene and start walking through it slowly, in as much detail as you can.
- When a worry shows up: label it, remind yourself it's on the list, and go back to the scene.
- If you're still wide awake after a long while: get up, do something quiet in dim light, and come back when you're sleepy.
Give it a week or so before deciding whether it works for you, since any one night can be good or bad for reasons that have nothing to do with the routine.
Where Nightjar fits. Nightjar is built around the first and third steps. You write down what's keeping you up, the note is sealed in a jar until morning, and the app plays a sleep story that gives your mind a calm scene to follow. It's one way to do this routine without having to come up with the scene yourself.
When racing thoughts need more than a routine
Everyone has nights like this. If racing thoughts keep you awake most nights for several weeks, or they come with anxiety that follows you through the day, talk to a doctor. Chronic insomnia has a well-established treatment, cognitive behavioral therapy for insomnia (CBT-I), which the American Academy of Sleep Medicine strongly recommends (Edinger et al., 2021). A doctor can also check for other causes.
Frequently asked questions
Why won't my brain shut off at night?
Mostly because nothing else is competing for your attention. During the day, tasks and conversations crowd out unfinished worries. In a dark, quiet bedroom they finally get the stage, and noticing that you're still awake adds a worry of its own.
I can't sleep because I'm overthinking. What should I try first?
Start with the smallest step: a five-minute brain dump before bed that ends as a specific to-do list, then a calm, detailed scene to walk through once the light is off. If you're still wide awake after a long while, get up for a bit rather than arguing with your thoughts in bed.
Is it better to write thoughts down or try to ignore them?
Research leans toward writing them down. Trying to suppress a thought tends to bring it back, while writing a specific to-do list or a worry-and-next-step sheet before bed gives the thought somewhere to go.
How long should I lie in bed with racing thoughts before getting up?
There's no exact number, and watching the clock makes things worse. If you notice that you've been awake for what feels like a long time and your mind is getting busier rather than calmer, that's a good moment to get up for a while.
Nightjar is a relaxation aid, not medical care. If sleep problems last for weeks or affect your days, talk to a doctor.


