March 26, 2023/Sleep

How To Stop Your Mind From Racing and Get To Sleep

Tame racing thoughts with breathing exercises, screen time limits and connecting to your body

graphic of woman meditating on a bed

All is quiet. The lights are out, and your phone’s on sleep mode. You’d like to be in sleep mode, too, but your brain is relentlessly running through the list of things you have to get done tomorrow.


Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy

This happens to many people because, when we lie down in bed, environmental distractions are generally low, and we’re left alone with our thoughts.

It would be so simple if we just had an off switch for our brain. But there are reasons why it sometimes just keeps going, and going and going … often at the wrong times. How do you cut off the endless reel of images and thoughts running through your head before bed?

Behavioral sleep medicine specialist Michelle Drerup, PsyD, DBSM, explains why our minds tend to race at night and how to find relief so you can get your sleep back on track.

Why does my mind race at night?

While enjoying some daydreaming before bed can be a calming and normal thing to do, racing thoughts are on a whole other level.

“We have the good fortune of existing in bodies with a strong mind-body connection. But for most people who find themselves awake while lying in bed, their thoughts are not particularly positive in nature,” explains Dr. Drerup. “So, when our thoughts are stressful, our bodies respond in a similar fashion, and our fight-or-flight system is activated.”

Over time, this tendency to ruminate in bed gets reinforced, like a vicious loop. Then, our brains become conditioned to begin worrying when we lie down at night.

“The bed itself becomes associated with worry and anxiety,” says Dr. Drerup.

A particularly stressful week ahead may lead you to have a bit more cluster in your brain before bed. But if you find this is happening to you multiple nights in a row even when you don’t feel particularly stressed about anything, it may be a concern you want to address.

Racing thoughts can look different for everyone, but can include things like:

  • Different thoughts coming and going rapidly without pause.
  • Feeling like your mind is switching quickly from different topics, thoughts and scenarios
  • Going through various “what if” scenarios in your head, such as, “What if I forget my keys tomorrow?” or “What if I leave the stove on?”
  • Going through specific scenarios for the next day or the following week over and over on a constant loop in your head.
  • Worries are accompanied by physical symptoms like a quickening heartbeat, fast breathing, sweating or chest tightness.

How to deal with racing thoughts at night

Fortunately, there are ways to put the brakes on worrisome thoughts at night. Here are some tactics you can utilize to help put your mind to rest.

Try meditation before bed

Mindfulness can help you throughout the day, but it can also set you up for a better night’s sleep. Calming your brain isn’t an easy feat, but the practice of meditation has been shown to help settle you down before bed.


This can be achieved through slow breathing exercises or other relaxation techniques. Engaging in mindfulness-based techniques can also be beneficial because it trains you to view your thoughts from a curious standpoint, rather than buying into those negative thoughts.

“This can reduce fight-or-flight arousal,” says Dr. Drerup.

But keep in mind: Meditation practices may take numerous practice sessions to get down, so don’t feel discouraged if you don’t feel the benefits from it right away.

Instead, take baby steps. Carve out five minutes before bed to do a guided meditation (either through an app, online video or just by listening to music). Then, once you feel you can do five minutes, bump it up to 10 or 15 minutes.

Use a journal to release stress and embrace gratitude

A journal can be beneficial as an intentional dumping ground for both the good feelings and the bad ones. That means if you feel yourself being taken over by negative thoughts before bed, you can try putting them on paper as a mindfulness practice.

“Some may find it helpful to keep a worry journal, where you dedicate 15 minutes early in the evening to logging your worrisome thoughts,” suggests Dr. Drerup. This can be the place where you momentarily give your worries or racing questions some space.

“Learning to challenge your thoughts or answering your own ‘what ifs’ can serve to reduce anxious thinking,” she adds. This serves as a tangible way to contain worry so you aren’t bringing your concerns to bed with you.

On the flip side, you can also have a separate, more positive journal that focuses on gratitude. “Engaging in gratitude right before bedtime results in a calmer body and more positive pre-sleep thoughts,” notes Dr. Drerup.


Reconnect with your body

You may not even notice that your body is tense until you actively try to relax it. And racing, anxious thoughts can cause several different physical symptoms like muscle tension and even chest tightness.

Progressive muscle relaxation has been shown to be a good way to help relax the effects of stress on your body. Similar to a body scan, progressive muscle relaxation involves closing your eyes and focusing on specific parts of your body by tensing and relaxing different areas — from your toes all the way up to your shoulders.

And as it’s a practice you can do anywhere at any time, it serves as a perfect bedtime routine to help you check in with your body and put your mind’s chaos to rest.

You can also try doing some light stretching or even yoga before bed to release tension and help you connect more to your body.

