Nights
Mind racing at night? Give your brain a count to follow
Mind racing at night when you're trying to sleep? Why thoughts get loud in the dark, how counting breaths gives them a job, and what to do if relaxing backfires.

The short answer
With your mind racing at night, arguing with the thoughts rarely works. Give your mind a small, dull job instead. Breathe softly and count each out-breath from one to ten, then start again at one. If you lose count, that is fine: begin again. A slow box breath or a long out-breath can also help. If watching your breath makes you more tense, stop and breathe normally.
Try it now, with Hummy
Box breathing
4 in, 4 hold, 4 out, 4 rest
Up is in, flat is a hold, down is out. The dot moves at the real pace.
Holds are optional. If a hold feels tight, skip it and keep the slow count.
Lying in the dark with your mind racing at night is tiring in a way that is hard to explain. Your body is ready for sleep, but your head keeps replaying the day, rehearsing tomorrow and checking how long is left until the alarm. If you have ever typed “cant sleep racing mind” or “cant sleep racing thoughts” into your phone at 1 am, you are far from alone.
This note explains why thoughts get loud at bedtime, how a simple breath count gives them somewhere to go, and what to do if relaxing makes you feel worse. To follow a slow, steady count now, press Breathe with Hummy above: four in, four hold, four out, four rest.
Why is my mind racing at night?
Because the day has stopped and your mind has not. In a dark, quiet room there is nothing else to hold your attention. Unfinished tasks, worries and plans for tomorrow move into the space.
Harvard Health describes the mind “rehashing past and future worries” in the night, along with the fear of being exhausted the next day (Harvard Health Publishing). That second worry is the sneaky one. The more you try to sleep, the more alert you become.
“I can’t turn my brain off to sleep” is one of the most common things people say about bedtime. The good news is that you do not have to turn it off. You only have to give it something duller to do.
How to switch off your brain at night: give it a job
You cannot stop a thought by deciding to. Telling yourself “stop thinking” is itself a thought. A better plan is to give your attention a small, repetitive job that takes up just enough room.
Counting breaths is the oldest version of this. It is boring, it needs no light, and it follows a rhythm your body is already making. When a thought pulls you away, and it will, you notice that you have lost count and start again. That moment of noticing is the whole skill.
For racing thoughts at night that will not let go, the count does not need to be clever. It needs to be dull and kind.
How to count your breaths in bed
- Lie in the position you sleep in. Let your breath be natural.
- Breathe in without counting.
- As you breathe out, silently say “one”.
- On the next out-breath, say “two”. Carry on up to ten.
- At ten, start again at one.
- If you lose count or find yourself at fourteen, smile and start again at one.
There is no score. Some nights you will reach ten many times. Other nights you will not reach three. Both are fine. If you have searched “cant turn my brain off at night”, this is the simplest tool there is. Give it a week of practice before you judge it.
Lost count? Start again at one. Noticing that you drifted is the skill, not a failure.
Box breathing for racing thoughts at night
If plain counting feels too loose, box breathing adds a shape. You breathe in for four, hold softly for four, breathe out for four, and rest for four. The equal sides give a busy mind a little more to follow.
- Breathe in gently through your nose for four.
- Hold softly for four. No strain.
- Breathe out slowly for four.
- Rest with empty lungs for four.
- Repeat for two to five minutes, then let your breath go back to normal.
The holds are optional. If they feel tight in bed, skip them and keep the slow count, or switch to a longer out-breath: in for four, out for eight. See box breathing and extended exhale breathing for both.
When relaxing makes you more tense
For some people, focusing on the breath makes them more alert, not less. This is common and well known in research. It does not mean you are doing it wrong.
In a small 1983 study, 14 adults who often felt tense tried two kinds of relaxation. About a third felt more tense during one session of muscle relaxation, and about half during a focused mantra session (Heide and Borkovec, 1983). A repeat study with 30 adults found that five of them, 17 %, felt more tense during a single recorded relaxation session (Braith and colleagues, 1988).
If that is you, here is the breathe-normally option:
- Stop counting and stop pacing your breath.
- Let your breath do whatever it is doing.
- Rest your attention on something outside you: the sounds in the room, the weight of the blanket, your hands.
- Open your eyes if you like. You can stop any time.
What the research shows
The research here is about attention and about bedtime breathing in general. None of it promises sleep.
- Counting breaths. In four studies with more than 400 people, those who counted their breaths more accurately reported less mind wandering and better mood. In an online part of the work, four weeks of breath-counting practice reduced mind wandering compared with other training (Levinson and colleagues, 2014). Sleep was not measured, so this work does not show that counting breaths brings sleep sooner.
- Slow breathing before bed. In a small sleep-lab study, 14 adults who said they slept poorly did slow paced breathing for 20 minutes before bed. On those nights they fell asleep sooner and woke less often (Tsai and colleagues, 2015). It was one small study, it was not randomised, and it tested slow breathing, not counting.
- Relaxation can backfire. The two studies above show that a share of people feel more tense when they try to relax. That is why the stop-and-breathe-normally option matters.
How to quiet your mind for sleep: what else helps
Breathing works best alongside a few simple habits. Here is how to quiet your mind before it gets loud.
| If your mind is… | Try this | When |
|---|---|---|
| Listing tomorrow’s tasks | Write them on paper | Early evening, not in bed |
| Replaying a conversation | Count out-breaths, 1 to 10 | In bed |
| Worrying about sleep itself | Turn the clock away | Before lights out |
| Still busy after about 20 minutes | Get up, dim light, something quiet | Any time in the night |
Harvard Health’s advice for long wakes is to get up after about 20 minutes and do something relaxing until you feel sleepy (Harvard Health Publishing). If you would rather follow a voice than a count, a short guided rest such as NSDR gives your mind a script instead. If you wake in the small hours with a mind racing from the first second, see waking up at 3am.
Common mistakes
- Fighting the thoughts. Notice them and go back to the count. No arguing.
- Breathing too hard. Big breaths can make you light-headed. Keep them small.
- Picking up the phone to “calm down”. Feeds and messages give your mind more to chew on.
- Judging after one night. A count is a skill. Give it a week.
For a comparison of all the bedtime breaths, read breathing exercises for sleep.
When to talk to a doctor
Talk to a doctor if racing thoughts keep you awake most nights for weeks, if you feel very tired in the day, or if worry follows you through the day too. A breathing exercise is a wind-down for your bedtime routine, not the right tool for lasting trouble.
Counting breaths in Shoha
Shoha is a breathing app for iPhone, coming soon. It has more than 30 breaths, each with a short guide, including box breathing and the extended exhale. Shades off, the night wind-down, ends the day with a slow breath and a short look back, then the app stays dark until morning. If you wake at 3 am, the same one-tap button gives a quiet rescue breath with a dark screen. Sound and haptics are optional, so you can follow with your eyes closed.
Questions, answered plainly.
Why is my mind racing when trying to sleep?
In a dark, quiet room there is nothing else to hold your attention, so the day's leftovers and tomorrow's plans get louder. Trying hard to sleep adds pressure too. A small task, such as counting breaths, gives your attention somewhere else to go.
How do I switch off my brain at night?
You cannot switch it off on purpose, and fighting thoughts tends to feed them. You can give your brain something dull to do instead: count breaths from one to ten, or follow a slow box breath. When a thought pulls you away, notice it and start the count again.
Is counting breaths better than counting sheep?
Both are dull tasks, which is the point. Counting breaths has one advantage: it ties the count to something your body is already doing, so the pace stays slow. Research on breath counting has looked at attention and mind wandering, not at sleep.
What if breathing exercises make me feel worse?
That happens to some people, and it is normal. In older studies, a share of people felt more tense during relaxation sessions. Stop the exercise, breathe normally, and rest your attention on sounds or the feel of the blanket instead.
Should I get out of bed if my mind won't stop?
If you have been awake for about 20 minutes, yes. Harvard Health suggests getting up and doing something relaxing in another room until you feel sleepy. Keep the light low and stay away from bright screens.
When should I see a doctor about racing thoughts at night?
Talk to a doctor if racing thoughts keep you awake most nights for weeks, if you feel very tired in the day, or if worry stays with you during the day as well. A breathing exercise is not the right tool for that.
Sources
- Levinson and colleagues, 2014: breath counting, attention and mind wandering
- Heide and Borkovec, 1983: when relaxation training makes some people more tense
- Braith and colleagues, 1988: a repeat study of tension during relaxation
- Tsai and colleagues, 2015: slow paced breathing for 20 minutes before bed, measured in a sleep lab
- Harvard Health Publishing: Awake at 3 a.m.? Strategies to help you get back to sleep
MCRUDRA writes these notes from the studies and public health pages listed above, and updates a note when the research changes. Last checked 29 November 2026. How we write these notes.
Keep reading
More breathing notes.
Nights
Waking up at 3am: a rescue breath for the middle of the night
Waking up at 3am every night? Why it happens, what to do in the first minutes awake, a slow breath to follow in the dark, and when to get up or see a doctor.
6 min read
Nights
Breathing exercises for sleep: slow breaths for your wind-down
Breathing exercises for sleep, compared honestly: 4-7-8, extended exhale, six breaths a minute and breath counting, with steps and what the research shows.
6 min read
Techniques
Extended exhale breathing: why a longer out-breath feels calming
How to do extended exhale breathing: in for 4, out for 8, no holds. The steps, which ratio to choose, what the ratio studies found, and a pace to follow here.
7 min read
Coming soon on iPhone
Breathe with a turtle.
Shoha is a breathing app for iPhone. When a craving hits, at 3 am, or as your day starts and ends, Hummy breathes with you: one tap from your Lock Screen, Control Center, the Action button or a widget. No account, and it works offline.

Shoha








