CBT-I, cognitive behavioural therapy for insomnia, is a structured, drug-free program that changes the habits and thoughts that keep you awake. It usually combines a sleep diary, a set schedule for time in bed (sleep restriction or its gentler form, sleep compression), rules that link the bed with sleep again (stimulus control), tools for a racing mind, relaxation and basic sleep habits. The American Academy of Sleep Medicine gives CBT-I a strong recommendation for chronic insomnia in adults. It is usually delivered over several weeks, with a clinician or through a structured program.
Who CBT-I is for
CBT-I is aimed at insomnia: trouble falling asleep, staying asleep or waking too early, even when you have the chance to sleep. The NHS calls insomnia that lasts 3 months or more long-term, and says a GP may offer cognitive behavioural therapy, in person or through an online self-help programme.
It is not meant for sleep problems caused by another condition that needs its own treatment. Loud snoring, gasping or choking at night, or breathing that stops and starts can be signs of obstructive sleep apnoea, which the NHS says you should see a GP about.
The parts of CBT-I
The Sleep Foundation describes five main components. Programs differ in how they combine them.
| Part | What it does | What you actually do |
|---|---|---|
| Sleep restriction or compression | Matches your time in bed to the sleep you are really getting, which builds sleep drive | Keep a fixed bedtime and wake time for a week, then adjust |
| Stimulus control | Rebuilds the link between bed and sleep | Use the bed for sleep (and sex) only, get up if you can't sleep, same wake time every day |
| Cognitive restructuring | Challenges unhelpful thoughts about sleep | Notice thoughts like "I'll be useless tomorrow" and test them |
| Relaxation training | Calms the body and mind before bed | Breathing exercises, progressive muscle relaxation, meditation |
| Sleep hygiene and homework | Supports the other parts | A sleep diary, a wind-down routine, caffeine and alcohol timing |
Sleep restriction and the sleep window
This is the part people find hardest, and often the most important. You keep a sleep diary for one to two weeks, then set a "sleep window" close to the time you actually sleep. The Sleep Foundation's description uses a floor of six hours in bed if you average less than that. Each week the window is adjusted based on how much of your time in bed you spent asleep. Expect to feel sleepier for the first weeks.
Stimulus control
If you spend hours in bed awake, your brain starts to treat the bed as a place for worrying. Stimulus control breaks that link. The Sleep Foundation's version says to get out of bed when you can't fall asleep or lie awake for more than 10 minutes, go back only when you feel sleepy, keep the same wake-up time every morning, and avoid daytime naps.
Quieting the mind
Racing thoughts are one of the most common complaints. CBT-I programs often use a "worry time" earlier in the evening, writing thoughts down so they are parked until morning, and relaxation exercises. These do not force sleep; they lower the arousal that keeps it away.
Why sleep hygiene alone is not enough
Dark room, no caffeine late, no screens in bed: these are useful, and the NHS lists many of them. But the AASM guideline does not recommend sleep hygiene as a stand-alone treatment for chronic insomnia. For most people with long-term insomnia, the schedule and the bed rules do the heavy lifting.
How long CBT-I takes
The Sleep Foundation says treatment typically takes six to eight sessions, often weekly. The first one or two weeks are mostly the sleep diary. The schedule changes come after that, one step at a time. The middle weeks, when the sleep window is tight, are usually the hardest, so it helps to know that in advance.
Who should check with a doctor before trying it
Also see a doctor if you fall asleep by accident during the day, at the wheel or in meetings, if someone has seen you stop breathing in your sleep, or if you take sleep medicine and want to change how you use it. Do not change medication without your doctor.
Ways to do CBT-I
- With a clinician: a psychologist or sleep specialist trained in CBT-I. Ask your doctor for a referral.
- Through your health service: the NHS mentions online self-help programmes a GP may offer.
- Self-guided: books, courses and apps that use CBT-I techniques. They work best if you keep a diary honestly and stick to the schedule through the hard weeks.
How Nightward helps
Nightward is a planned 6-week self-guided program that uses techniques from CBT-I. Your sleep diary fills itself from Apple Health or Health Connect and you confirm it in seconds each morning. After a baseline week, it sets a sleep window from your own nights and adjusts it every week, with tools for when you can't sleep and a report you can take to your doctor. A safety check at the start turns sleep restriction off for people it may not suit. It is a wellness app: it does not diagnose or treat insomnia, gives no medication advice and cannot promise results. If that sounds right for you, join the waitlist below.