How to Stop Your Mind Racing at Night So You Can Sleep
October 23, 2026
To stop your mind racing at night, you need to give your brain two things: a place to put its worries before bed, and something calm and neutral to focus on once you're lying down. The most reliable tools are a short worry dump earlier in the evening, slow breathing or muscle relaxation in bed, a boring mental task like cognitive shuffling, and getting up briefly if you can't drift off.
Racing thoughts aren't a personal failing. When the day goes quiet, your brain finally has room to replay conversations, rehearse tomorrow and scan for problems. The goal isn't to force your mind blank, which rarely works, but to gently redirect it until sleep takes over.
Why your mind races at night
During the day, tasks, noise and other people keep your attention busy. In a dark, silent bedroom, unfinished business rises to the surface. Stress, anxiety, caffeine late in the day, scrolling on your phone in bed and irregular sleep times can all make it worse.
There's also a feedback loop. You can't sleep, so you start worrying about not sleeping, which makes you more alert. Many of the techniques below work by breaking that loop rather than by fighting the thoughts head on.
For some people, a busy mind at night is linked to conditions such as ADHD, anxiety disorders or OCD. If that sounds familiar, the tips here can still help, but it's worth talking to a professional too (more on that below).
Before bed: empty your head
Much of the work happens before your head hits the pillow.
- Do a worry dump. An hour or two before bed, write down everything on your mind: tasks, worries, half-formed ideas. For each item, jot one next step or simply "deal with tomorrow." This tells your brain the thought has been captured and doesn't need rehearsing at midnight.
- Write a short to-do list for tomorrow. Planning ahead on paper can stop you planning in bed.
- Add a few lines of gratitude. Cleveland Clinic suggests journaling both to release stress and to focus on what went well, which can shift your mood before sleep.
- Cut screens before bed. Emails, news and social feeds feed your brain fresh material to chew on. Put the phone down or across the room.
- Build a wind-down routine. A warm shower, dim lights, light stretching, reading something undemanding or calming sound all signal that the day is over. Doing the same things in the same order each night helps your body learn the cue.
- Watch caffeine and alcohol. Caffeine later in the day can keep you wired, and alcohol can make sleep lighter and more broken later in the night.
In bed: give your brain something calm to do
Trying not to think almost never works. Replacing anxious thoughts with something neutral does.
1. Slow, counted breathing
Close your eyes and count your breaths, as Harvard Health suggests: count one on the inhale, two on the exhale, up to ten, then start again. If you lose count, just begin at one. Making your exhale a little longer than your inhale tends to feel especially settling.
2. Progressive muscle relaxation
Starting at your toes, tense a muscle group for a few seconds, then release and notice the difference. Work slowly up through your legs, stomach, hands, arms, shoulders and face. This reconnects you with your body and pulls attention away from looping thoughts.
3. Cognitive shuffling
This technique, featured by TIME, gives your brain something mildly engaging but meaningless. Pick a random word, such as "blanket." For each letter, picture as many unrelated words as you can: B for banana, bicycle, bridge; L for lemon, ladder, lake. The images are random enough that they don't trigger worry, and the drifting, dreamlike quality resembles how your mind naturally falls asleep.
4. Thought blocking
Some people find it helps to silently repeat a simple, neutral word like "the" every couple of seconds. It occupies the part of your mind that would otherwise narrate your worries.
5. Guided imagery
Picture a calm place in detail: the sound of rain on a tent, the warmth of a fire, waves on a beach. Engage every sense. The more vivid the scene, the less room there is for tomorrow's meeting.
6. Let sound do some of the work
A steady background sound can give a restless mind something gentle to rest on and mask the small noises that pull you back to alertness. Rain, ocean, a crackling fireplace, white noise or deeper brown noise all work for different people, so it's worth experimenting.
If you'd like an easy way to try this, Sleepy: Sleep Sounds is an iPhone app with a library of 27+ ambient sounds, including rain, ocean, forest and white noise, along with personalized sleep mixes, relaxing music and wind-down tools. Pairing a sound you like with breathing or imagery can make each technique easier to stick with. Other well-known options people compare include Calm, Headspace, BetterSleep and White Noise Lite.
If you still can't sleep, get up
Lying in bed wide awake and frustrated teaches your brain that bed is a place for worrying. If you've been awake for a while (a common rule of thumb is around 20 minutes, judged roughly rather than by watching the clock), get up.
- Go to another room with dim light.
- Do something calm and boring: read a dull book, fold laundry, listen to soft sound.
- If a worry keeps nagging, write it down.
- Return to bed only when you feel sleepy.
WebMD makes a similar point: if your mind is racing, relax first until you genuinely feel tired rather than forcing yourself to lie there.
Waking at 3am with a racing mind
Many people fall asleep fine but wake in the early hours with their mind instantly switched on. Brief night waking is normal; the problem is the alert, worried state that can follow, often driven by stress.
To make these wakings easier:
- Don't check the time. Calculating how many hours are left fuels anxiety.
- Keep lights low and your phone away.
- Go straight to a technique. Counted breathing or cognitive shuffling works well here because it needs no setup.
- Keep a notepad by the bed to park any thought that won't let go.
- Look at your daytime habits. Late alcohol, heavy late meals, high stress and inconsistent sleep schedules can all make early waking more likely.
When to get help
Occasional racing thoughts are common. It's time to talk to a doctor or therapist if:
- Poor sleep happens most nights for several weeks.
- It's affecting your mood, work or relationships.
- Racing thoughts come with panic, intrusive thoughts or compulsions.
- You suspect ADHD, anxiety or another condition is involved.
Cognitive behavioral therapy for insomnia (CBT-I) is a well-established, non-medication treatment that targets exactly these patterns. If you're curious about medication or supplements for racing thoughts, speak with a doctor or pharmacist first, as they can interact with other medicines and aren't right for everyone.
FAQ
How do I stop my brain from overthinking so I can sleep?
Write your worries down an hour or two before bed so your brain knows they're captured. Then, in bed, replace the overthinking with a neutral task like counted breathing or cognitive shuffling instead of trying to force your mind blank.
Why is my mind constantly racing at night?
At night there are fewer distractions, so unresolved worries and plans surface. Stress, caffeine, screens in bed and worrying about sleep itself can all make it worse, and conditions such as anxiety or ADHD can play a part.
How can I stop racing thoughts immediately?
The quickest tools are slow breathing with a longer exhale, repeating a simple word, or picturing random objects from a single word. None will switch thoughts off instantly, but they redirect attention within a few minutes for many people.
Does background noise help with racing thoughts?
For many people it does, because a steady sound like rain or brown noise gives the mind something gentle to focus on and masks distracting noises. Try a few types to see which feels most calming to you.
Can I fall back asleep after waking at 3am?
Often, yes. Avoid checking the clock or your phone, keep the lights low, and go straight to a calming technique; if you're still wide awake after a while, get up briefly and return when you feel sleepy.

Fall asleep with Sleepy
200+ sounds, sleep stories and a gentle timer. Free on iPhone.