How to Stop Overthinking at Night

Racing thoughts at bedtime? Practical ways to quiet nighttime rumination, from scheduled worry time and to-do lists to cognitive shuffling and getting out of bed, plus when it signals anxiety or insomnia.

HealthPathCore10 min read
A woman in white pajamas sitting on a bed with white sheets, looking off to the side in a softly lit bedroom

The short answer

To stop overthinking at night, give worries an earlier slot: write them down with one next step in the early evening and make a short to-do list before bed. In bed, use a calm, dull focus such as slow breathing or cognitive shuffling. If still awake after about 20 minutes, get out of bed until you feel sleepy.

Key takeaways

  • Overthinking gets louder at night because a dark, quiet room removes the distractions that keep worries in check during the day.
  • Rumination is repetitively going over negative thoughts without reaching a solution, and at bedtime it keeps the mind in an alert state that works against sleep.
  • A 15- to 20-minute worry session in the early evening, with one next step written beside each worry, gives thoughts a time slot other than bedtime.
  • Cognitive shuffling and slow breathing can give a racing mind a calmer focus, though the evidence for each on its own is limited.
  • Stimulus control, a core part of CBT for insomnia, means getting out of bed after about 20 minutes awake and returning only when sleepy.
  • Racing thoughts most nights for weeks can be a sign of anxiety, depression, or chronic insomnia, all of which respond to treatment.
  • Call or text 988 to reach the 988 Suicide and Crisis Lifeline if nighttime thoughts turn to death, suicide, or self-harm.

The day goes fine. Then the lights go out, and your brain starts replaying a conversation, rehearsing tomorrow's meeting, and drafting a list of everything that could go wrong. Nighttime overthinking is one of the most common reasons people lie awake, and it tends to feed itself: the longer you lie there thinking, the more awake you feel.

This guide is about the night itself: how to clear your head before bed, what to try when your mind will not switch off, and when the pattern points to anxiety, depression, or insomnia that deserves treatment. It cannot diagnose you, but it can help you choose what to try tonight and recognize when to get help. Quieter nights are a real part of caring for your mental health.

Why does overthinking get worse at night?

Overthinking gets louder at night mainly because nothing else is competing for your attention. During the day, work, conversations, and screens keep your mind busy. In a dark, quiet bedroom, unresolved worries finally have the floor.

Several other things stack up at bedtime:

  • You are tired. A tired brain finds it harder to shift attention, so a thought you could shrug off at noon can grip you at midnight.
  • You cannot act on anything. At night, problems stay abstract and unresolved, which tends to make them feel bigger and more threatening.
  • Not sleeping becomes the worry. Lying awake and calculating how little sleep you will get adds a fresh layer of tension on top of the original thoughts.
  • Your bed can become a cue for thinking. After many nights of lying awake worrying, the brain can start to link the bed itself with being alert, a pattern sleep specialists call conditioned arousal.

Stress plays a part too. The National Institute of Mental Health (NIMH) lists trouble falling or staying asleep among the symptoms of generalized anxiety disorder, and its fact sheet on coping with stress recommends sticking to a sleep routine and getting enough sleep.

What is bedtime rumination?

Rumination is repetitively going over the same negative thoughts, feelings, or events without reaching a solution, and bedtime rumination is that loop showing up just as you try to fall asleep. It might be replaying something you said or circling questions like "why does this always happen to me?" Worry is its forward-looking cousin: running through what might go wrong tomorrow or next month.

Both feel productive, as if you are working on the problem. In practice, you rarely solve anything at 1 a.m., and the effort keeps your body and mind in an alert state that is the opposite of what sleep needs. For a fuller explanation of the pattern itself, including how it links to anxiety and low mood, read about why your mind gets stuck in overthinking loops. The rest of this guide focuses on what to do about it at night.

How does scheduled worry time help you sleep?

Scheduled worry time gives your worries a set appointment earlier in the evening, so they have less reason to turn up at bedtime. It is a common technique in cognitive behavioral therapy (CBT), a structured talking therapy that targets unhelpful thought patterns and the habits that keep them going.

