Racing thoughts at night: what actually quiets them

The 2 a.m. mind is trying to finish the day's work in the only quiet slot it gets. Here is how to give that work somewhere else to go.

In this piece
  1. Why does your mind race the moment your head hits the pillow?
  2. What kind of racing thoughts are you having?
  3. Does writing a to-do list before bed help you fall asleep?
  4. What should you do with worries that aren't tasks?
  5. Does journaling about your feelings before bed help you sleep?
  6. Why can't you just stop thinking about it?
  7. Can breathing exercises or meditation quiet racing thoughts?
  8. What should you do if you're still awake after 20 minutes?
  9. When are racing thoughts at night a sign to get help?
  10. The night starts earlier than you think

Racing thoughts at night usually quiet down once you give them somewhere else to go. Sleep research points to three moves that work. Write a specific to-do list before bed, deal with real worries earlier in the evening instead of in bed, and if you’re still awake after about 20 minutes, get up and do something quiet until you’re sleepy. Trying to force the thoughts out tends to keep you awake longer.

That’s the short answer. The longer one matters, because most advice treats every 2 a.m. thought as the same thing. They aren’t, and the fix depends on which kind is keeping you up.

Why does your mind race the moment your head hits the pillow?

All day your attention is spoken for. Email, traffic, a conversation, the kettle. Then you lie down in the dark, nothing asks anything of you, and everything you parked comes back at once.

Psychologists have a fairly detailed account of why this spirals for some people and not others. In a 2002 cognitive model of insomnia, Allison Harvey, now at UC Berkeley, proposed that worry at bedtime raises both mental and physical arousal. That arousal makes you watch for signs that sleep isn’t coming: the heartbeat you can feel, the clock, the sound of the fridge. Noticing those signs feeds more worry. Harvey also flagged the things people do to cope, like trying to control their thoughts, as part of what keeps the loop running.

The content of those thoughts is telling. A 2020 systematic review in Sleep Medicine Reviews by Lemyre and colleagues found that people with insomnia often spend the pre-sleep period planning or problem-solving, and that their thoughts are more unpleasant than those of good sleepers. Your brain, in other words, is trying to finish the day’s work in the only quiet slot it gets.

There’s an older observation in the same literature. As Schmidt, Harvey and Van der Linden note in a 2011 review, poor sleepers have long described their “racing mind” as the cause of their sleep problem. Whether it’s the cause or a symptom, it’s the part you feel. So it’s the right place to start.

What kind of racing thoughts are you having?

Before you try anything, it helps to notice what the thoughts are actually about. In practice, most fall into one of three groups.

  1. Things you have to do. Reply to the landlord, buy the birthday card, the slide deck due Thursday. These are reminders that don’t trust you to remember them.
  2. Problems you haven’t solved. The money that won’t stretch, the decision about your mother’s care, whether to take the job. These need thinking, and bed is a terrible place to think.
  3. Feelings you haven’t had time to feel. The comment at work that stung, the unsent text, the thing your partner said at dinner. These aren’t asking for a plan. They want to be looked at.

Each kind responds to a different tool, and the research behind each is quite different in strength. The sections below take them one at a time.

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

For the first kind, yes, and this is the best-supported tip in the whole area.

In a 2018 study, Michael Scullin and colleagues at Baylor University brought 57 healthy adults aged 18 to 30 into a sleep lab. Before lights out, half spent five minutes writing a to-do list for the next few days. The other half wrote about tasks they had already completed. Polysomnography, which measures sleep from brain activity rather than self-report, showed the to-do group fell asleep in about 16 minutes on average, against about 25 minutes for the completed-list group. That’s a difference of roughly nine minutes.

The detail that matters most: the more specific the to-do list, the faster people fell asleep. A vague “work stuff” didn’t do much. “Email Priya the revised budget before 10” did.

The limits are worth stating plainly. It was one night, in a lab, with young adults who didn’t have a sleep disorder. The authors themselves say it hasn’t been tested in people with insomnia or over many nights at home. Still, it costs five minutes and a pen.

How to do it:

  1. Sit somewhere other than bed, 10 to 30 minutes before you turn in.
  2. Write every task on your mind for the next few days, one per line.
  3. Make each line specific enough that tomorrow-you could act on it without thinking: who, what, by when.
  4. Stop at five minutes. You’re unloading, not planning your week.

What should you do with worries that aren’t tasks?

The second kind of thought, the unsolved problem, won’t fit on a to-do list. This is where timing matters more than technique.

