Yes—there are medications that can help quiet racing thoughts at night, but the right choice depends on what's causing them and should be decided with your doctor. Common options include short-term over-the-counter sleep aids, prescription sleep medicines, and sometimes low-dose meds for anxiety or mood issues to help settle the mind. A key idea from sleep research is that many people who can't sleep are in a state of heightened physical alertness, so lowering that "turned-on" feeling—whether with medicine or other strategies—often eases nighttime mental racing. Medications can reduce that body's activated state and make it easier to fall and stay asleep, but they usually work best when paired with behavioral changes. This article covers symptoms, common causes, medication and non-medication options, safety considerations, and when to seek professional help.
Written by the Nawkout Editorial Team. Last reviewed for accuracy on February 09, 2026.
This article is for informational purposes only and is not intended as medical advice. Consult a healthcare professional before making changes to your routine.
Quick Comparison
Quick comparison of approaches discussed for calming racing thoughts at night.
| Method | What it is | Key evidence / notes |
|---|---|---|
| Paced breathing | Paced breathing interventions have been shown to enhance vagal activity and improve sleep quality in people with insomnia. [8] | May reduce physiological arousal via increased vagal activity. [8] |
| 4‑7‑8 breathing | The 4‑7‑8 breathing technique has immediate measurable effects on autonomic markers such as heart‑rate variability. [9] | May act quickly on autonomic arousal, with measurable autonomic effects reported. [9] |
| CBT‑I | Cognitive Behavioral Therapy for Insomnia (CBT‑I) is the recommended first‑line treatment for insomnia. [12] | Works by teaching skills that decrease conditioned arousal and restore the body's natural sleep mechanisms. [6] |
| Benzodiazepine‑receptor agonists | Benzodiazepine‑receptor agonists have been linked in the literature to increased risks of cognitive impairment and delirium. [14] | Safety concerns such as increased cognitive risk have been reported in the literature. [14] |
| Cannabidiol (CBD) | Cannabidiol (CBD) has pharmacological actions that include inhibition of the adenosine transporter, which could increase adenosine signalling. [16] | Clinical evidence on CBD for anxiety and sleep is limited. [17] |
Racing thoughts at night: what they are and why they happen
Racing nighttime thoughts are rapid, shifting mental streams worsened by quiet at bedtime and hyper‑arousal [2][3].
Racing thoughts are often experienced as a rapid, shifting stream of ideas, images, or “what-ifs” rather than a narrow loop of the same worry, and many people describe this as the mind switching quickly between topics. [1]

