Sleep
Racing Thoughts at Night: How to Quiet Your Mind and Fall Asleep
A racing mind at bedtime is common, and trying harder to sleep makes it worse. Well-studied techniques — scheduled worry time, breathing exercises, and progressive muscle relaxation — redirect attention away from the worry loop. If racing thoughts persist or are tied to anxiety or mood changes, talk to a clinician.
Talk to a clinician
Amelia Reyes, LCSW — Behavioral Health Clinician
anxiety, depression & burnout. Gale can match you with a licensed clinician for a visit.
Find care →Why does your mind race at night?
During the day, constant stimulation — screens, conversation, tasks — drowns out underlying worry. At night, when that stimulation stops, the brain has nothing to process except whatever is in the mental queue.
For people prone to hyperarousal — a state of heightened internal alertness — the bedroom itself can become a cue. The moment you lie down, the nervous system activates, anticipating difficulty falling asleep. This is a conditioned response, not a character flaw.
The harder you try to sleep, the more you activate the monitoring part of your brain. The goal is not to force sleep — it is to create the conditions where the brain can release its vigilance.
What could be driving it?
Racing thoughts at night most commonly reflect one of a few patterns:
Hyperarousal insomnia is the most frequent driver — a conditioned over-alertness at bedtime that develops, often after a stressful period, and persists even after the stress resolves.
Everyday stress and cognitive activation — work deadlines, relationship tension, upcoming events — is very common and usually resolves when the stressor does.
Anxiety disorders (generalized anxiety, health anxiety, OCD) often surface at night when other distractions are gone. Worry tends to be repetitive and hard to redirect 1Ref 1Spitzer RL, Kroenke K, Williams JBW, Löwe B (2006).A Brief Measure for Assessing Generalized Anxiety Disorder: The GAD-7.Generalized anxiety and related disorders produce repetitive, difficult-to-control worry that commonly surfaces at bedtime; the GAD-7 is used clinically to screen for this pattern.
Mood disorders — depression and bipolar disorder — can both produce nighttime rumination 2Ref 2National Institute of Mental Health (2023).Bipolar Disorder.Bipolar disorder can produce racing thoughts and markedly decreased need for sleep during manic or hypomanic episodes — a pattern distinguishable from typical insomnia. Depression in particular is associated with early-morning awakening and ruminative thinking about guilt or hopelessness.
Caffeine or stimulants taken in the afternoon or evening are a frequently overlooked contributor 3Ref 3Drake C, Roehrs T, Shambroom J, Roth T (2013).Caffeine Effects on Sleep Taken 0, 3, or 6 Hours before Going to Bed.Caffeine consumed even 6 hours before bedtime meaningfully disrupts sleep, supporting the recommendation to cut off caffeine in the early afternoon.
Which techniques actually work?
These are grounded in what sleep and anxiety clinicians teach. None require anything special and none are medications.
Scheduled worry time. Set aside 15–20 minutes in the early evening to write down worries and anything you need to handle tomorrow. When thoughts arise at bedtime, the brain has a reminder: it's already handled until tomorrow. Over time this creates a psychological container that keeps worry out of sleep time.
The cognitive shuffle / mental storytelling. Deliberately imagine a sequence of random, unconnected images — a purple umbrella, a cat on a rooftop, a red door. This mimics the fragmented imagery the brain produces naturally when falling asleep, giving the mind something to do that doesn't loop back into worry.
Diaphragmatic breathing. Slow, deliberate breathing activates the parasympathetic nervous system — the calming branch — and shifts attention from thoughts to physical sensation. A 4-count inhale, 7-count hold, 8-count exhale (the 4-7-8 pattern) is one commonly used format.
Progressive muscle relaxation. Starting at the feet, tense each muscle group for 5 seconds then fully release, working upward through the body. This builds body awareness that interrupts the thought loop.
Get up if you can't sleep. If you're awake with a racing mind for more than about 20 minutes, get up. Go to a dim, quiet room and do something calm until sleepy, then return to bed. This prevents the bed from becoming permanently associated with wakefulness and anxiety 4Ref 4Edinger JD, Arnedt JT, Bertisch SM, et al. (2021).Behavioral and Psychological Treatments for Chronic Insomnia Disorder in Adults: An American Academy of Sleep Medicine Clinical Practice Guideline.CBT-I is the guideline-recommended first-line treatment for chronic insomnia; stimulus control (getting out of bed when unable to sleep) is a core component.
What makes it worse?
A few common habits reliably amplify nighttime mental racing:
Screens close to bedtime — not only because of light effects on circadian timing 5Ref 5Chang AM, Aeschbach D, Duffy JF, Czeisler CA (2015).Evening Use of Light-Emitting eReaders Negatively Affects Sleep, Circadian Timing, and Next-Morning Alertness.Evening light from screens delays circadian timing and impairs sleep — one mechanism by which screens worsen nighttime cognitive activation, but because news, social media, and email keep worry centers active right before sleep.
Clock-watching adds urgency and anxiety. Turn the clock away.
Alcohol helps you fall asleep but disrupts the second half of the night and can intensify anxious arousal in the early morning hours 6Ref 6Ebrahim IO, Shapiro CM, Williams AJ, Fenwick PB (2013).Alcohol and Sleep I: Effects on Normal Sleep.Alcohol disrupts the second half of sleep and can intensify anxious arousal in the early morning hours even when it eases sleep onset.
Using the bed as an office or worry space. If you work or plan in bed, the brain learns that bed is a thinking place.
Lying very still, trying very hard. The effort itself activates the monitoring brain. Paradoxical intention — telling yourself you're going to stay awake and just rest — often works better than forcing sleep.
When is CBT-I or therapy the right next step?
Self-help strategies are a reasonable first step, and many people find real relief with the techniques above. But if racing thoughts at night have been happening consistently for more than a few weeks, are causing real daytime impairment, or feel driven by persistent anxiety, a behavioral health clinician can make a significant difference.
Cognitive Behavioral Therapy for Insomnia (CBT-I) is the guideline-recommended first-line treatment for chronic insomnia 4Ref 4Edinger JD, Arnedt JT, Bertisch SM, et al. (2021).Behavioral and Psychological Treatments for Chronic Insomnia Disorder in Adults: An American Academy of Sleep Medicine Clinical Practice Guideline.CBT-I is the guideline-recommended first-line treatment for chronic insomnia; stimulus control (getting out of bed when unable to sleep) is a core component. It addresses the conditioned hyperarousal and anxious thought patterns that sustain nighttime racing. For anxiety-driven insomnia, general CBT for anxiety is similarly well-supported 7Ref 7Hofmann SG, Asnaani A, Vonk IJJ, Sawyer AT, Fang A (2012).The Efficacy of Cognitive Behavioral Therapy: A Review of Meta-analyses.CBT for anxiety disorders has strong evidence across multiple meta-analyses, supporting its use when anxiety is the primary driver of nighttime racing thoughts. Both produce durable improvement that lasts after therapy ends 8Ref 8Trauer JM, Qian MY, Doyle JS, Rajaratnam SMW, Cunnington D (2015).Cognitive Behavioral Therapy for Chronic Insomnia: A Systematic Review and Meta-analysis.CBT-I produces durable improvement in sleep outcomes that is maintained after the end of treatment.
A clinician can also evaluate whether an anxiety disorder, mood disorder, or another condition is driving the nighttime pattern — something self-help strategies cannot assess. The GAD-7 1Ref 1Spitzer RL, Kroenke K, Williams JBW, Löwe B (2006).A Brief Measure for Assessing Generalized Anxiety Disorder: The GAD-7.Generalized anxiety and related disorders produce repetitive, difficult-to-control worry that commonly surfaces at bedtime; the GAD-7 is used clinically to screen for this pattern and PHQ-9 9Ref 9Kroenke K, Spitzer RL, Williams JBW (2001).The PHQ-9: Validity of a Brief Depression Severity Measure.The PHQ-9 is a validated tool used to screen for depression, which can present with nighttime rumination as a key symptom are commonly used screening tools in this evaluation.
Common questions
Is racing thoughts at night a sign of anxiety?
It can be, but not always. Anxiety disorders are one common driver, particularly because nighttime removes the daytime distractions that keep worry at bay. But racing thoughts at bedtime are equally common in people under situational stress without any disorder. If worry is repetitive, hard to control, and also present during the day, that pattern is worth discussing with a clinician.
Does scheduled worry time really work?
Yes — it is one of the more consistently useful techniques in cognitive behavioral approaches to insomnia and anxiety. By dedicating a specific time earlier in the evening to processing worries and writing them down, you give the brain a signal that the material has been addressed. This doesn't eliminate worry, but it can interrupt the automatic bedtime activation.
When should I see a clinician about nighttime racing thoughts?
If the problem has been happening consistently for more than a few weeks, is causing real daytime impairment, or feels connected to persistent anxiety, low mood, or mood changes, that's a good reason to see someone. CBT-I and CBT for anxiety are effective, and you don't have to manage this alone.
Can melatonin or sleep medications help with racing thoughts?
Melatonin is primarily a circadian timing cue, not a treatment for cognitive hyperarousal, so it is unlikely to directly quiet a racing mind. Prescription sleep medications can help some people fall asleep but do not address the underlying anxiety or conditioned hyperarousal. A clinician is the right person to assess whether any medication plays a role in your situation.
Talk to a clinician
Amelia Reyes, LCSW — Behavioral Health Clinician
anxiety, depression & burnout. Gale can match you with a licensed clinician for a visit.
Find care →When to seek care promptly
- —Racing thoughts combined with markedly decreased need for sleep, elevated mood, or unusually high energy for days on end — this pattern may indicate a manic or hypomanic episode and warrants prompt clinician evaluation
- —Intrusive thoughts about self-harm appearing at night — contact 988 or a mental health clinician
- —Racing thoughts accompanied by chest pounding, shortness of breath, or a sense of impending doom that persists beyond the first few minutes of lying down
If intrusive thoughts of self-harm or suicide are present, call or text 988 (Suicide and Crisis Lifeline). If there is immediate danger, call 911.
This article is general health information and does not constitute a diagnosis or personal medical advice. If racing thoughts are persistent, causing distress, or accompanied by mood changes, please consult a licensed clinician.
References
- 1.Spitzer RL, Kroenke K, Williams JBW, Löwe B (2006). A Brief Measure for Assessing Generalized Anxiety Disorder: The GAD-7. Archives of Internal Medicine. doi:10.1001/archinte.166.10.1092 ✓Generalized anxiety and related disorders produce repetitive, difficult-to-control worry that commonly surfaces at bedtime; the GAD-7 is used clinically to screen for this pattern
- 2.National Institute of Mental Health (2023). Bipolar Disorder. NIMH Health Topics. link ✓Bipolar disorder can produce racing thoughts and markedly decreased need for sleep during manic or hypomanic episodes — a pattern distinguishable from typical insomnia
- 3.Drake C, Roehrs T, Shambroom J, Roth T (2013). Caffeine Effects on Sleep Taken 0, 3, or 6 Hours before Going to Bed. Journal of Clinical Sleep Medicine. doi:10.5664/jcsm.3170 ✓Caffeine consumed even 6 hours before bedtime meaningfully disrupts sleep, supporting the recommendation to cut off caffeine in the early afternoon
- 4.Edinger JD, Arnedt JT, Bertisch SM, et al. (2021). Behavioral and Psychological Treatments for Chronic Insomnia Disorder in Adults: An American Academy of Sleep Medicine Clinical Practice Guideline. Journal of Clinical Sleep Medicine. doi:10.5664/jcsm.8986 ✓CBT-I is the guideline-recommended first-line treatment for chronic insomnia; stimulus control (getting out of bed when unable to sleep) is a core component
- 5.Chang AM, Aeschbach D, Duffy JF, Czeisler CA (2015). Evening Use of Light-Emitting eReaders Negatively Affects Sleep, Circadian Timing, and Next-Morning Alertness. Proceedings of the National Academy of Sciences. doi:10.1073/pnas.1418490112 ✓Evening light from screens delays circadian timing and impairs sleep — one mechanism by which screens worsen nighttime cognitive activation
- 6.Ebrahim IO, Shapiro CM, Williams AJ, Fenwick PB (2013). Alcohol and Sleep I: Effects on Normal Sleep. Alcoholism: Clinical and Experimental Research. doi:10.1111/acer.12006 ✓Alcohol disrupts the second half of sleep and can intensify anxious arousal in the early morning hours even when it eases sleep onset
- 7.Hofmann SG, Asnaani A, Vonk IJJ, Sawyer AT, Fang A (2012). The Efficacy of Cognitive Behavioral Therapy: A Review of Meta-analyses. Cognitive Therapy and Research. doi:10.1007/s10608-012-9476-1 ✓CBT for anxiety disorders has strong evidence across multiple meta-analyses, supporting its use when anxiety is the primary driver of nighttime racing thoughts
- 8.Trauer JM, Qian MY, Doyle JS, Rajaratnam SMW, Cunnington D (2015). Cognitive Behavioral Therapy for Chronic Insomnia: A Systematic Review and Meta-analysis. Annals of Internal Medicine. doi:10.7326/M14-2841 ✓CBT-I produces durable improvement in sleep outcomes that is maintained after the end of treatment
- 9.Kroenke K, Spitzer RL, Williams JBW (2001). The PHQ-9: Validity of a Brief Depression Severity Measure. Journal of General Internal Medicine. doi:10.1046/j.1525-1497.2001.016009606.x ✓The PHQ-9 is a validated tool used to screen for depression, which can present with nighttime rumination as a key symptom
9 sources, numbered by first appearance. General health information, not medical advice — synthetic demonstration content.