You cannot switch your brain off on command, and trying is part of what keeps it on: a 2006 review by Colin Espie and colleagues argues that sleep is a largely automatic process disrupted by close attention and by effort to make it happen. Learning how to turn off your brain so you can sleep starts with sorting what is still running. An open task needs a specific line on tomorrow's list. An open problem needs a written next step, done early in the evening: in a 2006 study by Colleen Carney and William Waters, students with insomnia who wrote possible solutions to their worries had lower pre-sleep arousal than those who only wrote the worries down. Once you are in bed, a specific and engaging imagined scene helped people with insomnia fall asleep sooner in a 2002 study by Allison Harvey and Suzanna Payne. Watching the clock does the opposite, because every check is a report to the part of you that worries about sleep.
On this page+
Learning how to turn off your brain so you can sleep starts with accepting there is no switch, and that the effort of trying keeps it on. What works is finding what is still running (an unfinished task, an unsolved problem, or a watch on sleep itself) and giving each one its own exit, mostly in the hour before bed.
You know the scene. The light goes off, the day goes quiet, and your mind picks up exactly where it left off at four in the afternoon: the email you did not send, the conversation you keep rewriting. Underneath it runs the arithmetic: if I fall asleep now, I get six hours.
Most advice answers this with a list of ways to relax. Relaxing helps the body, but it does not tell the thoughts anything, and the thoughts are what came to bed with you.
Why can't you turn your brain off at night?
You can't turn your brain off at night because sleep is not something you switch on, and the attempt to switch it on is itself a kind of alertness. Colin Espie and colleagues at Glasgow argued in a 2006 review that normal sleep is a largely automatic process, and that it is disrupted by two things in particular: paying close attention to it and trying to make it happen.1 Allison Harvey's 2002 cognitive model of insomnia describes the same trap from the other side. Worry about sleep and about the cost of losing it raises arousal, the raised arousal makes you watch for signs that sleep is not coming, and what you find feeds the worry.
Night is also simply when the backlog arrives. All day, something else had your attention: work, other people, a screen. In the dark there is no competition, so every open item gets its turn. That is why pre-sleep arousal so often feels like a mind that has saved everything up for the one moment you need it to be quiet.
So the question to ask is not how to stop thinking. It is what, specifically, your brain still thinks it is responsible for.
What is actually keeping your brain on?
Usually one of three things, and they need different handling. When people tell us their brain won't stop, they describe it as one noise. Once the thoughts are written down, it is nearly always two or three different kinds of thought taking turns, and each one is asking for something different.
What is running
What it sounds like
What it needs
The exit
When
An open task
"Don't forget to..."
Somewhere safer to live than your memory
A specific line on tomorrow's list
Before bed
An open problem
"What am I going to do about..."
A next step, even a small one
One written next step and a time
Early evening
A watch on sleep
"It's 1:40, I'll be wrecked"
Nothing to measure
Stop measuring
In bed
Leftover drift
Replays, half-images
Something better to hold
A specific, engaging scene
In bed
The first three are why you cannot turn your brain off at night. The fourth is what remains after they are handled, and it is the only one a relaxation tip was ever built for.
The useful part of this sort is that each kind of thought can be dealt with in its own place. A task wants a list. A problem wants a decision about the next step. A watch on sleep wants you to stop feeding it numbers. Treat all three as "racing thoughts" and you end up breathing slowly at a problem that is still waiting for an answer.
How to turn off your brain so you can sleep when it is a problem
Give the problem a next step in writing, early in the evening, so it has nothing left to ask you at midnight. Of everything here, this idea has the most direct test behind it.
Colleen Carney and William Waters ran it in 2006 with 33 college students who reported insomnia.3 After two baseline nights, one group spent five evenings writing down their worries and filling in worry questionnaires. The other group, the "constructive worry" group, wrote down possible solutions to their worries instead. The solutions group went to bed with lower pre-sleep cognitive arousal, both compared with the worry group and compared with their own baseline nights.
The detail that matters is the comparison group. Its members also wrote their worries down. Writing the worry was not enough. What changed things was the extra step of answering it: here is what I could do, and here is when.
That is a small study, of students rather than people with long-running insomnia, and it measured how busy minds felt at bedtime rather than hours slept. It still makes a point the usual tip lists skip. Nighttime anxiety about a real problem is the mind asking a question it has not been given an answer to, so it asks again.
A next step does not have to solve the problem. "Ask Sam on Thursday whether the deadline can move" is enough, because it moves the problem out of the night and into a day and a time.
If you cannot find any next step, the worry may be a hypothetical one, a what-if with nothing to act on. That kind needs different handling, which we set out in practical versus hypothetical worries.
The question under each P is the part that does the work, and it is the part people skip when they do this alone. It is also how a session runs in Inwitt AI, an AI thinking partner app: it asks one question about the problem at a time, writes only what you confirm onto a thinking board, and ends with a session receipt that holds your next steps in your own words. The steps are written down somewhere, so your memory no longer has to keep them overnight.
What about the things you need to remember?
Put them on a list before bed, and make each line specific enough to act on. A task kept in your head comes back at night because you have not told your brain where else it can live. We covered the sleep-lab study on this, and why "sort out work" does not count as a list item, in a five-minute list before bed.
One kind of task deserves its own line: the decision you have not made. "Do I take the job?" behaves like a task (you know you have to do it) and like a problem (you do not yet know the answer), and it keeps coming back all day as well as at night. If that is what is keeping you up, write down the decision and the date you will make it. We explained why open choices are so tiring in the drain of decisions left open. A date does not settle the choice, but it gives the choice somewhere to wait.
What do you do with racing thoughts at night once you are in bed?
Give your mind one specific, engaging scene to build, not a general instruction to think about something else. Allison Harvey and Suzanna Payne tested this in 2002 with 41 people with insomnia.4
On the test night, one group had been briefly trained to choose and build an interesting, engaging imagery task. A second group was simply told to distract themselves. A third got no instructions. The imagery group fell asleep sooner and reported fewer and less distressing unwanted thoughts than the group with no instructions. The authors had expected the general instruction to backfire; it did not, but the clear gain belonged to the imagery group.
Their explanation is that a rich image takes up enough mental room to stop you drifting back to the worries, and that it gives the mind a specific thing to do rather than a thing not to do. "Don't think about work" names work. "Walk through your grandmother's kitchen and notice where each thing is kept" names something else entirely.
Cognitive shuffling, which appears on most pages about racing thoughts at night, works along similar lines: you picture a string of random, unconnected, neutral things, one after another, until you fall asleep. It is plausible and harmless, but the published evidence for it so far is thin, mostly a single conference presentation. The imagery approach has the stronger trial behind it.
Both methods share one limit: they help with leftover drift. If the thought pulling you out of the scene is an open problem, it will keep winning, which is why the evening sort comes first.
Why does trying to sleep keep you awake?
Because effort and attention are exactly what Espie's group found disrupt an automatic process.1 When you try to shut your brain off, you check whether it has worked, and checking is alertness. Every glance at the clock and every sum of the hours left is a small report on how badly things are going, and Harvey's model predicts what follows: the report raises the worry, and the worry raises the arousal.2
So the part of how to turn off your brain so you can sleep that sounds backwards is this: drop the goal of falling asleep for the goal of lying still and resting. It sounds like a trick, but it removes the measurement. Turn the clock to face the wall and stop counting.
If an S thought arrives ("I'll be useless tomorrow"), say the sentence you wrote earlier back to it, something like "one short night has happened before and I managed." Then go back to the scene.
Sleep comes to a brain with nothing left on duty, not to one that has been ordered to stop.
If you have been lying awake a long time and are getting more wound up, getting up to do something dull in dim light until you feel sleepy is standard advice in insomnia treatment. The aim is the same as everything else here: the bed stops being the place where the struggle happens.
What only feels like it helps?
Some habits feel like progress at 1am and make the next night worse.
Solving it in bed. The thought is real, so it feels responsible to deal with it now. At 1am your judgment is at its worst and nothing can be acted on until morning. Write the next step, then stop.
Writing the worry down and nothing else. Better than nothing, but in Carney and Waters' study this was the comparison group. The list of worries without next steps is a list of open loops.
Pushing the thought away. Telling yourself not to think about something keeps it close, which we explained in what happens when you push a thought away. Replace it with a scene rather than a blank.
The phone as a wind-down. It does fill the mind, but it fills it with new material, and the screen in your hand also tells you the time.
Counting the hours left. Each sum is a fresh report to the part of you that watches sleep. Nobody falls asleep faster by knowing exactly how late it is.
Questions people ask about switching off at night
Is it normal that I can't turn my brain off at night?
Yes. Most people have nights when their mind is busy at bedtime, especially during stressful weeks or before big events, including good ones. It becomes worth taking seriously when it happens most nights, goes on for weeks, and leaves you struggling during the day.
Does counting sheep work?
Not reliably. A dull, repetitive task leaves plenty of room for the worries to slip back in. In Harvey and Payne's study the clear benefit came from a specific, interesting scene, not from a general instruction to distract yourself.4 A detailed scene you have to build holds attention better than a number does.
Does a worry appointment help with sleep?
It can. Setting a fixed time earlier in the day to think about your worries, and postponing them until then, has trial evidence behind it for both worry and sleep. We went through how to run one in postponing a worry until tomorrow. It pairs well with the evening sort: the appointment takes the worries, and the sort makes sure each one leaves with a next step.
When should you see a doctor about not sleeping?
See a doctor or sleep specialist if you lie awake most nights for weeks, if poor sleep is affecting your work, mood or safety, or if you snore heavily, stop breathing in your sleep or act out dreams. Long-running insomnia has a well-established talking treatment, cognitive behavioral therapy for insomnia (CBT-I), and nothing written here is a substitute for it.
The evening sort works because each thought gets asked one question and leaves with an answer you wrote yourself. A session does the same thing on a larger scale: one question at a time about the problem you keep taking to bed, a board you can see, and a receipt that keeps the next steps safe so you do not have to. If you want to try it, join the Inwitt waitlist.
Footnotes
Espie, C. A., Broomfield, N. M., MacMahon, K. M., Macphee, L. M. and Taylor, L. M. (2006). The attention-intention-effort pathway in the development of psychophysiologic insomnia: a theoretical review. Sleep Medicine Reviews, 10(4), 215-245. https://pubmed.ncbi.nlm.nih.gov/16809056/↩↩2
Carney, C. E. and Waters, W. F. (2006). Effects of a structured problem-solving procedure on pre-sleep cognitive arousal in college students with insomnia. Behavioral Sleep Medicine, 4(1), 13-28. https://pubmed.ncbi.nlm.nih.gov/16390282/↩
Harvey, A. G. and Payne, S. (2002). The management of unwanted pre-sleep thoughts in insomnia: distraction with imagery versus general distraction. Behaviour Research and Therapy, 40(3), 267-277. https://pubmed.ncbi.nlm.nih.gov/11863237/↩↩2