Sleep · 7 min read

CBT for insomnia at home: what CBT-I involves and how self-guided programmes compare

Sources checked Not yet reviewed by a clinician How we review

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

TL;DR. CBT-I (cognitive behavioural therapy for insomnia) is a structured programme, usually 4 to 8 weeks, that retrains sleep rather than covering it up. Its core parts are sleep restriction (or compression), stimulus control and work on unhelpful thoughts about sleep; sleep hygiene is a minor part. Guidelines recommend it as the first treatment for chronic insomnia. Self-guided and app-based versions have shown real benefits in trials, but they are not for everyone: if you have bipolar disorder, epilepsy, possible sleep apnoea or you are pregnant, involve a doctor before restricting your sleep.

Contents
  1. What CBT-I is
  2. The parts of CBT-I
  3. Does self-guided or digital CBT-I work?
  4. Who should not do sleep restriction alone
  5. What you can start at home
  6. When to seek help
  7. FAQ

What CBT-I is

CBT-I is a short, skills-based programme for people who have had trouble falling or staying asleep at least three nights a week for three months or more. It does not try to remove every bad night. It changes the habits and thinking that keep insomnia going once a rough patch has passed.

Major guidelines recommend it as the first-line treatment for chronic insomnia in adults, ahead of sleeping pills (Edinger et al. 2021; Riemann et al. 2023; Qaseem et al. 2016). The reason is simple: the effects tend to last after the programme ends, which is less clear for medication.

The parts of CBT-I

1. Sleep restriction (or compression)

This is the part that surprises people. If you spend 9 hours in bed but sleep 6, you are spending 3 hours awake in bed, and the bed becomes linked with wakefulness. Sleep restriction temporarily limits your time in bed to roughly the time you actually sleep, with a floor (usually not under 5 to 5.5 hours). That builds sleep pressure, so sleep becomes quicker and more continuous. Once sleep efficiency (time asleep divided by time in bed) is high, the window is widened step by step. The method goes back to work by Spielman and colleagues in the 1980s (Spielman et al. 1987).

Sleep compression is a gentler version: the window is shortened gradually instead of in one step. It suits people who find full restriction too hard, though it takes longer.

The first one or two weeks usually feel worse: you are sleepier in the daytime. That is expected, and it is why this part needs care (see below).

2. Stimulus control

The aim is to rebuild the link "bed = sleep". The rules are short: go to bed only when sleepy; use the bed only for sleep (and sex); if you cannot sleep after about 20 minutes, get up, do something calm in dim light, and return when sleepy; keep the same wake-up time every day. Details are in Can't sleep? What to do when your mind won't switch off.

3. Cognitive work

This targets the thoughts that keep arousal high: "I must get eight hours", "one bad night will wreck my week", "I'm going to be ill if this goes on". You write the thought down, check the evidence, and replace it with a more balanced one. Worry time earlier in the evening and writing tomorrow's tasks down belong here too. If fear of the night is the main issue, see Sleep anxiety: what to do when you are afraid of not falling asleep.

4. Sleep hygiene (a minor part)

Cool dark room, regular daylight, limiting late caffeine and alcohol. These are worth doing, but guidelines are clear that sleep hygiene alone is not enough to treat chronic insomnia (Edinger et al. 2021). In CBT-I it is a supporting actor.

5. Relaxation (optional)

Slow breathing or muscle relaxation can lower arousal. It is often included, though the evidence for relaxation alone is weaker than for the behavioural parts. The free breathing timer can pace the breath.

Does self-guided or digital CBT-I work?

Face-to-face CBT-I with a trained clinician remains the reference. But there are not enough trained clinicians, so self-help books, websites and apps are widely studied.

  • A meta-analysis of randomised trials found internet-delivered CBT-I produced clear improvements in insomnia severity and sleep, with effects in a moderate-to-large range (Zachariae et al. 2016).
  • A large randomised trial of a digital programme (Sleepio) found better sleep, and improvements in mood and wellbeing, versus sleep hygiene education (Espie et al. 2019).
  • Guidelines accept digital CBT-I as an option when a therapist is not available.

Limits worth knowing: results come from programmes that are structured and complete, not from reading one article; many people drop out of apps within weeks; and trials mostly study adults with no serious health problems. Self-guided programmes work best when you keep a daily sleep diary and follow the steps for the whole 4 to 8 weeks.

Who should not do sleep restriction alone

