Can't sleep because of racing thoughts? How to quiet your mind at night

Mind racing at night? Try a 4-minute wind-down script, worry time and the 20-minute rule, and learn what to do when you still can't switch off.

Updated September 25, 2026 · 9 min read

You can't switch thoughts off on command, but you can stop feeding them. Park your worries on paper before bed, then give your attention something slow and physical to rest on, like your breath or the weight of your body, and each time a thought pulls you away, notice it and come back. If you're still awake after around 20 minutes, the NHS suggests getting up and doing something relaxing until you feel sleepy.

Below you'll find a plan for tonight, a 4-minute wind-down you can do in bed, and what the research actually says.

What to do tonight when your mind is racing

  1. Give your worries a slot before bed. Take 10 to 15 minutes in the evening to write down what's on your mind and one next step for each item. The NHS calls this "worry time" (more below).
  2. Write tomorrow's list. The NHS suggests that if you often worry in bed, you make a list of the things you need to do the next day before you go to sleep.
  3. Put screens away for the last hour. The NHS recommends not using phones, tablets or computers for an hour before bed, and relaxing instead: reading, breathing exercises, meditation or calm music.
  4. In bed, do the 4-minute wind-down below. It gives your attention something to hold that isn't your to-do list.
  5. Don't fight it. If you're still awake after around 20 minutes, get up, sit somewhere comfortable and do something quiet. Go back to bed when you feel sleepy.
  6. Get up at your usual time tomorrow. The NHS advises not to sleep in after a bad night and to stick to your regular sleeping hours.

Why your mind races when you're tired

Being tired and being calm are not the same thing. The NHS explains that when you feel stressed or anxious, your body may feel more alert, and your mind may also be full of worrying thoughts. Stress, anxiety and depression are among the most common causes of sleep problems it lists.

There's also a timing problem. For many people, lying in the dark is the first moment of the day with nothing else competing for attention. Unfinished conversations, plans and small worries finally get the stage.

And trying hard to sleep tends to backfire. The more you check whether it's working, the more awake you get. That's why the NHS advice is to try not to force sleep: when you're comfortable and resting, you may find you fall asleep naturally.

A 4-minute wind-down for a racing mind (script)

We wrote this short exercise for the moment you're in bed and your head is still busy. Read it once during the day so you know the steps. At night, go through it in your mind, or have someone read it to you slowly. The minutes are a rough guide, not a rule.

Minute 1: Land in the bed

Lie in whatever position feels easiest. Let your eyes close, or rest them on one dark spot in the room. Feel where your body touches the bed. The back of your head on the pillow. Your shoulders. Your hips. Your heels. You don't need to relax anything yet. Just notice that the bed is holding all of it, and that you don't have to hold yourself up.

Minute 2: Let the breath slow down by itself

Notice the next breath coming in. Don't change it, just follow it. Let the next out-breath be a little longer than the in-breath, as if you were sighing quietly. Do that two or three times. Then let the breath go back to doing itself. It knows how.

Minute 3: Notice, name, come back

Sooner or later a thought will arrive. A plan for tomorrow, a conversation you're replaying, something you forgot. When you notice it, give it a short, friendly name in your head: "planning", "replaying", "worrying". You don't have to answer it tonight. You're not pushing it away, you're just not following it right now. Then come back to one point of contact: the weight of your hands, or the pillow under your head. If the same thought comes back ten times, you come back ten times. Coming back is the exercise. It doesn't mean it's failing.

Minute 4: Hand the night over

Now let go of doing the exercise at all. There's nothing left to get right. Let your body get a little heavier with each out-breath. If sleep comes, let it come. If it doesn't come yet, you're resting, and resting is fine.

If the thoughts are loud tonight, repeat minute 3 as often as you need. If you prefer a picture to hold instead of your breath, try a calm scene from our guided visualization for sleep.

How to turn your brain off at night

There's no off switch, and chasing one keeps you awake. What works better is giving your mind less fuel:

  • Empty it before bed. Worry time and a written list mean a thought that pops up at midnight already has a place to go: "That's on the list."
  • Give it something slow to hold. Your breath, the feeling of the mattress, or an imagined scene. If slow breathing helps you, practice the even-breathing pattern in our breathing exercise during the day so it feels familiar at night.
  • Stop checking. The NHS suggests keeping clocks out of view and placing your phone face down. Every time you check the time, you start calculating how much sleep is left, and the thoughts speed up again.

Can't sleep, mind racing: what to do if you're still awake

If you've been lying awake for a while, the NHS advice is clear: if you're still awake after around 20 minutes, get up and sit somewhere comfortable. Try a relaxing activity like gentle yoga, reading a book or listening to quiet music, and go back to bed when you feel sleepy.

A few things make that easier:

  • Keep the light low and pick something calm and a little boring to read.
  • Skip the phone. Scrolling feeds exactly the kind of thoughts you're trying to leave behind.
  • If a new worry shows up, write it on the list and close the notebook.

Worry time: park your thoughts before bed