Racing thoughts commonly feel worse when you lie down because environmental distractions fall away and attention naturally turns inward, which exposes active problem-solving and worry that were masked during the day. [2]
- What racing thoughts feel like: quick topic-jumps, sudden future-focused scenarios, or disjointed memory fragments. [1]
- Why bedtime amplifies them: quiet and fewer external inputs shift focus to internal mental activity. [2]
- How worry differs from rumination: rumination narrows on one negative theme, while racing thoughts scatter across many themes. [1]
Physiological and cognitive arousal form a common explanatory framework for why thinking remains active at night: insomnia research often uses a “hyper‑arousal” model that highlights autonomic activation as a core pathway sustaining nighttime wakefulness and active thinking. [3]
At a related level, deep sleep normally inhibits stress‑system activity, and activation of the hypothalamic–pituitary–adrenal (HPA) axis is linked to arousal—so when sleep is disrupted or shallow, that inhibitory brake on the stress system is reduced. [4]
- Hyper‑arousal concept: insomnia is often framed as increased autonomic and cognitive activation rather than only poor sleep habits. [3]
- HPA link: deep sleep has an inhibitory influence on the stress axis, so loss of deep sleep can correlate with higher arousal. [4]
- Takeaway: both the internal focus at night and underlying physiological arousal help explain why thoughts race when you try to sleep. [2]
Here’s what that means in practice: if your bed has become a place where worry happens, you may need strategies that reduce both the immediate mental noise and the underlying arousal systems that keep you alert. [3]
Racing thoughts vs related concerns you may search for
- Racing thoughts at night ADHD — people with attention differences may notice fast, shifting thoughts at night, but the phenomenology (fast, scattered thinking) is similar to what others report. [1]
- Racing thoughts at night OCD — obsessive content can appear as persistent intrusive themes; when intrusions cluster into rapid topic-switching, it may overlap with racing thoughts. [1]
- Racing thoughts at night perimenopause — hormonal transition can change sleep and arousal patterns, and the bed‑time narrowing of attention often unmasks active thinking. [2]
Pre-bed strategies to calm your mind
Use a brief nightly pre‑bed ritual (e.g., 10–20m brain‑dump) to reduce bedtime worry; leave bed if you stay alert [5].
Some people find that moving worries out of the bedroom—by doing a short, time‑limited “brain‑dump” earlier in the evening—reduces the immediate volume of concerns at lights‑out. [5]
Additionally, establishing a predictable wind‑down window that lowers physical and mental activation can help prevent the bed from being repeatedly linked with active thinking. [3]
- 10–20 minute brain‑dump: set aside a brief period before bed to write worries or to‑dos on paper, then close the page for the night. [5]
- Consistent wind‑down: build a cueing routine that signals the body and mind that sleep is coming, because consistent cues help reduce conditioned arousal. [6]
- Only go to bed when sleepy: avoid habitual time‑in‑bed while alert to weaken the bed–worry association. [7]
Here’s what that means for tonight: choose one simple pre‑bed ritual (a brief brain‑dump, a calm reading period, or a slow breathing practice) and repeat it nightly to create a consistent association between that routine and winding down. [5]
- Practical sequence: plan a 20–30 minute pre‑sleep window; finish a brief brain‑dump first; then follow with a calming cue that you repeat nightly. [5]
- When to leave bed: if you lie awake and remain alert, get up and do a low‑arousal activity in dim light rather than staying in bed trying harder to sleep. [7]
- If worry persists: schedule a formal “worry time” earlier the next day to address problems, instead of ruminating at night. [5]
In-the-moment techniques to stop racing thoughts
Use 5 minutes of paced breathing, then grounding or labeling; if still awake, get up after 15–20 minutes [8].
Paced breathing is one immediate tool you can use when thoughts race, and trials show that paced breathing can enhance vagal activity and improve sleep quality for people with insomnia. [8]

