Sleep · 8 min read

Can't sleep? What to do when your mind won't switch off

Sources checkedNot yet reviewed by a clinicianHow we review

How this was made: drafted with AI (Claude); we check every number and link against its source. Review by a clinician is in progress. When a reviewer signs a page, their name appears above. How we review

TL;DR. If you have been lying awake for what feels like twenty minutes and your mind is running, the most useful thing is also the least intuitive: get up. Go somewhere dim, do something quiet and boring, come back when you feel sleepy — not when you decide it is "time". Stop checking the clock, write the looping thoughts down, slow your out-breath, and give up on trying to force sleep; effort is the enemy here. Sleep hygiene tips alone rarely fix a stubborn pattern — if this has been happening three or more nights a week for three months, the approach that guidelines recommend first is a structured sleep programme (CBT-I), not a pill.

Contents
  1. Why you can't sleep even though you're tired
  2. What to do tonight, step by step
  3. What makes it worse
  4. Why sleep hygiene tips are not enough
  5. When a bad night becomes a pattern
  6. When to seek help
  7. FAQ

Why you can't sleep even though you're tired

Two things keep people awake: a body that is too alert, and a mind that is doing its day job at midnight. They feed each other. You lie down, a worry appears, your heart rate nudges up, you notice you are not asleep, you start worrying about that, and now the bed itself is a place where you are awake and anxious. After a few weeks of this, the brain learns an unhelpful association: bed = alert. That is why you can be exhausted on the sofa and wide awake the moment your head hits the pillow.

The good news is that this is a learned pattern, and learned patterns can be unlearned. The steps below are drawn from the behavioural components of cognitive-behavioural programmes for insomnia, which have the strongest evidence of any non-drug approach.

What to do tonight, step by step

1. Stop looking at the time

Turn the clock away, put the phone face down out of reach. Every glance ("2:47 — four hours left") is a jolt of arousal and a fresh calculation of how terrible tomorrow will be. You do not need to know the time to fall asleep; you need to not care.

2. If you've been awake about twenty minutes, get up

This is the single most evidence-backed move, and the one people resist most. Staying in bed "trying" teaches your brain that bed is for lying awake. Get up, go to another room or a chair, keep the light low, and do something calm and slightly dull: read a paper book, fold laundry, listen to a quiet podcast. No screens if you can manage it; if you must, dim them fully. Go back to bed only when your eyes are heavy — not after a set time.

You may need to do this two or three times in a night at first. That is fine. It feels like losing sleep; what you are actually doing is rebuilding the bed–sleep link.

3. Park the thoughts on paper

A racing mind at night is usually doing one of two things: rehearsing tomorrow or replaying today. Keep a pen and a pad by the bed (or in your "get-up" chair). Write down what is looping — a to-do list, an unfinished conversation, a fear — in a few words each. You are not solving anything; you are telling the brain the item is logged and can be released until morning. If the same three items appear every night, that is useful information in itself. How to stop racing thoughts at night has a fuller evening routine.

4. Slow the out-breath

Not "deep breathing" — just slower, with a longer exhale than inhale. In through the nose for about four, out gently for about six, roughly six breaths a minute, for three or four minutes. Slow breathing reliably lowers physiological arousal for a while; in randomised trials it reduces stress moderately. It will not knock you out, and that is not the goal. The goal is to turn the volume down enough that sleep has a chance to arrive on its own. The free breathing timer can pace it for you.

5. Stop trying to sleep

Sleep is one of the few things that gets worse the harder you try. Instead of "I must fall asleep", aim for "I'll rest here, and sleep can come if it wants". Some programmes go further and ask you to try to stay awake with your eyes gently open in the dark; the point is to remove the performance pressure. Resting quietly is not nothing — it restores more than you think. If the fear of not sleeping is the main thing keeping you awake, read Sleep anxiety: what to do when you are afraid of not falling asleep.

6. Let the thoughts be background noise

You will not be able to switch your mind off, and trying to tends to turn the volume up. Treat the thoughts like a radio in the next room: you can hear it, you do not have to follow the programme. Each time you notice you have been pulled into a thought, note it ("planning", "worrying") and return your attention to the breath or to the feel of the sheet.

What makes it worse

  • Checking the phone. Light, novelty and the news are all arousing. The content matters more than the blue light.
  • Lying in and napping. Catching up the next day feels fair but weakens the pressure to sleep the following night. Keep roughly the same wake time, even after a bad night.
  • Alcohol as a sleep aid. It helps you drop off and then fragments the second half of the night.
  • Caffeine after mid-afternoon. It has a half-life of five to six hours.
  • Going to bed earlier "to get more sleep". More time in bed usually means more time awake in bed, which strengthens the exact association you are trying to break.
  • Catastrophising the next day. One bad night degrades mood and focus a little; it does not ruin anything. The fear of a bad night does more damage than the night.

Why sleep hygiene tips are not enough

