Mental health
Racing Thoughts at Night: A Sign of Anxiety
Racing thoughts at bedtime are a hallmark of anxiety — the quiet of night removes daytime distraction and the brain fills the gap with worry. A consistent wind-down routine and addressing the underlying anxiety usually help.
Talk to a clinician
Marcus Ellery, LCSW — Licensed Clinical Social Worker (Therapist)
Anxiety and sleep; delivers CBT and CBT for insomnia to interrupt the nighttime worry loop, uses validated screening to track severity, and coordinates medication referral when symptoms are severe.. Gale can match you with a licensed clinician for a visit.
Find care →Why the mind speeds up at night
During the day, work, conversation, and screens keep your attention occupied. When you finally lie down, those distractions fall away and the brain — still in problem-solving mode — turns to whatever feels unresolved. For an anxious mind, that means looping over the day's events, replaying conversations, and pre-living tomorrow's stresses. The body may stay activated too: a faster heart and tense muscles signal alertness, which keeps the mind switched on. None of this means you are doing anything wrong; it is how an anxious nervous system behaves in the quiet.
The two-way loop with sleep
Racing thoughts and poor sleep reinforce each other. Research shows the relationship between insomnia and anxiety runs both ways: anxiety drives the racing thoughts that delay sleep, and the resulting sleep loss raises anxiety the next day 1Ref 1Alvaro PK, Roberts RM, Harris JK (2013).A Systematic Review Assessing Bidirectionality between Sleep Disturbances, Anxiety, and Depression.Insomnia and anxiety are bidirectionally related; each worsens the other.. Over time, this can harden into a pattern where the bed itself becomes associated with worry. Encouragingly, longer and better-quality sleep is prospectively linked to fewer anxiety symptoms 2Ref 2Bacaro V, Miletic K, Crocetti E (2023).A meta-analysis of longitudinal studies on the interplay between sleep, mental health, and positive well-being in adolescents.Longer and higher-quality sleep is prospectively associated with fewer anxiety symptoms over time. — so breaking the loop in either direction tends to help the other.
Calming a racing mind before bed
These strategies target the loop directly:
- Schedule worry earlier. Spend ten minutes in the early evening writing down worries and any next steps, so the mind is less compelled to do it at midnight.
- Keep a bedside notepad. Offload a thought the instant it arrives, then let it go.
- Get out of bed if wired. If you are awake and racing for more than ~20 minutes, do something calm and dim until sleepy, so the bed stays linked to sleep.
- Slow the body to slow the mind. Slow exhale-focused breathing or a brief body scan downshifts the nervous system.
- Protect a consistent wake time and dim screens before bed to steady your rhythm.
- Cut late caffeine and alcohol, both of which fragment sleep.
Anxiety, or just a busy week?
Everyone has nights when the mind won't settle — before a big event, during a stressful stretch. That is normal. The difference with an anxiety disorder is persistence: excessive, hard-to-control worry that shows up across many situations, does not go away, and interferes with sleep and daily life 3Ref 3National Institute of Mental Health (NIMH) (2024).Anxiety Disorders.An anxiety disorder involves persistent, excessive, hard-to-control worry that does not go away and interferes with life.. If racing thoughts at night are a regular feature rather than an occasional one, and especially if daytime worry travels with them, it is worth taking seriously rather than waiting it out.
When a clinician helps
If nighttime racing thoughts are frequent or are eroding your sleep and your days, a clinician can help in specific ways. A primary care or behavioral-health clinician can use validated questionnaires to measure how much anxiety is present and track whether it improves, and can rule out medical contributors and sleep disorders that present as a wired, restless mind. Cognitive behavioral therapy (CBT) — including CBT for insomnia — teaches concrete skills to interrupt the worry loop and rebuild a healthy association with the bed, and has strong evidence as a safe, effective treatment for anxiety 4Ref 4Walter HJ, Bukstein OG, Abright AR, Keable H, Ramtekkar U, Ripperger-Suhler J, Rockhill C (2020).Clinical Practice Guideline for the Assessment and Treatment of Children and Adolescents With Anxiety Disorders.Both CBT and SSRI medication have considerable empirical support as safe, effective treatments for anxiety.. When symptoms are more severe, medication such as an SSRI is an effective option 4Ref 4Walter HJ, Bukstein OG, Abright AR, Keable H, Ramtekkar U, Ripperger-Suhler J, Rockhill C (2020).Clinical Practice Guideline for the Assessment and Treatment of Children and Adolescents With Anxiety Disorders.Both CBT and SSRI medication have considerable empirical support as safe, effective treatments for anxiety.. Because the sleep–anxiety loop runs both ways, treating either side often relieves the other 1Ref 1Alvaro PK, Roberts RM, Harris JK (2013).A Systematic Review Assessing Bidirectionality between Sleep Disturbances, Anxiety, and Depression.Insomnia and anxiety are bidirectionally related; each worsens the other..
Common questions
Why do my thoughts race only when I try to sleep?
Because bedtime removes the distractions that kept worries at bay all day. With nothing else to focus on, an anxious brain fills the silence by replaying the past and rehearsing the future. Giving worries a scheduled time earlier in the evening often reduces the nighttime surge.
Is this insomnia or anxiety?
Often both. Anxiety frequently causes the racing thoughts that lead to insomnia, and insomnia in turn worsens anxiety. They are closely linked, which is why treating one usually helps the other. A clinician can sort out which is driving the cycle for you.
Will a sleep aid stop the racing thoughts?
Sleep aids may help short term but do not address the underlying worry, and some can worsen sleep quality over time. CBT for insomnia and treating the underlying anxiety tend to produce more durable improvement. Talk with a clinician before relying on any sleep medication.
Talk to a clinician
Marcus Ellery, LCSW — Licensed Clinical Social Worker (Therapist)
Anxiety and sleep; delivers CBT and CBT for insomnia to interrupt the nighttime worry loop, uses validated screening to track severity, and coordinates medication referral when symptoms are severe.. Gale can match you with a licensed clinician for a visit.
Find care →When to seek care
- —Racing thoughts that regularly prevent you from falling or staying asleep
- —Daytime exhaustion, irritability, or trouble functioning from lost sleep
- —Worry that feels uncontrollable and spans many areas of life
- —Racing or intrusive thoughts accompanied by thoughts of self-harm
If you have thoughts of harming yourself, call or text 988 (Suicide & Crisis Lifeline) or text HOME to 741741.
This article is educational and is not a diagnosis or a substitute for care from a qualified clinician.
References
- 1.Alvaro PK, Roberts RM, Harris JK (2013). A Systematic Review Assessing Bidirectionality between Sleep Disturbances, Anxiety, and Depression. Sleep, 36(7):1059–1068. doi:10.5665/sleep.2810 ✓Insomnia and anxiety are bidirectionally related; each worsens the other.
- 2.Bacaro V, Miletic K, Crocetti E (2023). A meta-analysis of longitudinal studies on the interplay between sleep, mental health, and positive well-being in adolescents. International Journal of Clinical and Health Psychology, 24(1):100424. doi:10.1016/j.ijchp.2023.100424 ✓Longer and higher-quality sleep is prospectively associated with fewer anxiety symptoms over time.
- 3.National Institute of Mental Health (NIMH) (2024). Anxiety Disorders. National Institute of Mental Health, NIH. link ✓An anxiety disorder involves persistent, excessive, hard-to-control worry that does not go away and interferes with life.
- 4.Walter HJ, Bukstein OG, Abright AR, Keable H, Ramtekkar U, Ripperger-Suhler J, Rockhill C (2020). Clinical Practice Guideline for the Assessment and Treatment of Children and Adolescents With Anxiety Disorders. Journal of the American Academy of Child & Adolescent Psychiatry 59(10):1107-1124. doi:10.1016/j.jaac.2020.05.005 ✓Both CBT and SSRI medication have considerable empirical support as safe, effective treatments for anxiety.
4 sources, numbered by first appearance. General health information, not medical advice — synthetic demonstration content.