How to Switch Off Your Mind at Night: Racing Thoughts and Overthinking
The techniques with the strongest trial evidence for a mind that will not switch off are the behavioural and cognitive ones used in cognitive behavioural therapy for insomnia (CBT-I): answering the thoughts rather than fighting them and getting out of bed when you are awake and churning, plus a specific to-do list before bed. Across 241 trials and 31,452 adults, the CBT-I components raised the odds of remission; relaxation on its own did not.1 Racing thoughts are a symptom, not a diagnosis. Part of the Wellgard sleep guide.
Why does my mind race the moment I lie down?
Because the day's distractions stop and the planning does not. A 2020 systematic review found that the bedtime thoughts of people with insomnia frequently relate to planning or problem-solving and are more unpleasant than good sleepers', with more monitoring for sleep and thought control that backfires.2 In 242 patients with insomnia disorder, worry ("what if") and rumination ("why did I") were separate processes, and high and low ruminators differed on sleep efficiency and time awake on two-week diaries.3 The alert-but-exhausted body is covered in tired but wired.
Which techniques have the best evidence?
A 2024 component network meta-analysis of 241 randomised trials of CBT-I in 31,452 adults with chronic insomnia tested each component. Cognitive restructuring raised the odds of remission most (incremental odds ratio 1.68), then mindfulness-based "third-wave" components (1.49), sleep restriction (1.49) and stimulus control (1.43); sleep hygiene education added nothing measurable (1.01), and relaxation procedures were "potentially counterproductive" (0.81, non-significant).1 Across 15 trials, CBT-I cut worry by a moderate-to-large margin (g -0.41 to -0.71) but rumination only slightly and unreliably (g -0.13).4
| Technique | What you do | Trial evidence | Rank |
|---|---|---|---|
| Cognitive restructuring | Write the thought, test it against the facts, rewrite it | Odds of remission 1.68; worry g -0.41 to -0.711, 4 | Strongest |
| Stimulus control | Bed only when sleepy; up after about 20 minutes awake | Odds of remission 1.43, shorter sleep latency1 | Strong |
| Specific to-do list | Five minutes before bed | 57 adults: faster sleep onset5 | Promising; one trial |
| Worry time | Early evening, each worry with its next step | 33 students: lower pre-sleep arousal; 186 adults: worry down, sleep unchanged6, 7 | Cuts worry; sleep unproven |
| Imagery distraction | Hold one pleasant scene in detail | 41 people with insomnia: shorter sleep onset8 | Small; one study |
| Cognitive shuffling | Picture random, unrelated words | No published trial | Untested |
| Paradoxical intention | Lie quietly, gently trying to stay awake | 10 trials: large gains against passive comparators, moderate against active treatments9 | Moderate |
| Mindfulness course | Six to eight weeks of practice | Odds of remission 1.49 inside CBT-I; 18 trials: no better than specific sleep treatments1, 10 | Part of a programme |
| Relaxation or slow breathing alone | Muscle relaxation; under 10 breaths a minute | Odds of remission 0.81 (non-significant); breathing: 9 studies, self-report only1, 11 | Weakest in bed |
Does writing your worries down help?
It helps the worry; the effect on sleep is less settled. In a sleep laboratory, 57 young adults wrote for five minutes before lights out: those who listed tasks for the coming days fell asleep significantly faster than those who wrote about completed tasks, and the more specific the list, the faster they slept.5 The largest test is sobering: across 14 days in 186 adults, worry postponement with "if-then" plans cut daily worry by about 15 minutes more than postponement alone, yet no arm significantly improved sleep onset, awakenings or sleep quality.7 The NHS version: "If you often worry in bed, try making a list of things you need to do the next day before you go to sleep."12
Should I get out of bed when my mind will not stop?
Yes. Stimulus control rebuilds the link between bed and sleep that weeks of lying awake have broken; it was the component linked to shorter sleep latency.1 The NHS says "only go to bed when you're sleepy" and "wake up and get out of bed at the same time every day";13 Every Mind Matters adds: "if you're still awake after around 20 minutes, get up and sit somewhere comfortable" and "Go back to bed when you feel sleepy."12 If the racing starts after a night waking, why do I wake up at 3am covers the second half of the night.
Do cognitive shuffling, imagery and the viral tricks work?
Imagery has one small trial: 41 people with insomnia who held a detailed, engaging mental image fell asleep sooner, with fewer distressing thoughts, than those given no instruction.8 Cognitive shuffling, picturing random unrelated words, has no published trial; the 2020 review co-written by its originator found the effects of imagery, hypnosis, paradoxical intention, suppression and distraction "either beneficial, negligible, or detrimental" depending on the study.2 Paradoxical intention, gently trying to stay awake so the pressure to perform falls away, gave large improvements against passive comparators and moderate ones against active treatments across 10 trials; the authors want stronger studies.9
Does meditation or breathing switch off the mind?
Across 18 trials and 1,654 people, mindfulness meditation improved sleep quality against time-matched comparison activities (effect size 0.33) but was no better than established sleep treatments (0.03).10 Slow breathing before bed improved self-reported sleep in seven of nine studies totalling 457 people; the objective recordings were inconclusive.11 With the relaxation finding above,1 meditation and slow breathing belong in the hour before bed, in a bedtime routine for adults that works, not in bed once the racing has started. Relaxing on demand is itself a performance.
Is it anxiety, depression, ADHD or something else?
Nightly racing thoughts with daytime worry may be more than a sleep habit. The NHS says "the main symptom of generalised anxiety disorder (GAD) is feelings of stress or worry that affect your daily life and are difficult to control", lists "difficulty sleeping" among the other symptoms, and says a GP may diagnose it when, among other things, "you have felt anxious a lot of the time for at least 6 months". "See a GP if you think you might have generalised anxiety disorder (GAD)", and "if you're 18 years old or over, you can also refer yourself directly to an NHS talking therapies service without a referral from a GP".14 For low mood: "See a GP if you experience symptoms of depression for most of the day, every day, for more than 2 weeks", with "disturbed sleep" among those symptoms.15 For adults who suspect ADHD: if symptoms "are affecting your studies, work or relationships, make an appointment with a GP"; talking therapies "such as cognitive behavioural therapy (CBT) or mindfulness, may be recommended for adults with ADHD".16 Racing thoughts with days of unusually high mood and little need for sleep are for a GP too: the NHS lists bipolar disorder among conditions that can cause insomnia.13
When should I see a GP about racing thoughts at night?
The NHS says to see a GP if "changing your sleeping habits has not helped your insomnia", "you've had trouble sleeping for months", or "your insomnia is affecting your daily life in a way that makes it hard for you to cope"; the GP may offer cognitive behavioural therapy "face-to-face with a therapist, or through an online self-help programme".13 In primary-care records for 765,035 people in north London, only 1.7% of those with insomnia had been referred for CBT-I.17 To self-refer to NHS Talking Therapies in England, "you need to be registered with a GP and must be aged 18 or over (or 16 or over in some areas)".18 If "you feel that you may be about to harm yourself, call 999 for an ambulance or go straight to A&E"; otherwise NHS 111, or Samaritans on 116 123.19 Snoring with pauses, restless legs and daytime sleep attacks are in when to see a GP about sleep.
Frequently asked questions
What is the 3-3-3 rule for anxiety at night?
A grounding exercise: name three things you can see, three sounds you can hear, then move three parts of your body. No trial has tested it for sleep; it is a harmless way out of a spiral before you get up.
What can I drink to stop overthinking at night?
No drink has been trialled against racing thoughts at bedtime. The NHS advice on anxiety is about what to cut: "do not drink lots of coffee, tea, cola or energy drinks – they contain caffeine which can disrupt your sleep and make it harder to control your anxiety".14 No food or supplement ingredient carries authorised GB wording about racing thoughts.
Will racing thoughts at night go away?
Worry falls with CBT-I; rumination shifts less,4 which is why the habits (bed only when sleepy, a fixed wake time, up when awake) matter alongside the thought work. Trouble sleeping for months, or insomnia that makes daily life hard to cope with, meets the NHS threshold for a GP.13
Sources
- Furukawa Y et al. Components and delivery formats of cognitive behavioral therapy for chronic insomnia in adults: a systematic review and component network meta-analysis. JAMA Psychiatry 2024. PubMed 38231522
- Lemyre A et al. Pre-sleep cognitive activity in adults: a systematic review. Sleep Medicine Reviews 2020. PubMed 31918338
- Carney CE et al. Distinguishing rumination from worry in clinical insomnia. Behaviour Research and Therapy 2010. PubMed 20362977
- Ballesio A et al. Does cognitive behaviour therapy for insomnia reduce repetitive negative thinking and sleep-related worry beliefs? A systematic review and meta-analysis. Sleep Medicine Reviews 2021. PubMed 32992228
- Scullin MK et al. The effects of bedtime writing on difficulty falling asleep: a polysomnographic study comparing to-do lists and completed activity lists. Journal of Experimental Psychology: General 2018. PubMed 29058942
- Carney CE, Waters WF. Effects of a structured problem-solving procedure on pre-sleep cognitive arousal in college students with insomnia. Behavioral Sleep Medicine 2006. PubMed 16390282
- McCarrick D et al. Effects of worry postponement on daily worry and sleep: a randomised controlled trial. Psychology & Health 2025. PubMed 41347618
- Harvey AG, Payne S. The management of unwanted pre-sleep thoughts in insomnia: distraction with imagery versus general distraction. Behaviour Research and Therapy 2002. PubMed 11863237
- Jansson-Fröjmark M et al. Paradoxical intention for insomnia: a systematic review and meta-analysis. Journal of Sleep Research 2022. PubMed 34405469
- Rusch HL et al. The effect of mindfulness meditation on sleep quality: a systematic review and meta-analysis of randomized controlled trials. Annals of the New York Academy of Sciences 2019. PubMed 30575050
- Eide EM et al. Slow breathing techniques before bedtime and the effects on sleep: a systematic review. Sleep Medicine Reviews 2026. PubMed 41886931
- NHS Every Mind Matters. How to fall asleep faster and sleep better. nhs.uk
- NHS. Insomnia. nhs.uk
- NHS. Generalised anxiety disorder (GAD). nhs.uk
- NHS. Depression in adults: symptoms. nhs.uk
- NHS. ADHD in adults. nhs.uk
- Waterman LZ et al. Patterns of insomnia and its treatment in North Central London: using primary care data to establish unmet needs and health inequalities. BJPsych Open 2025. PubMed 41404781
- NHS. Talking therapies. nhs.uk
- NHS. Help for suicidal thoughts. nhs.uk