English · Français · Deutsch · Español · العربية
Updated 28 October 2026 · Published by Loopless Mind, the editorial site of the unLooper app's developer. Educational content, not medical advice.
An illustrative example: Priya flipped her pillow to the cool side for the third time. Her body was heavy, her eyes stung, and she had been yawning on the bus home. Yet the moment her head settled, her mind sped up: the dentist appointment she forgot to book, the slightly awkward thing she said to her sister, the rent going up in January, a work presentation that was still two weeks away. Each thought pulled in another, faster and faster, as if her brain had saved its busiest hour for the one moment she wanted it quiet.
If that sounds familiar, you are not unusual and you are not doing sleep wrong. This guide explains how to stop racing thoughts at night with a handful of practical, low-effort techniques, why the mind tends to accelerate in the dark, and what to do on the nights when nothing seems to work. None of it requires perfect discipline. The goal is not a silent mind, but a slower one that lets sleep arrive.
Racing thoughts are a stream of thinking that feels fast, hard to steer and hard to stop. At night they often jump between topics with little logic: a bill, then a childhood memory, then a worry about your health, then a sentence from an email. Sometimes it is one topic on repeat, like a song stuck in your head. Many people describe the feeling that they "can't sleep, mind racing" even though their body is clearly exhausted.
It helps to notice the difference between thinking and racing. Thinking has a direction: you consider a problem and reach some kind of conclusion, even a provisional one. Racing has momentum but no destination. You end up exactly where you started, only more awake. Recognising that you are in the second mode is the first small step, because it tells you that more thinking is unlikely to help right now.
During the day, your attention is constantly occupied by conversations, screens, tasks and noise. When you lie down in a dark, quiet room, those external demands disappear. Unfinished business that was pushed aside all day finally gets the stage to itself.
The psychologist Allison Harvey described an influential cognitive model of insomnia in 2002. In her account, worry before sleep raises arousal, and that arousal makes people more likely to scan for signs that something is wrong, including signs that they are not falling asleep. Checking the clock, noticing your heartbeat, calculating how many hours are left: all of these feed more worry, which feeds more arousal. The model also points out that some of the things people do to cope, such as trying hard to force sleep, can keep the cycle going.
A related idea, the perseverative cognition hypothesis proposed by Brosschot and colleagues in 2006, suggests that repetitive worry can extend the body's stress response beyond the moment that triggered it. In plain terms, the deadline might be a week away, but replaying it at night can keep your body acting as though it is happening now. These are models, not final answers, but they explain why night-time thinking feels so physical: a busy mind and an alert body tend to keep each other going.
Racing thoughts rarely come from nowhere. Common triggers include:
Open loops. Tasks you have not written down or scheduled, so your mind keeps "holding" them for you.
Unprocessed conversations. A comment at work or a tense message from a friend that you never had time to think through during the day.
Anticipation. An exam, an interview, a medical result or a trip tomorrow morning.
Going straight from busy to bed. Answering emails at 10:45 and switching off the light at 10:50 leaves no time to wind down.
Late caffeine or alcohol. Both can make sleep lighter or more broken, which gives thoughts more chances to start up.
Fear of not sleeping itself. After a few bad nights, bedtime can become a cue for worry rather than rest.
Some responses feel reasonable in the moment but tend to make racing thoughts worse. Scrolling your phone "until you feel tired" exposes you to bright light and fresh information, both of which give your mind more to chew on. Trying to solve a big life problem at 1 a.m. usually produces worst-case thinking rather than solutions, because tired brains are poor judges of risk. Watching the clock turns each passing minute into a small alarm. And lying in bed for hours, fighting your thoughts, can slowly teach your brain that bed is a place for wrestling with problems.
One of the simplest ways to quiet racing thoughts at night is to move them out of your head before you lie down. Keep a notebook and pen by the bed, not your phone. Spend five to ten minutes writing down everything that is on your mind, then mark which items belong to tomorrow and which you cannot do anything about tonight.
There is some interesting evidence here. A 2018 sleep-lab study by Scullin and colleagues compared people who spent five minutes writing a to-do list for the coming days with people who wrote about tasks they had already completed. Those who wrote to-do lists fell asleep faster on average, and more specific lists were linked with quicker sleep onset. The study was small and involved healthy young adults, so it is not proof that writing works for everyone, but it is a low-cost experiment worth trying. If you want a full method with examples, our guide to the bedtime brain dump walks through it step by step.
Make tomorrow's items concrete: not "sort out money" but "check the electricity bill at lunchtime." A vague worry keeps knocking; a specific next step with a time attached gives your mind permission to let go.
When thoughts race, breathing often becomes quick and shallow. Gently slowing it can help your body shift towards a calmer state. Try this in bed: breathe in through your nose for a count of about four, then breathe out slowly through your mouth for a count of about six. Let the out-breath be longer than the in-breath. Keep going for a few minutes without forcing anything. If counting makes you more alert, simply notice the air moving in and out.
Light matters too. NHS sleep guidance recommends a regular routine, winding down before bed and keeping your bedroom dark and quiet. In practice, that means switching to lamps rather than ceiling lights in the last hour, turning screen brightness down, and keeping any light you use at night as dim as you safely can. For more breathing patterns you can use at any time of day, see our breathing exercises for stress.
Racing thoughts are hard to stop by willpower, but they can sometimes be crowded out. A technique sometimes called the cognitive shuffle, or serial diversion, works like this: pick a neutral word such as "garden." Take the first letter, G, and picture a series of unrelated things that start with it: a grape, a guitar, a glove, a goat. Spend a few seconds imagining each one, then move on. When you run out, go to the next letter, A, and continue.
The idea is that random, harmless images keep your mind busy enough to block worry, but not so engaged that they wake you up, a bit like the drifting, disconnected imagery of the moments before sleep. The research on this specific technique is limited, so treat it as a personal experiment rather than a proven fix. Some people find it surprisingly effective; others find it irritating. Either result is useful information.
This sounds backwards, but it is a well-established idea in sleep therapy called stimulus control. If you have been lying awake for what feels like a long time and your thoughts are only getting louder, get up, go to another dimly lit room and do something calm and boring: fold laundry, read a paper book, listen to quiet audio. Return to bed when you feel sleepy again.
The aim is to protect the link between your bed and sleep. A few cautions: do not check the clock to time it exactly, because that adds pressure; avoid bright screens and anything stimulating; and if you have a health condition, are pregnant, or find this makes you very anxious, it is worth discussing a structured version with a doctor or sleep specialist rather than improvising.
Here is an illustrative example of how the techniques can fit together. Daniel, a nurse coming off a long week of day shifts, knows Thursday nights are his worst. This time, at 9:30 he puts his phone on charge in the kitchen. At 10:00 he sits on the edge of the bed with a notebook and writes for eight minutes: "Car service, call garage at 8:15. Mum's birthday present, order on Saturday morning. Did I hand over the patient notes properly? Ask Ana at 7:00 handover. Worry about money in general, no action tonight."
He draws a line under the list and writes "Done for today." He turns off the main light, uses a bedside lamp for ten minutes of reading, then switches it off and does slow breathing, in for four and out for six. Around twenty breaths in, his mind jumps back to the patient notes. He reminds himself that it is already on the list for 7:00, and starts the cognitive shuffle with the word "bread": a bicycle, a balloon, a beach umbrella. He does not remember reaching the letter R.
Not every night will go like this. On another night Daniel might still be awake later on, get up, sit in the living room under a dim lamp with a magazine, and go back to bed when his eyes feel heavy. That still counts as a good response, not a failure.
Trying to force your mind blank. Telling yourself "stop thinking" tends to make thoughts more noticeable. Redirect instead of suppressing.
Writing a list that becomes a new worry. If your notes turn into a long essay about everything that could go wrong, shorten them to items and next steps.
Using every technique at once. Pick one or two and practise them for a week or two before judging.
Treating one bad night as a disaster. Occasional poor sleep is common. Catastrophising about tomorrow's tiredness adds arousal. Our guide on how to stop catastrophizing can help with that spiral.
Checking the time. Turn the clock away from the bed. Knowing the exact minute rarely helps you sleep.
About an hour before bed, dim the lights and put your phone away from the bed.
Spend five to ten minutes writing down what is on your mind; turn tomorrow's items into specific next steps with a time.
Draw a line under the list and close the notebook as a signal that the day is finished.
In bed, breathe slowly with a longer out-breath for a few minutes.
If thoughts start racing again, gently note "that's on the list" or begin the cognitive shuffle.
If you have been awake a long while and feel more alert, get up, sit somewhere dim and calm, and return when sleepy.
In the morning, look at your list and do the first small item, so your brain learns the list can be trusted.
They may be there in the day too, but busy surroundings keep your attention elsewhere. At night, with fewer distractions, unfinished concerns become much more noticeable, and tiredness can make them feel more urgent than they are.
Some people notice a difference the first night, especially with writing things down. For others it takes a couple of weeks of consistent practice for the brain to start associating bedtime with winding down again. Be patient and keep it simple.
For many people, quiet audio such as a calm podcast or soft sound can give the mind a gentle focus. Choose something low-stakes that you will not want to stay awake for, set a sleep timer, and keep the screen off.
The same tools apply: slow breathing, the cognitive shuffle, or a quick note on the pad by your bed in dim light. If you stay wide awake for a long time, get up briefly rather than wrestling with it in bed.
Racing thoughts can sometimes be part of physical or mental health conditions, or a side effect of certain medicines or substances. If they are persistent, severe, getting worse, or come with other symptoms such as very low or unusually high mood, panic, a racing heart, or several nights in a row with little or no sleep, please speak to a doctor. Only a professional can work out what is going on. The same applies if overthinking is seriously affecting your sleep, work or relationships.
If you ever have thoughts of harming yourself, reach out straight away. In the US, call or text 988. In the UK, you can call Samaritans on 116 123. If you are in immediate danger, contact your local emergency services.
You do not need to win an argument with your thoughts to fall asleep. You just need to give them somewhere to go, lower the volume on your body's alarm system, and stop treating bed as a battleground. Start with one change tonight, perhaps the notebook or the longer out-breath, and notice what happens over the next week.
If you would like a structured version of this routine on your phone, unLooper has a feature called Quiet Mind at Night. It guides a short bedtime brain dump that helps you sort tomorrow's worries from tonight's, followed by breathing and grounding exercises. It is entirely optional; a notebook works well too.
unLooper is an iPhone app made by the publisher of this site. It is a self-reflection tool, not therapy or medical treatment, and it cannot promise any particular result. If you are curious, you can find unLooper on the App Store.
Harvey, A. G. (2002). A cognitive model of insomnia. Behaviour Research and Therapy. https://doi.org/10.1016/S0005-7967(01)00061-4
Scullin, M. K., et al. (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. https://doi.org/10.1037/xge0000374
Brosschot, J. F., Gerin, W., & Thayer, J. F. (2006). The perseverative cognition hypothesis: A review of worry, prolonged stress-related physiological activation, and health. Journal of Psychosomatic Research. https://doi.org/10.1016/j.jpsychores.2005.06.074
NHS Every Mind Matters. How to fall asleep faster and sleep better. https://www.nhs.uk/every-mind-matters/mental-wellbeing-tips/how-to-fall-asleep-faster-and-sleep-better/