Talk to a doctor first, and ideally do it with a trained clinician, if any of these apply:

  • Bipolar disorder, or periods of needing very little sleep with high energy. Lost sleep can trigger episodes.
  • Epilepsy. Lost sleep can make seizures more likely.
  • Possible sleep apnoea (loud snoring, gasping, unrefreshing sleep). Insomnia may be a symptom; apnoea needs its own care.
  • Pregnancy. Needs and risks change; ask your doctor or midwife.
  • Driving or safety-critical work. Sleepiness in the first weeks is a real risk.
  • Other conditions such as untreated severe depression, a history of falls, or parasomnias (sleepwalking and the like).

Stimulus control, thought work and a steady wake-up time are generally gentler. The risky part is cutting time in bed.

What you can start at home

If none of the cautions apply, a simple self-guided start looks like this:

  1. Keep a sleep diary for one to two weeks: bedtime, wake time, estimated time asleep, how rested you feel.
  2. Pick a fixed wake-up time and keep it every day, including weekends.
  3. Work out an average sleep time, and set a window slightly longer than that, never under five and a half hours. Our free sleep window calculator does the arithmetic.
  4. Go to bed only when sleepy inside that window; get up if awake for about 20 minutes.
  5. Review weekly. If you sleep most of the time you spend in bed (roughly 90% or more), add 15 minutes. If sleep is poor, keep the window.
  6. Expect a rough first two weeks, and stop and talk to a doctor if the sleepiness is dangerous or your mood gets worse.

If this feels too heavy to do alone, a clinician or a structured programme is a reasonable choice.

When to seek help

Please talk to a doctor or a sleep specialist if:

  • insomnia has lasted three months or more and affects your days;
  • you snore loudly, gasp or stop breathing in your sleep;
  • you have periods of high energy with very little sleep, or a history of seizures;
  • low mood, loss of interest or hopelessness have come with the sleeplessness;
  • you are taking sleeping pills, melatonin or alcohol to sleep and want to change that;
  • thoughts of harming yourself appear.

If you are in danger or thinking about harming 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 ↓

More options are on our Get help page.

FAQ

What is the difference between CBT-I and CBT?

CBT is a broad family of methods. CBT-I is the version built specifically for insomnia, with sleep restriction and stimulus control as its core.

How long does CBT-I take to work?

Programmes usually last 4 to 8 weeks. Many people notice a change in the first few weeks, but the first week or two can feel worse.

Is sleep restriction therapy dangerous?

Not for most healthy adults when done carefully, but it can cause sleepiness and is not suitable for everyone. See the list above.

Is digital CBT-I as good as seeing a therapist?

Trials show real benefit, though in-person treatment is still the reference, and results depend on completing the programme.

Do I still need sleep hygiene?

Yes, as a small supporting part. It is not enough by itself.

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. Riemann D et al. The European Insomnia Guideline: an update on the diagnosis and treatment of insomnia 2023. J Sleep Res 2023
  3. 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
  4. Zachariae R et al. Efficacy of internet-delivered cognitive-behavioral therapy for insomnia: a systematic review and meta-analysis of randomized controlled trials. Sleep Med Rev 2016
  5. Espie CA et al. Effect of digital cognitive behavioral therapy for insomnia on health, psychological well-being, and sleep-related quality of life: a randomized clinical trial. JAMA Psychiatry 2019
  6. Spielman AJ, Saskin P, Thorpy MJ. Treatment of chronic insomnia by restriction of time in bed. Sleep 1987

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 planned and has not started yet.

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
  • Ukraine112Emergency number
  • Ukraine103Ambulance
  • Ukraine0 800 210 160People in Need psychological support (24/7, free)
  • United States988Suicide & Crisis Lifeline
  • United States988988 Lifeline in Spanish (press 2, or text AYUDA to 988)
  • Colombia123Emergency number
  • Colombia106Línea 106 mental health support (24/7, free)
  • Chile*4141Línea *4141 suicide prevention (24/7, free, from mobile phones)
  • Peru113Línea 113, option 5: mental health support (24/7, free)
  • Mexico800 911 2000Línea de la Vida mental health and addictions support (24/7, free)
  • Argentina911Emergency number
  • Argentina135Centro de Asistencia al Suicida (free from Buenos Aires City and Greater Buenos Aires, 8:00–24:00)
  • Argentina0800 345 1435Centro de Asistencia al Suicida (nationwide, 8:00–24:00)
  • 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.