In a 2006 study, Carney and Waters asked college students with insomnia to spend time in the early evening on what they called “constructive worry.” Participants wrote down their worries, then wrote possible solutions to each. A comparison group wrote worries and filled out worry questionnaires but didn’t problem-solve. Over five nights, the constructive worry group reported less mental arousal before sleep, both compared with the other group and compared with their own baseline. It was a small study (33 people), and the outcomes were self-reported.

A related idea is a set “worry period.” In a 2013 trial, McGowan and Behar gave 53 people who worry a lot two weeks of a daily 30-minute worry period, restricted to the same time and place each day. Compared with a group told simply not to avoid their worries, the worry-period group reported larger drops in worry, anxiety and insomnia symptoms. The authors call it preliminary evidence, and it is.

What both share is the move from bed to earlier, from circling to a written next step. Here’s a version you can try tonight:

  1. Around dinner or a couple of hours before bed, take a sheet of paper and draw a line down the middle.
  2. On the left, write each worry in one sentence.
  3. On the right, write the very next step, however small. “Call the bank Monday at 9.” “Ask Sam what he meant.” If there is no step, write “Nothing to do tonight” and leave it.
  4. Fold the sheet. If the worry shows up later in bed, you can tell it, honestly, that it has already been handled for today.

That last step sounds a little silly. It works less like magic than like a receipt: the thought has been dealt with, and you have proof.

Does journaling about your feelings before bed help you sleep?

This is the third kind of thought, and the evidence is the most mixed. It’s worth being honest about that, because a lot of sleep advice treats “journal before bed” as settled.

In a 2003 pilot study, Allison Harvey and Clare Farrell randomly assigned 42 poor sleepers to three nights of writing about their worries and feelings, writing about hobbies, or no writing. The group that wrote about their problems reported falling asleep faster than the no-writing group. But when Patricia Mooney and colleagues tested a similar writing task in 2009 with 28 people diagnosed with insomnia, writing reduced pre-sleep mental arousal on one of two measures and did not shorten the time it took to fall asleep.

So emotional writing may take some heat out of the evening without being a reliable sleep aid on its own. That fits what you’d expect. Writing about a hurt can stir it up before it settles, which is a poor thing to do at 11:45 p.m.

The practical lesson is about timing again. Give the feeling its say earlier, when you have the energy to look at it, rather than in the last minutes before sleep. If you want more on how to write about a hard day without going round in circles, the difference between rumination and reflection is the place to start, and there’s a fuller method for journaling when you’re anxious.

This is also the gap Auserene was built around. You jot quick notes during the day, a line or a mood, and in the evening it walks through them with you in a short conversation that asks about the parts that seem to matter. It happens before bed, not in it, and the conversation becomes the day’s journal entry. It can’t make a hard day simple, but it gives the third kind of thought somewhere to land other than your pillow.

Why can’t you just stop thinking about it?

Because trying makes it worse, and there’s direct evidence for this.

In a 2003 experiment, Harvey asked people with insomnia and good sleepers to pick a thought that was bothering them. Half were told to suppress it as they tried to fall asleep, half were not. Those told to suppress it reported taking longer to fall asleep and rated their sleep as worse, and this held for good sleepers too. A later sleep-lab study, summarized by Schmidt and colleagues, used forced awakenings and found that people told to suppress a thought had it less often before sleep but more often after they drifted off.

Pushing a thought away takes effort, and effort is the opposite of falling asleep.

What does help, according to a study by Harvey and Payne, is replacing the thought with something specific. They gave 41 people with insomnia one of three instructions for the night. Those trained to build a detailed, engaging mental image, such as walking through a favorite place and noticing what’s there, reported falling asleep faster and having fewer and less distressing thoughts than a group with no instructions. A group told only to “distract yourself” in general did not do better. The authors suggest the imagery task worked because it took up enough room in the mind that the worry couldn’t get back in.

The broader picture from the Lemyre review is that strategies like imagery, distraction and suppression have produced effects that are “either beneficial, negligible, or detrimental.” So pick a concrete image, not “think of something nice,” and don’t treat any one trick as guaranteed.

Can breathing exercises or meditation quiet racing thoughts?

They can help, with modest evidence and some caveats.

On breathing, the most direct study is small. In a 2015 study by Tsai and colleagues, 14 people with self-reported insomnia practiced slow, paced breathing (about six breaths a minute) for 20 minutes before bed. Measured in the lab, they fell asleep faster, woke less and slept more efficiently than on nights without it. Fourteen people is not many. A 2023 randomized study by Balban and colleagues, including David Spiegel and Andrew Huberman, didn’t look at sleep, but found that five minutes a day of “cyclic sighing,” with a long, slow exhale, improved mood and lowered breathing rate more than mindfulness meditation did over a month. A long exhale is a reasonable thing to try in bed because it gives your attention a job.

