Home › Falling Asleep › How to Fall Asleep With Racing Thoughts

How to Fall Asleep With Racing Thoughts

Give your thoughts somewhere to go before bed and give your mind a dull job once you're in it. A seven-step plan with the research behind it.

Open notebook and pencil on a desk under a small lamp in a dark room, ready for an evening worry list
On this page
  1. Tonight’s plan, step by step
  2. Why your mind races at bedtime
  3. Write it down: the to-do list trick
  4. Schedule your worrying earlier
  5. Give your mind something better to do
  6. Stop trying so hard to sleep
  7. Get out of bed instead of lying there
  8. What if it happens in the middle of the night?
  9. Things that make racing thoughts worse
  10. Common questions

The short answer Give the thoughts somewhere to go before bed, then give your mind a dull job once you’re in it. Write tomorrow’s to-do list and a short worry plan in the evening, use a detailed imagery exercise or slow breathing in bed, and if you’re still awake after about 20 minutes, get up until you feel sleepy.

Trying to force a thought out of your head rarely works. In one study of people with insomnia, what helped was a specific mental task, not a vague instruction to “just distract yourself.” So the plan below splits the work in two: an evening step that deals with the content of your thoughts, and an in-bed step that crowds them out.

Tonight’s plan, step by step

  1. Early in the evening, hold a short worry session. Sit at a table, not in bed. Write each worry in one column and the next small action you could take on it in a second column. If there’s no action, write “nothing to do tonight.” Then close the notebook.
  2. Right before bed, write tomorrow’s to-do list. Five minutes. Be specific: “call the landlord about the leak before 10” beats “work stuff.”
  3. Dim the lights and put the phone down. The American Academy of Sleep Medicine suggests turning off devices at least 30 minutes before bedtime. Scrolling feeds your mind fresh material to chew on.
  4. Go to bed only when you’re sleepy. Tired-but-wired isn’t sleepy. Heavy eyelids and nodding off over a book is.
  5. Give your mind a task. Pick one: picture a familiar walk in detail, run cognitive shuffling, or do slow breathing. Keep it gentle and specific.
  6. When a worry barges in, label it and return. “Planning again.” Then back to the task. No arguing with it.
  7. Still awake after roughly 20 minutes? Get up. Go to another room, keep the light low, do something boring and screen-free, and go back when you feel sleepy. Estimate the time; don’t watch the clock.

Why your mind races at bedtime

Bedtime is often the first quiet moment of the day. There’s no meeting or podcast left to fill the space, so unfinished business rushes in. Stress, anxiety and depression top the NHS’s list of the most common causes of insomnia.

Then a second loop starts. You notice you’re not asleep, you start worrying about tomorrow’s exhaustion, and now you’re thinking about sleep itself. That’s why the most useful techniques don’t try to win the argument with your thoughts. They change what your mind is doing, or they change where you’re doing it.

Write it down: the to-do list trick

In a sleep-lab study, 57 healthy adults aged 18 to 30 spent five minutes before bed writing either a to-do list for the coming days or a list of things they had already done. The to-do group fell asleep significantly faster, measured with polysomnography rather than self-report. The more specific the list, the faster they fell asleep.

The likely reason is simple. A task written down is a task you no longer have to keep rehearsing to avoid forgetting it. It’s one study in young, healthy people, so treat it as a cheap experiment rather than a proven cure. Five minutes and a pen is the whole cost.

Schedule your worrying earlier

A to-do list handles tasks. Worries are messier, and that’s where “constructive worry” comes in: a short session earlier in the evening where you write down what’s bothering you and one concrete next step for each. The point is to do your problem-solving at a desk at 8 pm instead of on your pillow at midnight.

The evidence is small but encouraging. In a randomized feasibility trial of 22 people with insomnia, adding constructive worry to standard behavior therapy led to larger drops in insomnia severity and worry than behavior therapy alone. Total sleep time didn’t differ between groups, and the authors called for bigger studies.

Tip:

If a new worry shows up after lights out, don’t solve it in bed. Tell yourself it goes on tomorrow’s worry list. Some people keep a notepad by the bed and jot one line in the dark, then stop.

Give your mind something better to do

This is the in-bed half of the plan. In a study of 41 people with insomnia, those trained to distract themselves with an engaging imagery task fell asleep faster and reported fewer and less distressing thoughts than people given no instructions. Generic advice to “distract yourself” didn’t show the same benefit. The researchers’ explanation: a detailed imagery task takes up enough mental space that the worries can’t get back in.

