How to Quiet Racing Thoughts at Night
It can feel like your mind is working against you at 11pm. It's likely that this is the first time all day that nothing is standing between you and everything you have been carrying in your mind.
The short answer
- Racing thoughts at bedtime may be the result of cognitive hyperarousal, one of the factors that perpetuate chronic insomnia.
- Trying to stop thinking rarely succeeds because suppression itself requires effort, and effort can easily lead to hyperarousal.
- A more effective approach is to give that thinking a properly scheduled time: setting aside dedicated time earlier in the evening to let your mind work it all out before you get into bed.
- If you are already lying awake with a racing mind, the best thing you can do is leave the bed and return only when sleepy rather than remaining in bed.
For education only, and not a substitute for advice from your own doctor or prescriber.
Do your answers fit the pattern for insomnia?
Four yes/no questions, about thirty seconds. Your result shows straight away, and no email is needed.
When the house goes quiet but the mind does not
The lights are off, the room is still, and precisely then, as you finally lie down, your mind begins its full inventory of everything unresolved: every conversation, every decision, every task. This is not your mind being contrary. It is, in a meaningful sense, the opposite.
Why the thoughts arrive at bedtime
Throughout the day, your attention is occupied: work, people, screens, traffic, obligations. Reflection has no room to surface. By the time you reach bed, the day has finally released its hold, and everything that was quietly queued is suddenly free to arrive. Your brain has not switched on. Everything else has simply switched off.
For those with chronic insomnia, there is an additional layer: cognitive hyperarousal. Hyperarousal is among the factors that perpetuate chronic insomnia, and the sleep environment itself becomes part of the problem.1 A bed that has quietly hosted many nights of anxious thought has, in effect, learned to cue exactly that.
Why "just stop thinking" does not work
Not thinking about something requires repeatedly checking whether you are thinking about it. Suppression is an active undertaking. It demands effort, which can easily lead to hyperarousal, the very state you are trying to leave. Most people who have lain in the dark instructing themselves to clear their mind have experienced how poorly this goes.
This has been tested, in a small way. Volunteers were asked to fall asleep either as quickly as they could or whenever they liked, while listening to either restful music or Sousa marches. With the restful music, trying to fall asleep quickly worked. With the marches — a mind already loaded — the people trying to fall asleep quickly took longer to get there than the people who were not trying at all.3
One strategy that works is not suppression but creating deliberate opportunities for your brain to worry so you can feel less activated at bedtime.
How to schedule "worry time"
Set aside fifteen minutes in the early evening, well before bed. Somewhere other than the bedroom, with something to write with if that's helpful.
Write down a list of what is on your mind. Beside each item, add what you have to do or need to do for it, or write "nothing tonight" if it doesn't require action on your part. You are not trying to resolve anything at this moment. You are giving each thought proper acknowledgment, so that when you turn off the light, it has already been attended to.
This has a name in the treatment literature. CBT-I programs call it constructive worry — "skills to overcome worry in bed by writing down the worries and their solutions before going to bed" — and it appears as a component in trials of the therapy.4
Unresolved thoughts tend to resurface precisely because they have gone unacknowledged. Once written down and recognized, they typically return far less often.
Keep a notepad by the bed — if you wake up thinking about something in particular, briefly write it down in the same format as your other list. What you want to avoid is trying to work anything out at that moment, especially in bed. Write it down as something to consider later when you wake up.
When racing thoughts happen at 2am
You are in bed, your mind is in motion, and frustration is setting in. The best action here is to leave the bed, go to another room, engage in something quiet and undemanding, and return when you feel sleepy.
Why is that? The answer is stimulus control. When you have racing thoughts at 2am frequently, your mind starts to associate your bed with racing thoughts and the feelings of stress and anxiety that come with them.1 While it may seem logical or tempting to stay in bed, each time you remain in bed you strengthen the association of your bed with being awake. Getting out of bed when it happens is the first step towards helping your mind disassociate your bed from racing thoughts and the feelings that follow, so that you can start associating your bed with being sleepy and being asleep again.
The American Academy of Sleep Medicine's 2021 guideline recommends cognitive behavioral therapy for insomnia, or CBT-I, as the first treatment for chronic insomnia. Stimulus control is a core component of CBT-I and is one of the program elements that work together to help you learn to sleep better again.2
A note on relaxation, mindfulness and meditation apps
Relaxation therapy holds a conditional recommendation from the AASM as a single-component treatment, while the guideline's only strong recommendation goes to the full multicomponent CBT-I program.2 If a breathing exercise or body scan helps you settle, it is a legitimate and reasonable tool. Mindfulness or meditation by itself is on thinner ground: the same guideline found there was not enough evidence to make recommendations on using mindfulness alone for insomnia.5
One note of caution on using a relaxation technique as a means of forcing sleep. The moment it becomes a method for making sleep happen, it potentially becomes another test you can "fail", and that could then fuel further stress and anxiety, which in turn makes chronic insomnia worse.3
When the thoughts are about sleep itself
If your racing thoughts at 2am are largely about sleep itself (the hours remaining or whether this will ever resolve), that pattern may be characteristic of sleep-related anxiety rather than more generalized anxiety. Sleep-related worry and cognitive arousal are well-recognized experiences of chronic insomnia and often maintain it over time. They are also part of the diagnosis rather than something sitting on top of it: "concerns about or dissatisfaction with sleep" is one of the daytime symptoms listed in the criteria for chronic insomnia disorder.6
Common questions
Why do my thoughts race as soon as I get into bed?
How do I stop overthinking at night?
Should I write things down in the middle of the night?
Does meditation stop racing thoughts?
Is this anxiety or insomnia?
References
- Chronic Insomnia. StatPearls, NCBI Bookshelf.
- Edinger JD, et al. Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine. 2021;17(2):255-262. doi:10.5664/jcsm.8986
- Ansfield ME, Wegner DM, Bowser R. Ironic effects of sleep urgency. Behaviour Research and Therapy. 1996;34(7):523-531. doi:10.1016/0005-7967(96)00031-9
- Furukawa Y, Sakata M, Yamamoto R, et al. Components and delivery formats of cognitive behavioral therapy for chronic insomnia in adults: a systematic review and component network meta-analysis. JAMA Psychiatry. 2024;81(4):357-365. doi:10.1001/jamapsychiatry.2023.5060
- Psychological and Physical Approaches for Sleep Disorders: What the Science Says. NCCIH Clinical Digest, National Center for Complementary and Integrative Health.
- Insomnia chapter, International Classification of Sleep Disorders, Third Edition, Text Revision (ICSD-3-TR). American Academy of Sleep Medicine; 2023.
Next in this path
Sleep Anxiety: Why It Happens and How to Treat It
Fear of not sleeping often keeps the struggle alive. The good news is that fear can be addressed and reduced with treatment.
CBT-I and Insomnia TreatmentWhat to Do When You Can't Fall Asleep
The most effective answer is also the simplest, and the least welcome: do not just lie there. Here is why getting out of bed is the thing that breaks the habit.
CBT-I and Insomnia TreatmentWhy the Insomnia Cycle Is So Hard to Break
The reason you cannot sleep tonight is almost certainly not the reason you could not sleep the first time. That is good news, and it is the basis of the treatment.