CBT for insomnia techniques: all 7, and how to do each one
Cognitive behavioural therapy for insomnia (CBT-I) uses seven main techniques: a sleep diary, sleep restriction, stimulus control, cognitive restructuring (changing unhelpful thoughts about sleep), relaxation training, sleep hygiene education, and sometimes paradoxical intention. The two that do the most work are sleep restriction and stimulus control; the others make them easier to keep up and stop insomnia coming back.
The American College of Physicians and the American Academy of Sleep Medicine both name CBT-I as the first treatment for chronic insomnia in adults, ahead of sleeping pills. Below: what each technique is, exactly how to do it, the order to add them in, a 6-week plan, the problems most people hit, and when to do it with a clinician instead of alone.
What CBT-I is, in one paragraph
Chronic insomnia usually starts with a trigger (stress, illness, a new baby, menopause, a move) and then keeps going after the trigger is gone. What keeps it going is mostly learned: spending longer in bed to "catch up", lying awake while trying hard to sleep, worrying about tomorrow, napping, and the bed becoming a place where you feel alert. CBT-I targets those habits and thoughts directly. It's usually taught over 4 to 8 weekly sessions with a therapist, a group, a book or a digital programme, and its effects tend to last after the sessions end, which is the main difference from pills.
The 7 techniques at a glance
| Technique | What you do | What it fixes |
|---|---|---|
| 1. Sleep diary | Write down bed time, rough time asleep, wakings and wake time each morning. | Gives you real numbers instead of your memory of the worst night. |
| 2. Sleep restriction | Limit time in bed to about the time you actually sleep, then widen it by 15 minutes a week as sleep improves. | Weak, broken sleep from too much time in bed. |
| 3. Stimulus control | Bed only for sleep and sex; get up if you can't sleep; same wake time daily; no naps. | A bed that has become a cue for being awake. |
| 4. Cognitive restructuring | Catch thoughts like "if I don't sleep 8 hours tomorrow is ruined" and test them. | The worry and pressure that keep you alert. |
| 5. Relaxation training | Daily practice of slow breathing, muscle relaxation or body scans. | A body that stays tense and switched on at night. |
| 6. Sleep hygiene education | Caffeine, alcohol, light, exercise timing and the bedroom set up to help. | Habits that make sleep lighter or later. |
| 7. Paradoxical intention | Lie in bed and gently try to stay awake, instead of trying to sleep. | Performance anxiety about falling asleep. |
Some programmes add a few more pieces: a "worry time" or constructive-worry routine in the early evening, a buffer zone before bed, light timing for people with a late body clock, and a relapse-prevention plan at the end. They all fit under the seven above.
1. The sleep diary: how to keep one that helps
Every CBT-I programme starts here, usually with 1 to 2 weeks of diary before anything changes. Fill it in each morning within an hour of getting up, from rough estimates. Don't watch the clock at night to get exact numbers: clock watching makes insomnia worse.
- Write down: time you got into bed, roughly how long it took to fall asleep, how many times you woke and for how long in total, the time you woke for the last time, the time you got out of bed, any naps, caffeine and alcohol, and a 1 to 5 rating of how rested you feel.
- Work out two numbers each week: your average time asleep, and your average time in bed.
- Sleep efficiency is time asleep ÷ time in bed × 100. Good sleepers usually sit around 85% or more. Someone asleep 5 hours 30 minutes out of 8 hours 30 in bed is at 65%.
Wearable trackers can help with timing, but they are often poor at telling quiet waking from light sleep. CBT-I uses your own sense of the night on purpose; it's what the techniques act on.
2. Sleep restriction: the strongest single technique
It sounds backwards: if you're short of sleep, spend less time in bed. The point is to stop spreading a few hours of sleep thinly across a long night. A shorter window builds stronger sleep pressure, so sleep comes faster and deeper, and you spend far less time lying awake.
- Take your average time asleep from the diary. That's your starting window, but never under 5 hours (some clinicians use 5.5 or 6).
- Choose a fixed wake-up time you can keep 7 days a week, for example 6:30 a.m.
- Count back for your earliest bedtime. With 6 hours of sleep and a 6:30 a.m. wake time, that's 12:30 a.m. Stay up until then, even if tired.
- Each week, check your average sleep efficiency. Above 85 to 90%: add 15 minutes (go to bed 15 minutes earlier). Below 80 to 85%: take 15 minutes away (not under 5 hours). In between: keep it.
- Repeat until you feel rested in the day and efficiency stays high.
Expect the first 1 to 2 weeks to feel harder, with more daytime sleepiness. Don't drive or use machinery if you feel drowsy. The full method, with a worked example and the safety rules, is in our guide to sleep restriction for insomnia. If you'd like your starting window worked out from your own answers, the free 2-minute sleep quiz does the maths.
3. Stimulus control: making the bed a sleep cue again
Stimulus control has six rules: go to bed only when sleepy (not just tired); use the bed only for sleep and sex; if you can't sleep in what feels like 15 to 20 minutes, get up and go to another room; come back only when sleepy; get up at the same time every day; don't nap. It works alongside sleep restriction: one builds sleep pressure, the other makes sure that pressure is spent asleep in bed instead of awake in it.
The hard part is rule 3 at 2 a.m. Set up a chair, a blanket, one dim lamp and a dull book in another room before bed, so there's nothing to decide in the night. Each rule, what to do out of bed, and a version for people who can't easily get up are in our guide to stimulus control therapy.
4. Cognitive restructuring: the thoughts that keep you awake
People with insomnia tend to hold a handful of beliefs that raise the stakes of every night. The more a night matters, the harder you try, and trying hard to sleep is one of the surest ways not to. Cognitive restructuring means catching these thoughts, checking them against your own evidence, and writing a more accurate version.
| Common thought | A question to test it | A more accurate version |
|---|---|---|
| "I need 8 hours or I can't function." | What happened the last time you slept 5 or 6 hours? Did you get through the day? | "A short night makes me tired, and I have got through every one so far." |
| "If I don't sleep tonight, tomorrow is ruined." | In your diary, how often did a bad night really ruin the next day? | "Bad days happen after good nights too. One night doesn't decide the day." |
| "Insomnia will damage my health." | Is worrying about it at 2 a.m. helping my health right now? | "I'm working on it in the day. Lying here worrying is the part I can drop." |
| "I've lost the ability to sleep." | Do you ever doze on the sofa or nod off when you don't mean to? | "My body still knows how to sleep. My habits are getting in the way." |
| "I must make myself fall asleep." | Has forcing it ever worked? | "Sleep comes when I stop chasing it. My job is to be in bed sleepy." |
Do this in the day or early evening with pen and paper, not in bed. Write the thought, the evidence for and against it from your diary, and the new version. Over a few weeks, the new version starts to show up by itself at night. If the thoughts are less about sleep and more about everything else, our guide on what to do when your brain won't shut off has a worry routine for the early evening.
5. Relaxation training: practise in the day, use it at night
Relaxation in CBT-I is a skill you practise daily, not a trick to knock yourself out. The usual options:
- Slow breathing: breathe in through the nose for about 4 counts, out for about 6, for 5 to 10 minutes. A longer out-breath is the part that matters.
- Progressive muscle relaxation: tense one muscle group for about 5 seconds, then let it go for 20 to 30, working from feet to face. Takes 10 to 15 minutes.
- Body scan or mindfulness: move your attention slowly through the body and notice without trying to change anything.
- Imagery: picture a calm place in detail: what you'd see, hear and feel.
Practise once in the day for 1 to 2 weeks before using it in bed. If it starts to feel like another test you're failing ("why am I still awake?"), stop, get up, and go back to stimulus control.
6. Sleep hygiene: useful, but not the treatment
Sleep hygiene covers caffeine (none after about midday if you're sensitive), alcohol (it makes the second half of the night lighter and more broken), bright light in the morning and dim light at night, regular exercise but not hard sessions right before bed, a cool, dark, quiet bedroom, and no clock in view. It's part of CBT-I because bad habits here can undo everything else. On its own, though, it isn't enough for chronic insomnia: the American Academy of Sleep Medicine's 2021 guideline advises against using it as the only treatment. Our sleep hygiene checklist gives each habit with its number.
7. Paradoxical intention: when trying is the problem
If your main problem is falling asleep and you notice you're trying hard to sleep, paradoxical intention asks you to do the opposite: lie in bed in the dark with your eyes open and gently try to stay awake, without doing anything to keep yourself up (no phone, no light). Taking away the effort often takes away the alertness it causes. It's mainly used for trouble falling asleep, less for waking in the night, and it's often added only when the other techniques have stalled.
Which order to add them in
Most programmes don't start everything at once. A common order:
- Diary first, for 1 to 2 weeks, with no other changes.
- Sleep restriction and stimulus control together. These carry most of the effect.
- Cognitive restructuring and relaxation once the new schedule is running, when the first hard week is over.
- Sleep hygiene alongside, fixing only what the diary shows is a problem.
- Relapse prevention at the end: what you'll do the next time a stressful week breaks your sleep.
A 6-week CBT-I plan you can follow
| Week | Do this | What to expect |
|---|---|---|
| Week 0 | Diary every morning. Pick a wake-up time for 7 days a week. Set up an out-of-bed chair in another room. | Your baseline: time asleep, time in bed, sleep efficiency. |
| Week 1 | Set your sleep window from the diary (5 hours minimum). Start all six stimulus control rules. Phone charges outside the bedroom. | Usually the hardest week: more daytime sleepiness, several trips out of bed. |
| Week 2 | Check efficiency; widen, keep or narrow the window by 15 minutes. Start 10 minutes of daily relaxation practice. | Falling asleep often gets faster. Night wakings shorter. |
| Week 3 | Adjust the window again. Begin a thought record: 2 or 3 sleep worries a week, tested on paper. | Many people start to feel the bed is for sleep again. |
| Week 4 | Adjust the window. Add a 15-minute worry time in the early evening if thoughts keep you up. | Time asleep starts to grow as the window widens. |
| Week 5 | Adjust the window. Review sleep hygiene items your diary flags. | Daytime energy usually improves as total sleep rises. |
| Week 6 | Settle on a window where you feel rested. Write your relapse plan: keep the wake time, get up when awake, no catch-up lie-ins. | Compare with week 0 on paper before judging it. |
Six weeks is a typical length, not a deadline. Some people need longer, especially if their window has a long way to grow.
Problems most people hit
- "I'm more tired than before." Normal in weeks 1 and 2. It's the sleep pressure building. Keep the wake-up time; plan lighter days; don't drive drowsy.
- "I can't stay up until my bedtime." Do something mildly active in a well-lit room: stand up, tidy, call someone. Avoid the sofa after dinner.
- "I had one great night, then a terrible one." Expected. Judge by the weekly average, not single nights.
- "The weekend wrecks it." Keep the same wake time on Saturday and Sunday. A lie-in is the most common way the plan unravels.
- "It stopped improving." Check that the window is right for this week's efficiency, that naps haven't crept back, and that you get up when awake. If it's still stuck after 6 to 8 weeks, see a sleep clinician.
Does CBT-I work? What the evidence says
The American Academy of Sleep Medicine's 2021 guideline gave multi-part CBT-I a strong recommendation for chronic insomnia in adults, and conditional recommendations to sleep restriction, stimulus control and relaxation each used alone. The American College of Physicians recommends CBT-I as the first treatment for adults with chronic insomnia. Meta-analyses of trials have found it shortens the time to fall asleep and the time awake in the night, raises sleep efficiency, and that the gains largely hold at follow-up months later. It also works for many people whose insomnia comes with depression, anxiety or chronic pain, though those cases are better done with a clinician.
What it doesn't do: work in a night, or work if the rules aren't followed. Most of the effect comes from the behaviour changes, which is why the first two weeks matter so much.
Who should do CBT-I with a clinician
Talk to a doctor before starting, or do the programme with a sleep clinician, if you:
- have bipolar disorder, epilepsy or another condition where short sleep can trigger episodes;
- snore loudly, gasp or stop breathing in sleep, or fall asleep easily in the day (possible sleep apnea);
- have restless, crawling legs at night that ease when you move;
- drive for work, operate machinery, or are at risk of falls;
- are pregnant, or have depression, severe anxiety, PTSD, chronic pain or another health condition;
- take sleeping pills and want to come off them (do that with your prescriber, not on your own).
Ways to get CBT-I
- A therapist trained in CBT-I: the Society of Behavioral Sleep Medicine keeps a directory of providers. Some see people by video.
- Group programmes at sleep centres and some hospitals.
- Digital programmes and apps: some are prescription devices; the US Department of Veterans Affairs offers a free app, CBT-i Coach, meant to support work with a clinician.
- Self-guided books and workbooks that follow the same structure.
- Habit coaching such as our own 6-week sleep reset, which teaches the sleep window, stimulus control and wind-down habits at home. It's habit coaching, not insomnia treatment, and not a replacement for a clinician if any point above applies.
Frequently asked questions
What is the most effective CBT-I technique?
Sleep restriction is usually counted as the most powerful single part, with stimulus control close behind. The combined programme has the strongest evidence of all.
How long does CBT-I take to work?
Most programmes run 4 to 8 weeks. Some people notice faster sleep within 2 or 3 weeks; the first week or two are often harder before they get better.
Can I do CBT for insomnia on my own?
Many adults do, with a book, an app or a structured plan, and digital CBT-I has been tested in trials. Use a clinician if any of the conditions in the list above applies to you.
Is CBT-I better than sleeping pills?
Guidelines recommend CBT-I first because its benefits tend to last after treatment ends and it has no drug side effects. Pills can help in the short term; decide on them with your doctor.
Does CBT-I work for waking up at night?
Yes. Sleep restriction and stimulus control both target night waking. See our guide on how to stop waking up at night.
Do I have to give up my phone in bed?
During the programme, yes: the bed is for sleep and sex only. Read or scroll in a chair until you're sleepy.
Start this week
Begin with the diary tomorrow morning and pick a wake-up time you can keep every day. In a week you'll have the numbers to set a sleep window. To get a starting window now, take the free sleep quiz. For each part in more depth, see all our sleep guides.
Sources: Edinger JD et al., Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline, Journal of Clinical Sleep Medicine, 2021. Qaseem A et al., Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians, Annals of Internal Medicine, 2016. Trauer JM et al., Cognitive behavioral therapy for chronic insomnia: a systematic review and meta-analysis, Annals of Internal Medicine, 2015. Spielman AJ et al., Treatment of chronic insomnia by restriction of time in bed, Sleep, 1987. Bootzin RR, Stimulus control treatment for insomnia, 1972. US Department of Veterans Affairs, CBT-i Coach. Society of Behavioral Sleep Medicine, provider directory. This guide is education, not medical advice.