Here is a simple version:

  1. Pick a 15- to 20-minute window in the early evening, at least a couple of hours before bed, somewhere other than your bedroom.
  2. Write down everything on your mind without filtering it.
  3. Beside each item, write one next step if there is one, even a tiny one: "email the landlord Monday" or "check the bill." If there is nothing you can do, write that down too.
  4. Close the notebook. That is the end of today's worrying.
  5. When a worry pops up later, remind yourself it can wait for tomorrow's session.

Research on worry time used on its own is limited, but it carries little risk, and many people find that worries feel lighter once they are on paper with a plan beside them. NIMH suggests keeping a journal as one way to cope with stress.

Should you write a to-do list or worry list before bed?

If your nighttime thoughts are mostly about tasks, a quick to-do list before bed may help. A lot of late-night thinking is your brain trying not to forget something, and writing it down hands the job to the paper.

Keep it specific: what you need to do tomorrow and over the next few days, not a full life plan. Some early research suggests that writing a specific to-do list at bedtime may help people fall asleep a little faster, though the studies so far are small.

Save the bigger, vaguer worries for earlier in the evening, as part of worry time, so you are not opening heavy topics right before you turn off the light.

What can you do in bed when your mind will not switch off?

When your mind is racing in bed, the goal is not to force thoughts out, which rarely works, but to give your attention something calmer and duller to hold onto. Here are several options, with honest notes on the evidence.

Cognitive shuffling

Cognitive shuffling, sometimes called serial diverse imagining, means deliberately picturing a series of random, unrelated, neutral things. Pick a word like "garden," then for each letter think of words that start with it and picture each one for a few seconds: grape, guitar, glove, then apple, anchor, and so on. The idea is that scrambled, meaningless images resemble the drifting thoughts of falling asleep and crowd out problem-solving. It is popular and low risk, but the research behind it is still small and early, so treat it as worth a try rather than proven.

Slow breathing

Breathing slowly, with an exhale longer than your inhale, may help calm the body's stress response. The National Center for Complementary and Integrative Health (NCCIH) reports early evidence that diaphragmatic breathing may reduce stress, though it also notes that relaxation techniques used alone do not seem especially promising for sleep. Use breathing to take the edge off physical tension rather than expecting it to knock you out. Step-by-step instructions are in this guide to box breathing and slow exhale techniques.

Muscle relaxation or a body scan

Tensing and releasing each muscle group from your feet upward, or simply moving your attention slowly through your body, gives your mind a physical task. NCCIH notes that relaxation is sometimes one component of cognitive behavioral therapy for insomnia, which is where it seems to help most.

Park the thought

If one worry keeps coming back, keep a notepad by the bed, write one or two words, and remind yourself it is booked for tomorrow's worry time.

Here is how the main techniques compare:

TechniqueHow to do itWhen it helps most
Scheduled worry timeWrite worries and one next step for each, for 15 to 20 minutes in the early evening, away from the bedroomWhen the same worries return night after night
Bedtime to-do listList tomorrow's specific tasks just before bedWhen your thoughts are about remembering or planning tasks
Cognitive shufflingPicture random, unrelated, neutral objects, letter by letter from a chosen wordWhen you feel sleepy but your mind keeps replaying or planning
Slow breathingBreathe in gently, then breathe out for longer, for several minutesWhen your body feels wound up, with a racing heart or shallow breathing
Muscle relaxation or body scanTense and release, or slowly notice, each part of the body from feet to headWhen tension sits in your jaw, shoulders, or stomach
Getting out of bedAfter about 20 minutes awake, go to another room, do something calm in dim light, and return when sleepyWhen you feel frustrated or wide awake, or keep checking the clock
Parking the thoughtJot one or two words on a bedside notepad and postpone the worryWhen a single worry keeps coming back

Should you get out of bed if you cannot stop thinking?

Yes. If you have been lying awake for what feels like about 20 minutes, getting up usually works better than staying and wrestling with your thoughts. This is the core of stimulus control, a part of cognitive behavioral therapy for insomnia (CBT-I) that aims to rebuild the link between your bed and sleep.

The National Heart, Lung, and Blood Institute (NHLBI) describes stimulus control as going to bed only when sleepy, using the bed only for sleep and sex, and getting out of bed if you cannot sleep. MedlinePlus gives similar advice: if you cannot fall asleep within 20 minutes, get up and do something relaxing.