Cut out bedtime screen time

Unsurprisingly, looking at a bright screen that has access to all of the world’s information all at once before bedtime can absolutely trigger or worsen your racing thoughts.

But as many of us know, it’s easier said than done to put down the phone before bed. Start out by trying to establish a bedtime buffer zone. While there isn’t really a magic number, a half-hour to an hour window before bed without screens can help you wind down. During that time, try and avoid any type of screen time in order to calm your mind.

As Dr. Drerup also points out, screen time tends to be overly stimulating to the brain, and the light that screens emit delays the release of melatonin, a hormone that regulates sleep-wake cycles.

Cutting out your phone can also help send a signal to your brain that is indeed time for bed. “Having a 30-to-60-minute period dedicated to winding down serves as a cue to the brain that you will soon be going to bed and makes falling asleep easier,” says Dr. Drerup.


When to speak to a doctor

In some cases, repeated anxiety and worry before bed can also be a sign of an anxiety disorder or insomnia. Especially if you find yourself losing hours of sleep every night, or feeling fatigued or exhausted during the day, it may be a sign that your racing thoughts are starting to affect your day-to-day functioning.

If you don’t find relief from racing thoughts after lifestyle changes or relaxation techniques, seeing a behavioral sleep medicine psychologist may be the next step if anxiety is mainly only disruptive to your sleep. If you find that your mind is racing and you’re experiencing anxiety throughout the daytime, too, the next best step may be to see a psychologist or mental health provider who specializes in anxiety disorders.

In some cases, a healthcare provider may also suggest certain medications in combination with therapy to help manage your anxiety before bed. Some common medications they may recommend include:

  • Antidepressants: Certain antidepressants can be effective in treating anxiety and racing thoughts. Selective serotonin reuptake inhibitors (SSRIs) are commonly used.
  • Antihistamines: Some over-the-counter antihistamines, such as diphenhydramine (Benadryl®), can have a sedating effect and may be used to help with sleep. However, they’re not specifically designed to treat anxiety and may not work for everyone.

Humans experience roughly 50,000 thoughts per day. So, it’s normal to have occasional worrying thoughts and experience situational anxiety. But for some people, it may start to feel hard to control. If you’re experiencing racing thoughts before bed, it may be a sign of a specific stressor impacting your life. But if it’s persistent, it’s helpful to reach out to a healthcare provider to learn more about your options to put intrusive thoughts to bed.


Learn more about our editorial process.

Related Articles

Person in bed experiencing nightmares
May 22, 2024/Sleep
7 Reasons You’re Having Nightmares

Stress, alcohol, sleep apnea and (you guessed it!) scary movies are a few common causes of bad dreams

Young child in bed reading at night
May 2, 2024/Children's Health
Nighty-Night: Tips To Get Your Kid To Stay In Bed

A consistent, structured routine, which may include incentives, can help children learn to stay in bed and get the ZZZs they need

Child in dark room huddled under blanket with nightmare ghosts in background.
December 13, 2022/Children's Health
Is Your Kid Having Nightmares? Who Has Them and How You Can Help

Nightmares in children are common and more likely when your child is overtired or stressed

Someone holds their hands up to their face and rubs their temples, frustrated.
April 28, 2021/Mental Health
Why Am I Panicking in My Sleep?

Learn why sleep panic attacks occur and how to manage them

Person sitting in chair writing in tablet
May 21, 2024/Sleep
Should You Be Keeping a Dream Journal?

Recording your dreams may help you become more mindful, understand your thought patterns, process your emotions and even reduce your stress

Person sitting in bed in the evening, reading a book, with cup of tea on bedside table
May 15, 2024/Sleep
Restless? Try These Bedtime Teas for Better Sleep

Chamomile, lavender and valerian root teas may offer a faster route to dreamland

Person asleep in bed, talking in their sleep
May 3, 2024/Sleep
Why Do People Talk in Their Sleep?

Many factors can contribute to sleep talking, like stress or anxiety, lack of or low-quality sleep, or even more serious sleep-related conditions

Person in bed at night without covers, with fan blowing on them
April 17, 2024/Sleep
9 Reasons Why You’re Sweating in Your Sleep — And How To Get Relief

Getting to the root cause of night sweats — like menopause, medication side effects, stress or anxiety — can help you manage them

Trending Topics

Person in yellow tshirt and blue jeans relaxing on green couch in living room reading texts on their phone.
Here’s How Many Calories You Naturally Burn in a Day

Your metabolism may torch 1,300 to 2,000 calories daily with no activity

woman snacking on raisins and nuts
52 Foods High In Iron

Pump up your iron intake with foods like tuna, tofu and turkey