The 4‑7‑8-style paced breathing has measurable, immediate effects on autonomic markers such as heart-rate variability in experimental studies. [9]
- Simple paced breathing: try an easy, repeatable inhale‑pause‑exhale rhythm and focus on the breath to give the mind a neutral rhythm to follow. [8]
- Use 4‑7‑8 variants if helpful: some controlled studies show (Pmc) that paced sequences can change heart‑rate variability quickly. [9]
- Mindfulness and short guided relaxations: brief 5–10 minute practices may help slow racing thinking for some people. [10]
Grounding and attention‑shifting can also interrupt loops: simple sensory checks (name five things you can see, four you can touch, etc.) redirect attention from internal chatter to direct perception. [10]
- 5‑4‑3‑2‑1 grounding: use it as a quick, low‑effort attention anchor when the mind won’t stop. [10]
- Labeling: briefly name the thought style (“thinking,” “worrying,” “planning”) and let it pass without engaging—this creates cognitive distance. [10]
- If you can’t fall asleep after trying these tools, get up and do a quiet, non‑stimulating activity until you feel sleepy. [7]
For tonight: start with 5 minutes of paced breathing, then use a grounding exercise if thoughts return, and remember the 15–20 minute rule—getting out of bed may break the cycle. [8][9][7]
Daytime habits that reduce nighttime arousal
Adjust one daytime habit—caffeine timing [11], brief worry [5], or routine [6]—to cut nighttime arousal.
Caffeine and related stimulants can speed brain electrical activity and are part of why people feel more alert when they consume these substances, which may then carry into the evening for some people. [11]
Managing daytime stressors and scheduling a brief evening worry period can reduce the amount of unscheduled mental processing that spills into bedtime. [5]
- Watch stimulant timing: be mindful of caffeine's activating effects on brain activity when planning your day. [11]
- Use a planned worry period: allocate a short evening slot for problem‑solving to offload active concerns before you lie down. [5]
- Consistent routine: a predictable daily schedule and repeated wind‑down cues can weaken the learned connection between bed and wakefulness. [6]
Here’s what that means: you don’t need a wholesale lifestyle overhaul tonight—pick one daytime habit you can adjust (for example, when you consume caffeine or when you schedule worry time) and monitor whether nights feel calmer over a week. [11][5]
Formal treatment, medications, and supplements
CBT-I is first-line for insomnia [12]; weigh medication risks (benzodiazepines [14]) and limited supplement evidence.
Clinical guidance recommends Cognitive Behavioral Therapy for Insomnia (CBT‑I) as the first‑line treatment for insomnia in adults. [12]
CBT‑I teaches skills aimed at decreasing conditioned arousal and restoring the body’s natural sleep mechanisms rather than masking symptoms. [6]
- When to consider CBT‑I: if self‑directed strategies haven’t reduced nightly arousal, CBT‑I is the guideline‑preferred next step. [12]
- How CBT‑I helps: stimulus‑control and cognitive techniques target the learned bed–worry link and the thought patterns that sustain insomnia. [6]
- Medication context: non‑benzodiazepine hypnotics (“Z‑drugs”) are commonly prescribed pharmacological options, but benefits and risks should be discussed with a clinician. [13]
- Safety note: benzodiazepine‑receptor agonists have been associated with increased risks such as cognitive impairment and delirium in the literature. [14]
Supplements and alternatives: randomized trials and meta‑analyses have examined melatonin versus placebo for primary sleep disorders, and CBD has pharmacological effects (for example, inhibition of the adenosine transporter) but clinical evidence for CBD in treating anxiety or sleep disorders is currently limited. [15][16][17]
- Melatonin: evidence from trials and meta‑analyses has been used to assess its effects on sleep parameters. [15]
- CBD: pharmacologically affects adenosine signaling, but clinical efficacy for specific anxiety or sleep disorders remains limited. [16][17]
- Discuss options with a clinician: medication and supplement choices have trade‑offs and should be considered within a broader treatment plan. [13][14]
If you’re searching online communities for peers or quick tips, terms like “Racing thoughts at night reddit” or “How to stop racing thoughts at night ADHD” often reflect real-world coping strategies but remember guideline-based treatments like CBT‑I are the recommended clinical path when difficulties persist. [12][1]
Limitations & Evidence Quality
Evidence for paced breathing, melatonin, CBD in sleep/anxiety is limited or mixed from small brief trials [8–9,15–17][8].
Current trials of paced breathing and breathing‑control procedures often include small samples or short measurement windows, so while some studies report enhanced vagal activity and improved sleep quality after paced breathing, these findings should be interpreted cautiously. [8][9]
Similarly, although meta‑analyses have evaluated melatonin and pharmacological options have guideline summaries, the broader literature contains mixed quality and variable duration of follow‑up, and clinical evidence for CBD in anxiety or sleep remains limited and preliminary. [15][17][16]
Frequently Asked Questions
how do i stop my mind from racing at night
Try a brief pre‑bed ritual such as a 10–20 minute brain‑dump and a consistent wind‑down routine to reduce bedtime worry and weaken the bed–worry association. If thoughts persist, use in‑the‑moment tools like 5 minutes of paced breathing followed by grounding or labeling, and if you remain alert get up and do a low‑arousal activity after about 15–20 minutes.
how to stop my mind from racing at night
Cognitive Behavioral Therapy for Insomnia (CBT‑I) is the recommended first‑line treatment and teaches skills that decrease conditioned arousal and restore the body's natural sleep mechanisms. For immediate steps, do a brief brain‑dump earlier in the evening and establish a predictable wind‑down; at night try paced breathing, short guided relaxations, or grounding, and if you stay alert in bed get up and do a low‑arousal activity instead of trying harder to sleep.
why is my mind racing at night
Racing nighttime thoughts are often experienced as a rapid, shifting stream of ideas, images, or “what‑ifs” rather than a narrow loop of the same worry. They commonly feel worse at bedtime because quiet and fewer external inputs shift attention inward, and insomnia research frames this as a state of physiological and cognitive hyper‑arousal that can sustain active thinking.
how to stop your mind from racing at night?
Racing thoughts are often experienced as a rapid, often uncontrollable stream of varied thoughts [6]. Some people find a brief 5–10 minute mindfulness or guided‑relaxation practice before bed may help slow racing thoughts [7]. Paced breathing exercises have also been shown to enhance vagal activity and improve sleep quality in people with insomnia [5].
how to calm racing thoughts at night?
Racing thoughts are commonly described as a fast, often uncontrollable flow of different thoughts [6]. Practices such as a short mindfulness or guided‑relaxation session before bed and paced breathing exercises can help slow those thoughts and have been shown to enhance vagal activity and improve sleep quality [7][5].
how to stop mind from racing at night?
Many people experience racing thoughts as a rapid, hard‑to‑control stream of varied ideas or worries [6]. A brief mindfulness or guided‑relaxation practice before bedtime may reduce the immediate volume of worries, and paced breathing techniques have evidence for increasing vagal activity and improving sleep in people with insomnia [7][5].
how to stop racing mind at night?
Racing thoughts often feel like a quick, uncontrollable cascade of different thoughts or concerns [6]. Short mindfulness or guided‑relaxation exercises before bed can help slow racing thoughts for some people, and paced breathing interventions have been shown to boost vagal activity and support better sleep [7][5].
how to stop racing thoughts at night?
Racing thoughts are typically experienced as a rapid, often uncontrollable sequence of thoughts [6]. Doing a brief 5–10 minute mindfulness or guided‑relaxation practice before bed may help reduce the pace of those thoughts, and paced breathing exercises are linked to increased vagal activity and improved sleep outcomes [7][5].
What medication is good for racing thoughts at night?
If you prefer medication, note that clinical guidelines recommend Cognitive Behavioral Therapy for Insomnia (CBT‑I) as the first‑line treatment rather than starting with drugs [12]. When medications are used, non‑benzodiazepine "Z‑drugs" are commonly prescribed for insomnia, though they are a pharmacological option rather than a cure-all [13]. Benzodiazepine‑receptor agonists have been linked in the literature to increased risks such as cognitive impairment and delirium, so weigh risks and benefits with a clinician [14]. Melatonin has been studied in randomized trials and meta‑analyses for primary sleep disorders, and cannabidiol has plausible actions on adenosine transporters but clinical evidence for CBD’s effects on sleep or anxiety is limited; discuss options with your provider [15][16][17].
How to calm racing thoughts to sleep?
Calming steps aim to reduce hyperarousal, since a prevailing hyper‑arousal model describes insomnia as involving autonomic hyperactivation and heightened arousal [3]. Deep sleep normally inhibits the HPA axis while HPA activation is linked to arousal, so promoting relaxation helps shift physiology toward sleep [4]. In‑the‑moment paced breathing (including 4‑7‑8 style approaches) has been shown to enhance vagal activity and affect autonomic markers, which may improve sleep for some people [8][9]. A short pre‑bed "brain‑dump" journal entry or a brief guided‑relaxation or mindfulness practice can reduce immediate worry volume and slow racing thoughts for some people [5][10].
How to stop spiraling thoughts at night?
Bedtime often intensifies racing thoughts because distractions fall away and attention commonly turns inward, which can amplify self‑referential thinking [2]. Consider structured treatments: CBT‑I is recommended as first‑line and teaches skills to reduce conditioned arousal and restore the body's natural sleep mechanisms, which can reduce nighttime spirals over time [12][6]. Short pre‑bed "brain‑dump" writing and following the "get out of bed after about 15–20 minutes" rule can weaken the bed–wake association and help break rumination cycles [5][7].
References
- How To Stop Your Mind from Racing and Get To Sleep
- Emotion Regulation Therapy: A Mechanism-Targeted ... - PMC
- Self-Regulation of Breathing as an Adjunctive Treatment of ...
- HPA Axis and Sleep - Endotext - NCBI Bookshelf - NIH
- The Effects of Bedtime Writing on Difficulty Falling Asleep - PMC
- Cognitive-Behavioral Therapy for Insomnia: An Effective and ...
- Cognitive Behavioral Therapy for Insomnia (CBT-I): A Primer
- Efficacy of paced breathing for insomnia: enhances vagal ...
- Effects of sleep deprivation and 4‐7‐8 breathing control on ...
- How to Stop Racing Thoughts at Night and Finally Get Rest - The OCD & Anxiety Center
- Adenosine, caffeine, and sleep–wake regulation: state of the ...
- Effectiveness of Cognitive Behavioural Therapy for Insomnia ...
- Efficacy and safety of Z-substances in the management ... - PMC
- Zolpidem abuse and dependency in an elderly patient with ...
- Meta-Analysis: Melatonin for the Treatment of Primary Sleep ...
- Cannabinoids for Anxiety and Sleep Disturbances - PMC - NIH
- The Impact of Cannabidiol Treatment on Anxiety Disorders
Conclusion
The strategies and research above offer an evidence-backed starting point for racing thoughts at night. Small, consistent changes often produce the best long-term results.
If symptoms persist or worsen, consult a healthcare professional for personalized guidance.
Information provided is for educational purposes only.