How to do it at night:

  • Estimate the time rather than checking it. Turning the clock away from the bed helps.
  • Go to another room with dim light. Read something unexciting, fold laundry, or listen to calm audio.
  • Skip your phone, work email, and anything that could pull you deeper into thinking.
  • Go back to bed only when you feel sleepy, and repeat as often as you need to.
  • Get up at your usual time the next morning, however the night went.

The first few nights can feel harder, but the payoff is long term: over time, your bed becomes a place for sleep again rather than a place for thinking. If falling asleep is hard even on calm nights, look into other common causes of insomnia as well.

What makes nighttime overthinking worse?

Some evening habits make racing thoughts more likely or harder to escape, and most of them are easy to change.

  • Scrolling in bed. News, social media, and messages hand your mind fresh material to chew on, and the CDC suggests turning off devices at least 30 minutes before bed. Charge your phone outside the bedroom if you can.
  • Caffeine late in the day. NIMH advises avoiding excess caffeine when you are stressed, and the CDC suggests avoiding caffeine in the afternoon or evening.
  • Alcohol to unwind. A drink may make you drowsy at first, but alcohol tends to break up sleep later in the night, which can leave you awake with your thoughts in the small hours.
  • Clock-watching. Checking the time turns every wake-up into a countdown and raises the pressure to sleep.
  • Trying hard to sleep. Sleep is something you allow rather than force. Effort tends to keep you awake, so aim simply to rest.
  • Going to bed too early. Lying down before you feel sleepy just gives your mind more time to wander. A steady routine, which NIMH recommends, works better.

Is it anxiety, depression, or insomnia?

Occasional nights of racing thoughts during a stressful stretch are normal. When it happens most nights, lasts for weeks, or spills into your days, it may be part of a condition that responds well to treatment. These patterns can help you know what to raise with your doctor.

What you noticeWhat it may point toTreatments with good evidence
Hard-to-control worry about many everyday things on most days, with restlessness, tension, or poor concentrationGeneralized anxiety disorderCBT, medication, or both
Low mood, loss of interest, guilt, or hopelessness most of the day for two weeks or moreDepressionTalk therapy, medication, or both
Trouble falling or staying asleep three or more nights a week for more than three monthsChronic insomniaCBT for insomnia, usually the first treatment
Racing thoughts with very little need for sleep, unusual energy, or risky behaviorA mood episode that needs prompt assessmentSee a doctor or mental health professional soon

Generalized anxiety disorder (GAD) is a condition in which worry about ordinary matters is excessive and hard to control. NIMH describes it as difficult-to-manage worry on most days for at least six months, along with symptoms such as restlessness, fatigue, poor concentration, irritability, muscle tension, and sleep problems. This overview of anxiety and when to get help explains how it is treated.

If your nighttime thoughts are mostly heavy, self-critical, and hopeless, and your days feel flat, depression may be involved. It is worth reading about the signs that point to depression and talking to your doctor.

Insomnia often starts with stress and then keeps going on its own. NHLBI calls insomnia chronic when it happens three or more nights a week for more than three months, and says CBT-I, a program that usually lasts six to eight weeks, is usually recommended as the first treatment for long-term insomnia. Part of it is aimed directly at the worry about not sleeping.

When should you get help for overthinking at night?

Talk to your doctor or a mental health professional if overthinking keeps you awake most nights for more than a few weeks, if the techniques above have not helped, or if it is affecting your mood, work, or relationships. Your primary care provider can check for physical contributors, discuss treatment, and refer you for CBT or CBT-I, which NHLBI notes can be delivered in person, by phone, or online.

NIMH advises talking to a professional if stress feels unmanageable, if its symptoms interfere with your everyday life or lead you to avoid things, or if they seem to be always present.

Get help right away in these situations:

  • Thoughts of death, suicide, or harming yourself, including at night when they can feel louder: call or text 988 to reach the 988 Suicide and Crisis Lifeline, which is free, confidential, and open around the clock.
  • Immediate danger to yourself or someone else: call 911 or go to the nearest emergency room.
  • Drinking or using drugs to quiet your mind at night: tell your doctor, or call the SAMHSA National Helpline at 1-800-662-HELP (4357) for free, confidential support.
  • Several nights with almost no sleep and racing thoughts, especially with unusual energy: see a doctor promptly.

