Ways to Stop Overthinking at Night (So You Can Finally Sleep)

If you want to stop overthinking at night, the most effective approach is to deal with your worries earlier in the evening, give your mind something calm and neutral to focus on in bed, and get up for a while if you have been lying awake for a long time. These are simple, evidence-based habits drawn from the same principles used in therapy for insomnia. They will not work perfectly on the first night, but with a little consistency most people find the mental noise starts to settle.
Why Your Mind Gets Louder at Night
During the day, your attention is constantly pulled outward: work, conversations, errands, notifications. All of that activity keeps worries in the background. When you finally lie down in a dark, quiet room, those distractions disappear, and whatever you have been carrying all day has the stage to itself. It is a bit like how anxiety can feel louder when you are alone and everything goes quiet.
Tiredness plays a part too. When you are worn out, the parts of the brain that help you keep things in perspective work less efficiently, so a small worry can start to feel urgent or catastrophic. There is also a frustrating feedback loop: you notice you are not sleeping, you start worrying about how tired you will be tomorrow, and that worry wakes your body up even more. Your heart may speed up, your muscles tense, and sleep slips further away.
If this sounds familiar, you are not doing anything wrong. A mind that won't switch off at bedtime is very common, especially during stressful periods. If you notice the same thoughts circling during the day as well, our guide to the signs of an overthinking loop may help you recognize the pattern. The good news is that the brain responds well to routine and practice, so the techniques below tend to get easier and more effective over time.
Start Earlier: Set Up Your Evening for a Quieter Mind
Many people try to fix nighttime overthinking only once they are already in bed. In reality, some of the most helpful steps happen hours before.
1. Schedule "Worry Time" Earlier in the Evening
Worry time is a technique often used in cognitive behavioral therapy. Set aside 15 to 20 minutes in the early evening, well before bed, to sit down with a notebook and deliberately think through what is bothering you. Write each worry down, and next to it note one small next step you could take, or simply "nothing I can do tonight."
The idea is not to solve everything. It is to give your worries a dedicated time and place so they are less likely to ambush you at midnight. If a worry shows up later in bed, you can remind yourself gently: "I've written that down, and I'll come back to it tomorrow."
2. Build a Consistent Wind-Down Routine
Your brain learns from repetition. If the last half hour or so before bed looks roughly the same each night, it starts to recognize those cues as a signal to slow down. Your routine could include dim lights, a warm shower, light stretching or an undemanding book. What matters most is that it is relaxing for you and that you do it fairly consistently. Going to bed and, especially, getting up at around the same time every day also helps steady your body clock.
3. Put Screens Away Before Bed
Phones are designed to keep you engaged. Scrolling news, messages or social media right before sleep feeds your mind fresh material to chew on, and work emails can switch you straight back into problem-solving mode. Bright screens late in the evening can also make it harder to feel sleepy. Try putting your phone away a while before bed and charging it outside the bedroom if you can. If you find yourself staying up late just to claim some time for yourself, you may relate to revenge bedtime procrastination, and it is worth exploring why.
What to Do When Racing Thoughts Hit in Bed
Even with a good evening routine, there will be nights when your mind starts spinning as soon as your head touches the pillow. These techniques can help in the moment.
4. Do a Quick Brain Dump
Keep a notepad and pen by the bed. If a thought keeps looping, sit up, write it down in a few words, and lie back down. Getting it onto paper tells your brain that the thought has been captured and will not be forgotten, which often makes it easier to let go. Keep it brief: this is a quick offload, not a journaling session.
5. Try Cognitive Shuffling
Cognitive shuffling is a simple mental game designed to occupy your mind with calm, random images instead of worries. Pick a neutral word, such as "garden." Take the first letter, G, and think of words that start with it: grape, guitar, glove. Picture each one for a few seconds before moving on. When you run out, move to the next letter of your word.
Because the images are random and unconnected, they give your mind nothing to analyze or solve. Many people find this mimics the drifting, jumbled thinking that naturally happens as we fall asleep.
6. Slow Your Breathing
Slow, steady breathing can help calm the body's stress response. Breathe in gently through your nose, then let the out-breath be a little longer than the in-breath. Let your belly rise and fall rather than your chest. You do not need to count perfectly; the aim is simply a slower, softer rhythm. Pairing this with progressive muscle relaxation, where you tense and then release each muscle group from your feet upward, can help if your body feels tight or restless. If your heart is pounding, these ways to calm a racing heart during anxiety may also help.
7. Gently Reframe the Thought
At night, worries often arrive in their most dramatic form: "I'll never cope," "Everything is going wrong." Try asking yourself a few calm questions. Is this something I can actually do anything about right now? What would I say to a friend who had this thought? Will this feel as big in the morning? The aim is not to force positive thinking, but to remind yourself that a 2 a.m. thought is not always an accurate one. Often, simply labeling it ("this is a nighttime worry") takes away some of its power.
If You Have Been Awake a While, Get Out of Bed
This one can feel counterintuitive, but it is one of the best-supported strategies for sleep problems. It comes from a technique called stimulus control. If you have been lying awake for what feels like a long time, roughly 20 minutes or so (no need to watch the clock), get up and go to another room. Do something quiet and calm in dim light, such as reading a paper book or folding laundry, and return to bed only when you feel sleepy.
The reason this works is that lying in bed awake and frustrated night after night teaches your brain to link your bed with worry and wakefulness. Getting up breaks that link. Over time, your bed becomes associated with sleep again. It also helps to keep the bed for sleep and intimacy only, rather than working, scrolling or watching TV in it.
When to Talk to a Doctor About Sleep and Overthinking
An occasional restless night is a normal part of life. But it is a good idea to talk to your doctor if you can't sleep from thinking too much for several weeks, if poor sleep is affecting your mood, work or relationships, or if you often feel exhausted during the day.
Ongoing racing thoughts at night can sometimes be linked with anxiety or depression, and sleep problems and mental health often affect each other in both directions. A doctor can look at the bigger picture, check for other causes, and talk you through options. For chronic insomnia, the recommended first-line treatment is cognitive behavioral therapy for insomnia (CBT-I), a structured, short-term program that includes many of the techniques in this article, guided by a trained professional. It is available in person and, in many places, through digital programs. If anxiety or low mood is part of the picture, you may find it helpful to read about how CBT and medication compare.
Please reach out for help right away if your nighttime thoughts include thoughts of harming yourself or that life is not worth living. Contact your local emergency services or a crisis line. In the US, you can call or text 988, and in the UK, you can call Samaritans on 116 123.
Be Gentle With Your Nighttime Mind
Learning to stop overthinking at night is less about forcing your thoughts to go away and more about giving them a better time and place, and teaching your body that bed is somewhere safe to rest. Start with one or two techniques that feel manageable, such as worry time and cognitive shuffling, and give them a couple of weeks. Some nights will still be harder than others, and that is okay. Every small step you take toward a calmer evening is a kindness to your future self.
Frequently asked questions
Why do I overthink so much at night?
At night the distractions of the day fall away, so worries you pushed aside finally have your full attention. Tiredness also makes it harder to keep things in perspective, so small concerns can feel urgent. Worrying about not sleeping then adds to the stress, creating a loop that keeps your mind busy and your body alert.
How do I stop racing thoughts at night quickly?
Try writing the thought down on a notepad by your bed, then switch to cognitive shuffling: pick a neutral word and picture random objects that start with each letter. Pair it with slow breathing, letting each out-breath be a little longer than the in-breath. These give your mind something calm to focus on instead of your worries.
Should I get out of bed if I can't sleep from thinking too much?
Yes, if you have been lying awake for what feels like about 20 minutes. Go to another room, do something quiet in dim light, and return to bed when you feel sleepy. This approach, called stimulus control, helps your brain link your bed with sleep rather than with worrying and frustration.
What is cognitive shuffling?
Cognitive shuffling is a technique where you choose a neutral word and, letter by letter, imagine random unrelated objects that begin with each letter. Because the images do not connect, there is nothing to analyze or solve, which can quiet anxious thinking and resemble the drifting thoughts that come naturally as you fall asleep.
When should I see a doctor about overthinking at night?
See a doctor if sleep problems last several weeks, affect your mood or daily life, or come with ongoing anxiety or low mood. A doctor can check for other causes and discuss options such as CBT for insomnia, the recommended first-line treatment for chronic insomnia. Seek urgent help if you have thoughts of harming yourself.
- Call your local emergency number, or find a free helpline at findahelpline.com.