Meditation has more research behind it, and a clearer verdict. A 2019 meta-analysis by Rusch and colleagues pooled 18 randomized trials with 1,654 participants. Mindfulness meditation improved sleep quality compared with time-matched control activities, a moderate effect. Compared with established sleep treatments, it showed no clear difference either way, and the authors rate that evidence as low strength. In a 2014 trial for chronic insomnia, Ong and colleagues found that eight weeks of mindfulness-based programs cut scores on the Pre-Sleep Arousal Scale, which measures mental and physical arousal at bedtime, far more than self-monitoring alone.

The honest summary: meditation helps some people quiet their thoughts at night, it isn’t a cure for insomnia, and it seems to work through regular practice rather than a single heroic session.

There’s one thing the generic version misses. A recorded meditation about “letting go of the day” doesn’t know what your day was. Auserene’s founder, Himanshu Pathak, found this out during COVID, when a twenty-minute guided meditation was the first thing in weeks that quieted his head. He described it as seeing the hard things through glass. We haven’t found a trial that tests whether a meditation written from your own day works better than a generic one. That’s a design bet, and it’s fair to call it one.

What should you do if you’re still awake after 20 minutes?

Get up. This is the instruction people resist most and the one with the most clinical weight behind it.

It comes from stimulus control, one of the core parts of cognitive behavioral therapy for insomnia (CBT-I). The idea is that if your bed becomes the place where you lie awake and think, your brain starts to expect thinking there. The University of Pennsylvania’s CBT-I handout, written by sleep psychologist James Findley, says that if you estimate you’ve been in bed about 15 to 20 minutes without sleeping, go to another room for at least 30 minutes and do something quiet and relaxing. It also says to leave the bed at the first sign of frustration or worry. Don’t check the clock; estimate.

In practice:

  1. Keep a dim lamp, a dull book and your worry sheet somewhere outside the bedroom.
  2. When you get up, keep the lights low and the phone down.
  3. If a new task or worry is the reason you’re up, add it to the list in one line and stop.
  4. Go back to bed only when you feel sleepy, not just tired.

The American Academy of Sleep Medicine’s 2021 guideline suggests stimulus control as a standalone treatment for chronic insomnia. Notably, the same guideline advises clinicians not to rely on sleep hygiene alone, the familiar list of dark rooms, no caffeine and no screens. Those habits are sensible, and the NHS insomnia page lists them, but on their own they rarely fix a racing mind.

When are racing thoughts at night a sign to get help?

If racing thoughts keep you up most nights for weeks, or if poor sleep is making the days hard to get through, talk to a doctor. The American College of Physicians recommends CBT-I as the first treatment for chronic insomnia in adults, ahead of medication, and the AASM guideline gives it its strongest recommendation. A clinician can also check for things a list can’t fix, like anxiety, depression or another sleep disorder.

If your thoughts at night turn to hurting yourself or feeling that you can’t go on, please reach out now. You can find people to talk to at our crisis resources page.

The night starts earlier than you think

Most of what helps with racing thoughts happens before you get into bed. Write the tasks down so specifically that you can let them go. Give the real worries a next step while you still have the energy to think. Let the feelings have their say in the evening, out loud or on paper, rather than at midnight. Then, in bed, give your mind one simple, concrete thing to hold, and if it won’t settle, get up rather than fight it.

None of this guarantees a good night. It does change what the dark is for. If you want to try an evening routine built around this, these end-of-day questions are a good first page to write on.

Questions people ask

How do I stop racing thoughts at night?

Write a specific to-do list for five minutes before bed, handle real worries earlier in the evening by writing a next step for each, and if you're still awake after about 15 to 20 minutes, get up and do something quiet until you feel sleepy. Trying to suppress the thoughts tends to make it take longer to fall asleep.

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

In a 2018 Baylor sleep-lab study of 57 young adults, people who spent five minutes writing a to-do list fell asleep about nine minutes faster than people who wrote about tasks they had finished. The more specific the list, the faster they fell asleep. It was a single night with people who didn't have insomnia, so treat it as promising rather than proven.

Why do my thoughts race when I try to sleep?

Lying in the dark is often the first moment all day when nothing demands your attention, so unfinished tasks, unsolved problems and unprocessed feelings come back. Research on people with insomnia finds their pre-sleep thoughts are often about planning or problem-solving, and that worry raises arousal, which makes sleep harder.