Nighttime overthinking is common, and it is treatable.

Common questions

Why does my brain not shut off at night?
Mostly because bedtime is the first quiet moment of the day, with nothing else competing for your attention. Tiredness makes it harder to redirect your thoughts, problems feel bigger when you cannot act on them, and worrying about not sleeping adds more tension. Stress, anxiety, caffeine, and late screen use can all make it worse, while a steady sleep routine and an earlier worry session may help.
What is cognitive shuffling?
Cognitive shuffling, also called serial diverse imagining, is a technique for falling asleep in which you picture a series of random, unrelated, neutral objects. You might pick a word and imagine things that begin with each of its letters in turn. The aim is to replace problem-solving thoughts with drifting images. It is low risk and many people like it, but research on it is still limited.
Should I get out of bed if I can't stop thinking?
Usually, yes. If you have been awake for about 20 minutes, go to another room, do something calm in dim light, and return only when you feel sleepy. This is stimulus control, a core part of cognitive behavioral therapy for insomnia, and it helps your brain relearn that bed is for sleep. Get up at your usual time the next morning either way.
Does writing down your worries help you sleep?
It may. Writing worries down earlier in the evening, with one possible next step beside each, can make them feel more contained by bedtime, and NIMH suggests keeping a journal as one way to cope with stress. A short, specific to-do list just before bed may also help if your thoughts are about tasks. The evidence is still modest, but the risk is low.
Is overthinking at night a sign of anxiety?
It can be, but not always. Occasional racing thoughts during a stressful time are normal. According to NIMH, worry that is hard to control on most days for at least six months, with symptoms such as restlessness, tension, fatigue, poor concentration, or sleep problems, may be generalized anxiety disorder. Nighttime overthinking can also be linked to depression or insomnia, and a doctor can help sort out which applies.
What is the best breathing technique for sleep?
There is no single best one. Slow breathing with an exhale longer than the inhale, or box breathing at a gentle pace, may calm the body's stress response. NCCIH reports early evidence that diaphragmatic breathing can reduce stress, but relaxation techniques used alone do not seem especially effective for sleep. Use breathing to ease tension alongside other habits, rather than as a cure.
When should I get help for racing thoughts at night?
See your doctor if racing thoughts keep you up most nights for more than a few weeks, if they affect your mood or daytime functioning, or if self-help has not worked. CBT and CBT for insomnia both have good evidence. If your thoughts turn to suicide or self-harm, call or text 988 right away, and call 911 if anyone is in immediate danger.

Sources

Published research and guidance this page draws on. Check the original where a detail matters to you.

  1. 1Generalized Anxiety Disorder: What You Need to KnowNational Institute of Mental Health (NIH)
  2. 2I'm So Stressed Out! Fact SheetNational Institute of Mental Health (NIH)
  3. 3DepressionNational Institute of Mental Health (NIH)
  4. 4InsomniaNational Heart, Lung, and Blood Institute (NIH)
  5. 5Insomnia TreatmentNational Heart, Lung, and Blood Institute (NIH)
  6. 6Healthy SleepMedlinePlus, U.S. National Library of Medicine
  7. 7Relaxation Techniques: What You Need To KnowNational Center for Complementary and Integrative Health (NIH)
  8. 8About SleepCenters for Disease Control and Prevention
  9. 9988 Suicide and Crisis Lifeline988 Suicide and Crisis Lifeline
  10. 10National Helpline, 1-800-662-HELP (4357)Substance Abuse and Mental Health Services Administration
#sleep#anxiety#overthinking#mental-health

This article is for general education and is not a substitute for professional medical advice. Speak with a qualified healthcare provider about your individual circumstances.

About HealthPathCore

An independent health knowledge library

Every article here is built from published research and guidance issued by named health bodies, written in plain language, and dated so you can see how current it is. When the evidence moves, we come back and correct the piece.

How we research and write

More in Mental Health

Clearer health, in your inbox

One practical, evidence-checked email a week. No spam, no hype, and you can unsubscribe anytime.

Made with Modulify