Cool dark room, no screens, no late coffee — all sensible, all worth doing, and on their own they rarely fix a pattern that has become established. The evidence is clear on this: sleep hygiene as a stand-alone approach does not meaningfully improve chronic insomnia. What does work is a structured programme that retrains the bed–sleep association (stimulus control, as in step 2), temporarily tightens the sleep window so that sleep becomes deeper and more continuous (sleep restriction), and addresses the thoughts that keep arousal high. Delivered digitally, this approach shows moderate-to-large effects in dozens of trials, and in 2022 the UK's NICE recommended an app-based programme of this kind over sleeping pills for insomnia.

Two caveats. First, sleep restriction causes daytime sleepiness in the first week or two and is not appropriate for everyone — people with bipolar disorder, epilepsy, untreated sleep apnoea or certain parasomnias should not do it without medical supervision, and anyone who drives for a living should take care. Second, a programme only works if you keep doing it; most sleep apps are abandoned within weeks, so pick something short, structured and with a clear daily step.

When a bad night becomes a pattern

A rough week during a stressful stretch is normal and usually settles. It is worth taking more seriously if you have trouble falling or staying asleep three or more nights a week, for three months or more, and it is affecting your day. That is the point at which a structured programme — ideally started with your doctor's knowledge — makes sense.

When to seek help

Please see a doctor if:

  • you snore loudly, gasp or stop breathing in your sleep, or wake unrefreshed despite enough hours (possible sleep apnoea);
  • restless, crawling legs keep you awake;
  • you have periods of needing very little sleep with high energy (ask about bipolar disorder before any sleep programme);
  • low mood, loss of interest or hopelessness have come along with the sleeplessness;
  • you have thoughts of harming yourself;
  • you are taking, or thinking of taking, sleeping pills, melatonin or alcohol to sleep.

If you are in danger or thinking about hurting yourself, contact emergency services or a crisis line now. These lines are free and confidential:

Free, confidential crisis lines by country are listed in the box below. See the crisis lines ↓

FAQ

Why can't I sleep even when I'm exhausted?

Tired and sleepy are different states. You can be physically drained and still have a brain that is on alert — from stress, from a late screen session, or from a learned association that bed is where you lie awake. Lowering alertness (dim light, slow breathing, getting out of bed when awake) matters more than being "tired enough".

Should I stay in bed or get up if I can't sleep?

Get up, after roughly twenty minutes of lying awake. Do something quiet in dim light and return only when sleepy. Staying in bed awake strengthens the link between bed and wakefulness.

Do the 4-7-8 or "military" methods actually work?

They are variations on slow breathing and muscle relaxation (see 4-7-8 breathing: how to do it). They can lower arousal and make sleep more likely; there is no evidence that any specific count or sequence is special, and none of them puts you to sleep "in two minutes" on demand. Use whichever you find calming, without expecting it to perform.

How many bad nights before it counts as insomnia?

The usual threshold is difficulty falling or staying asleep at least three nights a week for three months or more, with an impact on the day. Before that, it is more likely a passing stress response.

Is a sleep programme better than sleeping pills?

For long-term insomnia, major guidelines (the American College of Physicians, the American Academy of Sleep Medicine, NICE) recommend a cognitive-behavioural programme as the first option; medication is for short-term use and is a decision for you and your doctor.

Sources

  1. Edinger JD et al. Behavioral and psychological treatments for chronic insomnia disorder in adults: an AASM clinical practice guideline. J Clin Sleep Med 2021
  2. Qaseem A et al. Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians. Ann Intern Med 2016
  3. NICE recommends app-based CBT-I (Sleepio) over sleeping pills, 2022 (news report)
  4. Fincham GW et al. Effect of breathwork on stress and mental health: a meta-analysis of RCTs. Sci Rep 2023
  5. Baumel A et al. Objective user engagement with mental health apps: systematic search and panel-based usage analysis. JMIR 2019

Read next

Resteady programmes — join the waitlist

We are building short daily skills programmes: 14 days of Calm under pressure and 28 days for sleep. Join and we will write when the beta opens. Review of the programmes by clinicians is in progress.

Join the waitlist

If things are hard right now

Resteady is not an emergency service. If you are in danger or thinking about harming yourself, call a crisis line or emergency services now. It is free and confidential.

Numbers can change. If a line does not answer, call 112 or your local emergency number.

Open SOSAll lines by country

  • EU / EEA112Emergency number
  • Ukraine7333Lifeline Ukraine
  • United States988Suicide & Crisis Lifeline
  • United Kingdom116 123Samaritans
  • Ireland116 123Samaritans
  • Germany0800 111 0 111TelefonSeelsorge
  • Spain024Línea 024
  • Poland116 123Telefon zaufania dla osób dorosłych w kryzysie
  • France3114Numéro national de prévention du suicide

Other countries: findahelpline.com — Free, confidential lines for every country.