Do breathing exercises help with racing thoughts at night?

They can help some people. A small 2015 study found that 20 minutes of slow breathing at about six breaths a minute before bed shortened the time it took people with insomnia to fall asleep. The evidence is still limited, so treat breathing as one useful tool, not a cure.

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

If racing thoughts keep you awake most nights for weeks, or poor sleep makes daily life hard, talk to a doctor. Cognitive behavioral therapy for insomnia (CBT-I) is the recommended first treatment for chronic insomnia, and a clinician can check for anxiety, depression or other sleep disorders.

This article is general information, not medical advice. If you’re struggling, talk to a doctor or a licensed therapist. If you’re not safe right now, call your local emergency number or see our crisis resources.

Sources

  1. Scullin, M. K., Krueger, M. L., Ballard, H. K., Pruett, N., & Bliwise, D. L. (2018). The effects of bedtime writing on difficulty falling asleep: A polysomnographic study comparing to-do lists and completed activity lists. Journal of Experimental Psychology: General. link
  2. Harvey, A. G. (2002). A cognitive model of insomnia. Behaviour Research and Therapy. link
  3. Lemyre, A., Belzile, F., Landry, M., Bastien, C. H., & Beaudoin, L. P. (2020). Pre-sleep cognitive activity in adults: A systematic review. Sleep Medicine Reviews. link
  4. Schmidt, R. E., Harvey, A. G., & Van der Linden, M. (2011). Cognitive and affective control in insomnia. Frontiers in Psychology. link
  5. Carney, C. E., & Waters, W. F. (2006). Effects of a structured problem-solving procedure on pre-sleep cognitive arousal in college students with insomnia. Behavioral Sleep Medicine. link
  6. McGowan, S. K., & Behar, E. (2013). A preliminary investigation of stimulus control training for worry: Effects on anxiety and insomnia. Behavior Modification. link
  7. Harvey, A. G., & Farrell, C. (2003). The efficacy of a Pennebaker-like writing intervention for poor sleepers. Behavioral Sleep Medicine. link
  8. Mooney, P., Espie, C. A., & Broomfield, N. M. (2009). An experimental assessment of a Pennebaker writing intervention in primary insomnia. Behavioral Sleep Medicine. link
  9. Harvey, A. G. (2003). The attempted suppression of presleep cognitive activity in insomnia. Cognitive Therapy and Research. link
  10. Harvey, A. G., & Payne, S. (2002). The management of unwanted pre-sleep thoughts in insomnia: Distraction with imagery versus general distraction. Behaviour Research and Therapy. link
  11. Tsai, H. J., Kuo, T. B., Lee, G. S., & Yang, C. C. (2015). Efficacy of paced breathing for insomnia: Enhances vagal activity and improves sleep quality. Psychophysiology. link
  12. Balban, M. Y., Neri, E., Kogon, M. M., Weed, L., Nouriani, B., Jo, B., Holl, G., Zeitzer, J. M., Spiegel, D., & Huberman, A. D. (2023). Brief structured respiration practices enhance mood and reduce physiological arousal. Cell Reports Medicine. link
  13. Rusch, H. L., Rosario, M., Levison, L. M., Olivera, A., Livingston, W. S., Wu, T., & Gill, J. M. (2019). The effect of mindfulness meditation on sleep quality: A systematic review and meta-analysis of randomized controlled trials. Annals of the New York Academy of Sciences. link
  14. Ong, J. C., Manber, R., Segal, Z., Xia, Y., Shapiro, S., & Wyatt, J. K. (2014). A randomized controlled trial of mindfulness meditation for chronic insomnia. Sleep. link
  15. Findley, J. (n.d.). Stimulus control. University of Pennsylvania Behavioral Sleep Medicine Program. link
  16. Edinger, J. D., Arnedt, J. T., Bertisch, S. M., Carney, C. E., Harrington, J. J., Lichstein, K. L., Sateia, M. J., Troxel, W. M., Zhou, E. S., Kazmi, U., Heald, J. L., & Martin, J. L. (2021). Behavioral and psychological treatments for chronic insomnia disorder in adults: An American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine. link
  17. NHS (n.d.). Insomnia. NHS. link
  18. Qaseem, A., Kansagara, D., Forciea, M. A., Cooke, M., & Denberg, T. D. (2016). Management of chronic insomnia disorder in adults: A clinical practice guideline from the American College of Physicians. Annals of Internal Medicine. link

Keep reading

Set the day down tonight

Auserene is a journal that listens, remembers what helps you, and turns your day into a meditation. It’s in beta on iPhone.

Join the beta