Mental health

Racing Thoughts at Night: A Sign of Anxiety

Save

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, a scheduled worry time earlier in the evening, and treating the underlying anxiety usually help. Anxiety and insomnia feed each other, so easing either side relieves the other.

Last updated: July 2026History

Talk to a clinician

A behavioral-health clinician

Gale can help you find one in your state and request a visit.

Find care →

Screening tool

GAD-7

A validated, public-domain questionnaire that measures anxiety symptoms over the last two weeks — a screen, not a diagnosis, validated for adults 18 and older. 7 questions · about 2 minutes.

Take the 2-minute GAD-7 anxiety screening

Synthetic demonstration content. If you need help now: call or text 988, or text HOME to 741741. If you are in immediate danger, call 911.

Why does the mind speed 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, which is why worry peaks at bedtime. 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.

How do racing thoughts and poor sleep feed each other?

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 1. 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 2 — so breaking the loop in either direction tends to help the other.

How do you calm a racing mind before bed?

These strategies for quieting a racing mind before bed 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 3. 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 nighttime anxiety needs a clinician

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 4. When symptoms are more severe, medication such as an SSRI is an effective option 4. Because the sleep–anxiety loop runs both ways, treating either side often relieves the other 1.

Common questions

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.

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.

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.

Related

Say it back

How would you explain this to someone you love?

Two or three sentences, just as you’d say it. Gale reflects back what you focused on — a mirror, not a quiz.

If things feel heavy, a person is available anytime — call or text 988.

Talk to a clinician

A behavioral-health clinician

Gale can help you find one in your state and request 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.

Did this answer your question?

References

  1. 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.2810Insomnia and anxiety are bidirectionally related; each worsens the other.
  2. 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.100424Longer and higher-quality sleep is prospectively associated with fewer anxiety symptoms over time.
  3. 3.National Institute of Mental Health (NIMH) (2024). Anxiety Disorders. National Institute of Mental Health, NIH. linkAn anxiety disorder involves persistent, excessive, hard-to-control worry that does not go away and interferes with life.
  4. 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.005Both 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. AI-assisted editorial content — every citation independently verified. Editorial policy