So make the task specific and mildly absorbing. A few that fit:

  • A slow mental walk. Pick a route you know well, such as your grandparents’ house or a favorite trail, and move through it in detail: the door handle, the smell of the hallway, the color of the rug.
  • Cognitive shuffling. Choose a word, then picture random unrelated things starting with each of its letters. Our cognitive shuffling guide walks through it.
  • Slow breathing. The NHS version is to breathe in while counting from 1 to 5, then out for the same count, for at least five minutes.
  • Progressive muscle relaxation. Tense and release one muscle group at a time, feet to face. The AASM’s 2021 guideline suggests relaxation therapy as a treatment for chronic insomnia.

Expect your mind to wander off the task. That’s normal. Noticing and coming back is the exercise, not a sign you’ve failed at it.

Stop trying so hard to sleep

Effort is the enemy here. Sleep shows up when you stop chasing it, which is the logic behind paradoxical intention: you lie in the dark and gently try to stay awake, with no screens. The AASM’s 2006 review rated paradoxical intention effective for chronic insomnia at its middle level of certainty, though it hasn’t had much modern study. If “lying there trying to sleep” describes your nights, it’s worth a few tries.

Mindfulness works on a similar idea: watching thoughts pass without grabbing them. In a randomized trial of 49 older adults with moderate sleep problems, six weeks of mindfulness classes improved sleep quality more than a sleep hygiene course. That’s a skill built over weeks, so start practicing during the day, not only at 1 am.

Get out of bed instead of lying there

Lying awake and stewing teaches your brain that bed is the place for stewing. The fix, called stimulus control, has the strongest backing of any single technique in this article. The AASM suggests stimulus control as a stand-alone treatment for chronic insomnia, and its patient advice is to get out of bed if you don’t fall asleep after 20 minutes and do a quiet activity without much light or electronics.

Good options for the time out of bed: folding laundry, a dull book under a dim lamp, a jigsaw puzzle. Bad ones: email, the news, anything with a feed. Then keep your usual wake-up time the next morning, even after a rough night, so sleep pressure builds on schedule.

What if it happens in the middle of the night?

The same tools apply at 3 am, with one adjustment: keep the lights off or very low and don’t reach for your phone to “check the time.” Middle-of-the-night thoughts tend to feel bigger than they are, so the notepad rule matters more. Write one line, then back to the imagery task. See how to fall back asleep and why you wake up at 3 am for more on night wakings.

Things that make racing thoughts worse

A few habits feed the problem without feeling like they do.

Late caffeine. It makes you more alert and more likely to latch onto thoughts. The AASM advises avoiding caffeine in the afternoon or evening. Our guide to how long caffeine stays in your system shows why a 3 pm coffee can still be working at bedtime.

A nightcap. Alcohol may help you drop off, then fragments the second half of the night, which is prime time for waking up and ruminating.

A silent room. Some people find total silence makes every thought louder. A steady background sound gives your attention somewhere neutral to rest; see white, pink and brown noise for the differences.

When to see a doctor

  • Trouble sleeping at least three nights a week for three months or more is chronic insomnia. Ask about cognitive behavioral therapy for insomnia (CBT-I), which the AASM strongly recommends and which directly targets bedtime worry.
  • Worry that’s hard to control most days, panic attacks, or low mood alongside the sleep problem are worth raising with a doctor or therapist; anxiety and depression are among the most common causes of insomnia.
  • Racing thoughts with very little need for sleep, unusual energy, or behavior that feels out of character need prompt medical attention.
  • If you ever have thoughts of harming yourself, call or text 988 in the US for the Suicide and Crisis Lifeline.

If your thoughts settle but sleep still won’t come, the methods in how to fall asleep fast are ranked by evidence, and there’s more in Fall Asleep.

Common questions

How do I stop my mind from racing at night?

You usually can't switch thoughts off by force. Deal with them earlier, with a short worry session and a specific to-do list, then give your mind an absorbing but calm task in bed, such as detailed imagery or slow breathing.

Why can't I sleep when my mind is racing?

Worry keeps your brain alert, and bedtime is often the first quiet moment of the day. Stress, anxiety and depression are among the most common causes of insomnia.

Does writing a to-do list before bed help you sleep?

In one sleep-lab study of 57 young adults, writing a specific to-do list for five minutes at bedtime helped people fall asleep faster than writing about tasks already done. It's a single study, but it costs nothing to try.

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

If poor sleep happens at least three nights a week for three months, or worry is hard to control during the day, talk to a doctor. Cognitive behavioral therapy for insomnia (CBT-I) is the recommended first treatment.

Written and checked by the Sleep Brief editors. We base every article on published research and guidance from medical bodies, and link the sources inline. How we research.

This article is for general education and isn't medical advice. If poor sleep lasts more than a few weeks, or you snore loudly, stop breathing in your sleep or feel sleepy while driving, talk to a doctor.