Why Won't Your Brain Shut Off at Night?
Reviewed by Dr. Nicholas Gehle, Psy.D., licensed clinical psychologist (FL PY8489) · Updated
All day, your brain had a job. Meetings, messages, other people, noise. Then the lights go off, the room goes still, and for the first time in hours nothing is competing for your attention. So your mind fills the space. The conversation you should have handled differently. Tomorrow's list. A thing you said in 2019.
Short answer: you can't force a brain to stop thinking, but you can give it something else to do. If the looping starts in the dark, the cognitive shuffle (picturing random, boring things) might help. If it starts before bed, put it on paper an hour earlier. If your body is the loudest thing in the room, settle the body first with a long exhale.
A busy mind at bedtime doesn't by itself mean something is wrong with your brain. Unoccupied brains generate thoughts, and the dark bedroom is the one place where thinking has no competition.
Why "trying to sleep" makes it worse
Effort tends to backfire. One well-known model of insomnia describes how sleep gets disrupted when we start paying attention to it, intending it, and working at it (Espie et al., 2006). The harder you monitor whether you're drifting off, the more alert the monitoring can keep you.
That's also why "just stop thinking" rarely helps. Pushing a thought away takes effort, and cognitive models of insomnia treat that effortful mental activity as part of what keeps people awake (Harvey, 2002).
In bed: give your mind something boring to do
Instead of fighting the thoughts, you can occupy the channel they're using. In one study of 41 people with insomnia, those taught to keep their mind busy with an engaging imagery task fell asleep faster, and had fewer unwanted thoughts, than people given no instructions (Harvey & Payne, 2002).
A more structured version is the cognitive shuffle. The idea comes from cognitive scientist Luc Beaudoin, who calls it "serial diverse imagining" (Beaudoin, 2013). It has been studied far less than the other approaches on this page, so treat it as something to try rather than a proven fix. It goes like this:
- Pick a random, emotionally neutral word. Say "piano."
- Take the first letter, P, and picture something that starts with it. A pumpkin. Just see it for a few seconds. Don't build a story.
- Move on. Another P word. A paperclip. A pigeon. A porch.
- When P runs dry, move to I, and keep going.
The images are deliberately disconnected. The thinking behind it is that worry needs a coherent thread to run on, and a parade of unrelated pumpkins and paperclips gives it nothing to grab. Some people find their mind starts to drift within a few minutes. It won't feel powerful, and it's supposed to feel a bit pointless.
If you want it guided
In your head, the shuffle can drift: the pumpkin turns into pumpkin bread turns into the groceries turns into the budget. Strua's Cognitive Shuffle shows you one word every few seconds, so you don't have to generate them yourself. A session runs 5 to 15 minutes and is built for lying in the dark. It's free with a Strua account. No chatbot and no AI-generated advice.
Create a free account to use Cognitive Shuffle →Private by design: what you do in a tool stays on your device.
If the overthinking starts before you lie down: the worry dump, on paper
Lying in bed mid-loop is the hardest moment to intervene. An earlier move: give the worrying a scheduled place on paper before you lie down, so your brain doesn't have to hold it all night.
There's some reason to think writing it down matters. In one small sleep-lab study, people who spent five minutes before bed writing tomorrow's to-do list fell asleep faster than people who wrote about tasks they had already finished (Scullin et al., 2018). One study isn't a guarantee, but it fits cognitive models of insomnia that treat unfinished mental business as fuel for pre-sleep thought (Harvey, 2002).
About an hour before bed, sit somewhere that isn't your bed and take ten minutes:
- Write down everything circling: tasks, worries, half-thoughts, the email you owe someone. No order, no editing.
- For anything actionable, add one next step. Not the plan. Just the first move: "email Dana," "check the account."
- For the things you can't act on, the what-ifs and maybes, write them down anyway and mark them "not tonight's job."
- Close the notebook. Some people find the physical gesture helps mark the end of the day.
When the loop starts later in bed, you can answer it with something true: it's written down; nothing is being lost by sleeping.
If your body is the loudest thing in the room: start there, not with the thoughts
When anxiety is running high at bedtime, arguing with anxious thoughts tends to be a losing game; an activated body can keep supplying them. Many people find it works better to settle the body first.
One practical lever is your exhale. Slow breathing is associated with a shift toward the parasympathetic, "rest" side of the nervous system (Russo, Santarelli, & O'Rourke, 2017), and a systematic review of slow-breathing studies found similar patterns across settings (Zaccaro et al., 2018). None of this makes breathing a switch. It's a lever.
One pattern is 4-7-8 breathing: in through your nose for 4, hold for 7, out slowly through your mouth for 8, like fogging a window in slow motion. Four rounds to start. The counts matter less than the shape: exhale longer than you inhale, and don't strain. If the holds feel uncomfortable, shorten everything and keep the proportions.
The honest caveat: breathing exercises are not for everyone. If focusing on your breath has ever made your anxiety spike instead of settle, you're not imagining it (more in why breathing exercises don't work for anxiety). If that's you, skip the breathwork and use the shuffle above, or a muscle-based route like the tense-and-release practice in our guide to waking up anxious at night. A gentler, no-tensing option is a body scan.
When it's more than a bad night
A racing mind at bedtime is a common sleep complaint, and on its own it isn't a diagnosis. No technique works for everyone; if one route doesn't help tonight, try another. This page isn't a treatment for insomnia or an anxiety disorder, and a self-help tool supplements care rather than replacing it. If it's happening most nights for months and wearing down your days, that's worth raising with a clinician. For more ways in, see insomnia and sleepless nights: where to start. If you're in crisis in the US, you can call or text 988 anytime.
FAQ
Should I get out of bed instead?
Many sleep clinicians suggest leaving the bed briefly if you've been fully awake and frustrated for a long stretch, so the bed stays paired with sleep rather than struggle. This is the idea behind stimulus control (Bootzin, 1972).
Won't writing my worries down make me think about them more?
For most people, briefly and on purpose beats endlessly and in bed. Some people do find open-ended journaling stirs things up, which is why the structure (one next step, "not tonight's job") matters. If writing reliably makes things worse for you, use the shuffle or the breathing instead.
Why is my anxiety only at night?
One common reason is that night is the first unguarded moment of the day: fewer demands, fewer distractions, more attention on the body, so you notice what was there all along. If it's new, severe, or paired with physical symptoms that worry you, get it checked.
References
- Beaudoin, L. P. (2013). The possibility of super-somnolent mentation: A new information-processing approach to sleep-onset acceleration and insomnia exemplified by serial diverse imagining. Simon Fraser University, MERP Report No. 2013-03.
- Bootzin, R. R. (1972). Stimulus control treatment for insomnia. Proceedings of the American Psychological Association, 7, 395–396.
- Espie, C. A., Broomfield, N. M., MacMahon, K. M. A., Macphee, L. M., & 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://doi.org/10.1016/j.smrv.2006.03.002
- Harvey, A. G. (2002). A cognitive model of insomnia. Behaviour Research and Therapy, 40(8), 869–893. https://doi.org/10.1016/S0005-7967(01)00061-4
- Harvey, A. G., & 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://doi.org/10.1016/S0005-7967(01)00012-2
- Russo, M. A., Santarelli, D. M., & O'Rourke, D. (2017). The physiological effects of slow breathing in the healthy human. Breathe, 13(4), 298–309. https://doi.org/10.1183/20734735.009817
- Scullin, M. K., Krueger, M. L., Ballard, H. K., Pruett, N., & Bliwise, D. L. (2018). The effects of bedtime writing on difficulty falling asleep: A polysomnographic study comparing to-do lists and completed activity lists. Journal of Experimental Psychology: General, 147(1), 139–146. https://doi.org/10.1037/xge0000374
- Zaccaro, A., Piarulli, A., Laurino, M., Garbella, E., Menicucci, D., Neri, B., & Gemignani, A. (2018). How breath-control can change your life: A systematic review on psycho-physiological correlates of slow breathing. Frontiers in Human Neuroscience, 12, 353. https://doi.org/10.3389/fnhum.2018.00353