Worry time is one of the techniques the NHS describes in its guide to tackling worries. The idea is to set yourself "a short period, say 10 or 15 minutes, every day or so before bed to write things down and try to find solutions." According to the NHS, making this a regular thing can help put your mind at ease and stop your thoughts racing when you're trying to sleep.

How to do it:

  1. Pick a fixed time, for example after dinner, and a place that isn't your bed.
  2. Write everything down that's going round in your head, on paper or in a notes app.
  3. Sort each worry. Is there something practical you can do about it? The NHS calls this the "worry tree": telling apart problems you can solve from worries that are beyond your control.
  4. Make a specific plan for the ones you can act on: what, how and when.
  5. Accept the rest for now. Some worries have no answer tonight.
  6. When a worry comes back later, tell yourself: "I'll set that aside for my worry time." The NHS says it may feel difficult at first but should get easier as the habit settles in.

Does meditation help with racing thoughts at night?

It can help, with honest limits. The US National Center for Complementary and Integrative Health (NCCIH) says mindfulness meditation practices may help reduce insomnia and improve sleep quality. It cites a 2019 analysis of 18 studies with 1,654 participants in which mindfulness meditation improved sleep quality more than education-based treatments, but no differently than evidence-based treatments such as cognitive behavioral therapy and exercise. NCCIH also notes that much of the research on meditation has been preliminary or not scientifically rigorous.

On safety, NCCIH says meditation and mindfulness practices usually are considered to have few risks, although some people do have negative experiences, most commonly anxiety and depression. If a practice makes you feel worse, stop, and talk to a professional if it continues.

For long-lasting sleep problems, meditation is not the main treatment. NCCIH points out that the American College of Physicians' 2016 guidelines strongly recommend cognitive behavioral therapy for insomnia (CBT-I) as the initial treatment for chronic insomnia, and that relaxation techniques can sometimes be one part of it.

Try it with a guided session

If you'd rather be talked through it than remember the steps, AI Meditation: Sleep & Calm has a sleep session made for this exact situation. Falling Asleep Despite a Racing Mind is for nights when you're tired but thoughts keep starting up: a simple sequence of feeling contact, letting go and kindly unhooking from thoughts. During the day, Unhooking From Thoughts: Stepping Out of the Rumination Loop teaches the notice, name, come back steps, and Understanding Rumination and Worry: Stepping Out of the Thought Loop explains why the loop keeps turning. If you wake up later in the night, there's Gently Drifting Back to Sleep.

You can adjust how long a session lasts, and the voices are AI voices. There's also a daily meditation that's written by AI after a short mood check-in. See how the app works, try it for free, no account needed.

When racing thoughts are more than a bad night

A few restless nights are common. The NHS suggests seeing a GP if:

  • "changing your sleeping habits has not helped your insomnia"
  • "you've had trouble sleeping for months"
  • "your insomnia is affecting your daily life in a way that makes it hard for you to cope"

The NHS also lists stress, anxiety and depression among the most common causes of insomnia, and notes that menopause and many medicines can cause it too. So if your racing thoughts come with ongoing anxiety or low mood, or started around a new medicine or other health change, that's a reason to talk to a doctor rather than to try harder on your own.

Your health

This app is a wellness app and does not replace medical advice. If sleep problems or racing thoughts last for weeks or affect your day, talk to a doctor. The NHS insomnia page explains when to see a GP and what treatment can look like.

Sources

All pages accessed on September 25, 2026.

Questions

Good to know

Why does my mind race when I try to sleep?

Stress and worry keep your body and mind alert. The NHS puts it simply: when you feel stressed or anxious, your body may feel more alert and your mind may be full of worrying thoughts. Bedtime is often the first quiet moment of the day, so those thoughts finally get your full attention.

How do I turn my brain off at night?

You can't switch thoughts off on command, but you can stop feeding them. Write your worries and tomorrow's tasks down before bed, put screens away for the last hour, and in bed rest your attention on something slow and physical, like your breath or the weight of your body. When a thought pulls you in, notice it, give it a short label and come back.

What should I do if I still can't sleep after 20 minutes?

The NHS suggests not forcing it. If you're still awake after around 20 minutes, get up, sit somewhere comfortable and do something relaxing, like reading or listening to quiet music. Go back to bed when you feel sleepy.

Can meditation stop racing thoughts?

Meditation doesn't stop thoughts, it changes how you relate to them. The US National Center for Complementary and Integrative Health says mindfulness meditation practices may help reduce insomnia and improve sleep quality, while noting that much of the research is preliminary.

When should I see a doctor about racing thoughts at night?

If sleep problems or racing thoughts last for weeks, keep coming back despite better sleep habits, or make your days hard to cope with, talk to a doctor. The same goes if they come with ongoing anxiety or low mood, or started with a new medicine.

Get the app

AI Meditation: Sleep & Calm

A new meditation written for how you feel, every day. Plus sleep stories and soundscapes.

The iPhone app is coming soon.

Get it on Google Play
Scan to install on your Android phone

Try it for freeNo account needed