Racing Thoughts at Night and Can't Sleep? What to Do Right Now, in Bed
When racing thoughts keep you awake, don't try to force them out. Write each thought down in a few words, breathe slowly for a few minutes, and shift attention to something neutral. If you're still wide awake after roughly 20 minutes, get up, do something calm in dim light, and return to bed when sleepy.
It's past midnight. You've been lying in the dark for what feels like an hour, and your brain keeps serving up the same things: a deadline, a conversation, a vague sense that something is wrong. The harder you try to sleep, the louder it gets.
This guide is for that exact moment. Not the routine you should have done earlier, but what to do now, while you're already in bed with racing thoughts and can't sleep.
Why racing thoughts at night feel so intense
At night there are no other inputs competing for your attention. Every unresolved issue gets a clear stage, and your tired brain is less good at putting things in perspective.
In her 2002 cognitive model of insomnia, Allison Harvey described how pre-sleep worry and arousal feed each other. You worry, your body becomes more alert, you notice you're not sleeping, and that becomes one more thing to worry about. The aim tonight is to interrupt that cycle at whichever point you can reach.
There's also a reason "just stop thinking about it" fails. In the well-known "white bear" studies from 1987, Daniel Wegner and colleagues asked people not to think about a white bear. Those who tried to suppress the thought ended up thinking about it more afterwards, a rebound effect. Fighting your thoughts in bed can make them stickier.
What to do when you can't sleep because of racing thoughts
Work through these steps in order. Most nights you won't need all of them.
1. Stop checking the clock
Every glance at the time starts a calculation: "If I fall asleep now, I'll get five hours." That math adds pressure and arousal. Turn the clock away or put your phone face down out of reach. You don't need to know the time to fall asleep.
2. Park the thought instead of solving it
Keep a notepad and pen next to the bed. When a thought keeps returning, write it down in five words or fewer:
- "Call landlord about heating."
- "Reply to Sam's message."
- "Worried about Mom's test results."
Then say to yourself, "It's written down. I'll deal with it tomorrow." You're not solving anything at 1am. You're giving the thought a place to wait so your mind can stop holding it.
3. Label the thought, don't argue with it
Because suppression tends to backfire, try acknowledging instead. When a worry appears, give it a neutral label: "planning," "worrying about work," "replaying the meeting." Then return your attention to your breath or body. Labelling creates a little distance without turning the thought into a fight.
4. Slow your breathing
Breathe in gently through your nose for about four seconds and out for about six. Keep it soft, not forced. Continue for three to five minutes.
A 2018 systematic review by Zaccaro and colleagues found slow breathing linked with greater relaxation, more parasympathetic activity, and lower arousal. That targets the physical side of Harvey's cycle: a calmer body tends to make a calmer mind more likely.
5. Give your mind something neutral to hold
Racing thoughts need fuel. Offer a dull, non-emotional task instead:
- Body scan: move your attention slowly from your toes to your head, noticing sensations without changing them.
- Category game: pick a category (fruits, cities, animals) and name one for each letter of the alphabet, slowly.
- Mental walk: picture a familiar route, like walking from your front door to a local shop, in as much detail as you can.
These are engaging enough to crowd out worry but boring enough to let sleep creep in.
6. If you're still wide awake, get up for a while
If you've been awake for a long stretch, often described as about 20 minutes (estimate, don't check), get out of bed. Go somewhere dim and do something quiet: read a paper book, fold laundry, sit with a warm caffeine-free drink. Avoid screens and work. Go back to bed when you feel sleepy.
This keeps your bed associated with sleep rather than with lying awake and frustrated.
7. Go easy on yourself about the night
One rough night is uncomfortable, but it's rarely a disaster. A consensus statement from the American Academy of Sleep Medicine and Sleep Research Society (Watson et al., 2015) recommends that adults regularly get seven or more hours per night. The word "regularly" matters: what counts is your pattern over time, not a single night. Reminding yourself of that can lower the pressure that keeps you awake.
What not to do when you can't sleep
Some common reactions to racing thoughts tend to make things worse:
- Scrolling your phone. Bright light and new information give your mind more to process, not less.
- Trying to solve problems in bed. Your judgment is weaker at night, and worst-case thinking feels more convincing.
- Calculating hours of sleep left. This adds pressure and keeps you alert.
- Forcing yourself to sleep. Sleep usually comes when you stop chasing it. Aim to rest calmly instead.
Worked example: a 1am thought spiral
Here's how the steps might look in practice.
- The thought: "I made a mistake in the client presentation. What if they cancel the contract?"
- Park it: Write "Check slide 12 numbers, email client" on the notepad.
- Label it: "Worrying about work." Return to breathing.
- Breathe: Four seconds in, six seconds out, for a few minutes.
- Neutral task: Start the alphabet game with animals. Ant, bear, cat...
- Still awake? Get up, sit in the living room with a lamp on low, read a few pages, return when your eyes feel heavy.
Nothing about the client problem gets solved tonight, and that's the point. It's on paper, it has a next step, and it will still be there in the morning, when you'll handle it better.
A copy-and-use "can't sleep" card
Keep this by your bed:
CAN'T SLEEP? IN ORDER:
1. Turn the clock away.
2. Write the thought in 5 words. "It's parked."
3. Label it: planning / worrying / replaying.
4. Breathe: in 4, out 6, for 3–5 minutes.
5. Neutral task: body scan or alphabet game.
6. Still wide awake? Get up, dim light, quiet activity.
7. One night is not the whole pattern.
Preventing tomorrow night's racing thoughts
Once you're through tonight, it helps to address the evening before bed. A few minutes of writing, an earlier "worry window," and a consistent wind-down can reduce how often you end up here. Our guide on how to stop overthinking at night lays out a full evening routine, and the brain dump before bed method shows exactly what to write and how.
If you notice anxiety specifically spikes in the evening, read why anxious thoughts get worse at night. And for daytime moments when your mind speeds up, these quick ways to calm your mind take three minutes or less.
How unLooper can help
unLooper's Quiet Mind at Night is built for this moment. You do a quick bedtime brain-dump, and the app helps you sort tomorrow's worries from tonight's, so actionable items are set down for the morning. It then guides you through slow breathing and grounding to help you wind down, so you don't have to remember the steps when you're tired.
If one worry won't let go, the Overthinking Breaker is a guided session of about three minutes that separates fact from fear and ends on one small doable step. Your reflections stay on your device by default, and there are no ads. unLooper is a self-reflection tool, not a medical or diagnostic service.
When to get help
If racing thoughts keep you awake most nights, if poor sleep is affecting your daily life, or if your thoughts include harming yourself, talk to a doctor or a licensed mental health professional. In the US, you can call or text 988 to reach the 988 Suicide & Crisis Lifeline.
The bottom line
When your mind races in bed, don't fight it and don't try to fix your life at 1am. Park the thought on paper, label it, slow your breathing and give your attention something neutral. If sleep still won't come, get up for a while and try again. Tomorrow, your problems will be the same size, and you'll be better rested to handle them.
Frequently asked questions
Why does my mind race when I try to sleep?
When the day's distractions are gone, unfinished concerns get your full attention. Research on insomnia suggests that worry before sleep raises mental and physical arousal, which makes falling asleep harder and gives you more time to keep thinking.
Should I get out of bed if I can't sleep?
Many sleep specialists suggest getting up if you've been lying awake for a long stretch, often described as around 20 minutes, and doing something quiet in dim light until you feel sleepy. The idea is to keep your bed linked with sleep rather than with struggling.
Is it bad to try to block out thoughts at night?
Trying hard to suppress a thought can backfire. Classic research on thought suppression found that thoughts people tried to push away tended to rebound. It usually works better to acknowledge the thought, park it, and gently redirect attention.
How much sleep do I actually need?
A consensus statement from US sleep organizations recommends that adults regularly get seven or more hours per night. Needs vary slightly between people, so focus on how rested you feel over several days rather than on a single night.
Sources & further reading
- Harvey, A. G. (2002). A cognitive model of insomnia. Behaviour Research and Therapy, 40(8), 869–893. doi:10.1016/S0005-7967(01)00061-4
- Wegner, D. M., Schneider, D. J., Carter, S. R., & White, T. L. (1987). Paradoxical effects of thought suppression. Journal of Personality and Social Psychology, 53(1), 5–13. doi:10.1037/0022-3514.53.1.5
- Zaccaro, A., et al. (2018). How breath-control can change your life: A systematic review on psycho-physiological correlates of slow breathing. Frontiers in Human Neuroscience, 12, 353. doi:10.3389/fnhum.2018.00353
- Watson, N. F., et al. (2015). Recommended amount of sleep for a healthy adult: A joint consensus statement of the AASM and SRS. Sleep, 38(6), 843–844. doi:10.5665/sleep.4716
This article is for general information and self-reflection. It is not medical advice and does not replace a doctor or licensed mental-health professional.