When your brain wakes up the moment your head touches the pillow, the problem usually isn’t sleep itself. It’s that your nervous system has nothing to attend to externally, so the day’s unprocessed thoughts come forward. The good news: this is a known phenomenon with reliable interventions.
This post covers four techniques that actually work for a racing mind, plus what to do if those don’t.
Why does my mind race at night?
The mechanism is fairly simple. During the day, your attention is taken up by external demands: work, conversation, decisions, screens. When you lie down, that scaffolding falls away. The thoughts and feelings you’ve been not-processing are still there, and now they have nowhere to go but into your awareness.
For queer people specifically, the daily load is often heavier than for others (minority stress, identity-related vigilance, the cognitive labour of code-switching), which means there’s often more unprocessed content waiting for bedtime. If your racing mind tends toward rumination about identity, family relationships, or your safety in particular environments, that’s not a personal flaw, it’s a real load that needs somewhere to go.
Technique 1: A written brain-dump
This is the single highest-leverage intervention for most people.
Before bed, spend 5-10 minutes writing whatever is in your head. Not journaling, not a structured exercise, just letting the thoughts come out onto paper without editing. Worry about tomorrow’s meeting, replay of a conversation from yesterday, half-formed ideas, anxiety, gratitude, anger, the random song stuck in your head.
The mechanism: thoughts that have been “captured” on paper are less likely to keep cycling in your head. Writing them externalises them. The act of choosing what to write also organises them in ways pure thinking doesn’t.
Tips:
- Use paper, not a screen. The screen activates your brain in a different way.
- Don’t try to make it good. This is for no one but you.
- If a worry comes up, write a single next step (“call GP about prescription”). Often the rumination is your brain trying to make sure you don’t forget; capturing it once releases it.
- Keep the notebook by the bed. If something comes up later, write it down rather than turning it over in your head.
This technique alone resolves bedtime racing for many people.
Technique 2: Box breathing
When the mind is racing, the body usually is too, slightly elevated heart rate, shallow breathing, low-grade tension. Slowing the breath sends a signal to the nervous system that the threat (such as it is) has passed.
Box breathing:
- Breathe in through your nose for 4 seconds
- Hold for 4 seconds
- Breathe out through your mouth for 4 seconds
- Hold for 4 seconds
- Repeat for 8-12 cycles
If 4 feels too long, try 3. The crucial element is the slow exhale, which activates the parasympathetic nervous system and brings your physiological state down.
You don’t have to combine this with anything else. It’s enough on its own for many people. Lie still, breathe deliberately, count.
Technique 3: Body scan
A body scan is slow, attentional, and reliably soporific (it puts people to sleep, often within the practice itself).
The basic version:
- Lie flat on your back, eyes closed
- Start at the top of your head. Notice any sensations, temperature, tension, contact with the pillow
- Slowly move your attention down through your body: forehead, eyes, jaw, neck, shoulders, chest, arms, hands, back, hips, legs, feet
- Spend 10-30 seconds on each area
- If your mind wanders, gently bring it back to the body part you were on
- Don’t try to relax or change anything. Just notice
This works because directing attention through the body deliberately occupies cognitive bandwidth that would otherwise be used for racing thoughts. The body scan also down-regulates the nervous system in a similar way to box breathing.
Guided versions are available in most mindfulness apps. The Kalda app includes body-scan practices in several courses.
Technique 4: Get out of bed
This is the counterintuitive one, and the one most people resist.
If you have been awake for more than about 20 minutes, get up. Don’t lie there.
The reason: lying in bed unable to sleep teaches your brain to associate bed with wakefulness. Over time, this creates a learned association that makes the next bedtime harder. Getting up breaks that association.
What to do once you’re up:
- Stay out of the bedroom
- Don’t use screens (the blue light wakes you further)
- Keep lights low
- Do something calm: read a paper book, listen to a podcast or audiobook with eyes closed, drink a small glass of water
- Avoid anything stimulating (work, news, social media)
- Return to bed when you feel sleepy, not when you decide you should
This is the cornerstone of CBT-I (Cognitive Behavioural Therapy for Insomnia), which has stronger evidence for chronic insomnia than sleeping medication does.
What if these don’t work?
If you have tried these techniques consistently for 2-4 weeks and they haven’t helped, or your sleep difficulty has lasted 3+ nights a week for 3+ months, see a GP. Chronic insomnia is treatable with CBT-I, and underlying causes (depression, anxiety, sleep apnoea, hormonal issues) need addressing directly.
If you find your racing mind is consistently focused on the same painful loops (rumination about family, identity, relationships, work), that’s often a sign that therapy would help more than any bedtime technique. Sleep is downstream of the rest of life.
Where to next
- Why can’t I sleep? A queer-affirming guide to insomnia for the broader picture.
- Anxious thoughts at 3am: a survival guide for middle-of-the-night spirals specifically.
- How to stop a panic attack: 4 grounding techniques for nervous-system regulation more broadly.
You can’t force sleep. You can settle the nervous system. The rest follows.