Treatment guide
CBT-I explained: cognitive behavioural therapy for insomnia
Cognitive behavioural therapy for insomnia (CBT-I) is a structured, time-limited programme that changes the habits and thoughts keeping sleep problems going. NICE Clinical Knowledge Summaries recommends it as first-line treatment for both short-term and chronic insomnia in adults, and says its benefits persist after treatment ends, unlike medication.
Last checked: 2026-10-04
Key facts
At a glance.
-
First-line
NICE CKS says CBT-I should be offered as the first-line treatment for chronic insomnia in adults of any age, and recommended for short-term insomnia too.
-
Lasting benefit
Unlike medication, benefits associated with CBT-I persist after completion of treatment (NICE CKS).
-
Format
The NHS says it may be delivered face to face with a therapist or through an online self-help programme. A typical specialist course runs for 6 to 8 weekly sessions.
-
Core parts
Sleep diary, sleep restriction (limiting time in bed), stimulus control (using the bed only for sleep) and work on unhelpful thoughts about sleep.
-
Expect a rough start
A hospital sleep service says some approaches can cause you to lose sleep initially as time in bed is reduced, before sleep improves.
What CBT-I is
The NHS says that if you have insomnia a GP may offer cognitive behavioural therapy (CBT), either face to face with a therapist or through an online self-help programme, which can help you change the thoughts and behaviours that keep you from sleeping. CBT for insomnia, often written CBT-I or CBTi, is the version of CBT designed for sleep problems rather than general mood or anxiety.
NICE Clinical Knowledge Summaries (CKS) says maladaptive behaviours and cognition are thought to be involved in the development of chronic insomnia, which is why a therapy targeting them makes sense. A UK specialist hospital sleep service describes CBT-I as addressing the unhelpful thoughts, feelings and behaviours that contribute to sleep disturbance, using both cognitive and behavioural approaches.
Who it is for
CKS defines insomnia as persistent difficulty getting to sleep, staying asleep or the quality of sleep despite adequate opportunity, resulting in impaired daytime functioning. Short-term insomnia lasts less than 3 months and chronic insomnia occurs at least several days a week for 3 months or longer. The NHS gives the same 3-month division. CKS says CBT-I is recommended for both short-term and chronic insomnia in adults of all ages.
Assessment comes first. CKS says a thorough history should identify contributing factors and physical and mental health conditions, and that other sleep disorders such as obstructive sleep apnoea and restless legs syndrome should be considered because they often co-exist. The NHS says a GP may refer you to a sleep clinic if you have symptoms of another sleep disorder such as sleep apnoea. A sleep diary kept for 1 to 2 weeks is described by CKS as helpful for identifying patterns.
What a course involves
Programmes differ in detail, but the hospital sleep service describes the following building blocks:
| Component | What it involves |
|---|---|
| Sleep diary | You record your sleep each night so the clinician can assess how much sleep you really get on a typical night. |
| Sleep restriction (called sleep rescheduling by that service) | Limiting the time spent in bed when not sleeping, to increase the drive to sleep. Time in bed is lengthened once you spend more of it asleep. You may feel more tired at first. |
| Stimulus control | Reclaiming the bedroom as a place for sleep: using the bed for sleep and sex only, getting up at the same time each morning, avoiding daytime naps and habits such as scrolling on a phone in bed. |
| Cognitive work | Identifying and challenging unhelpful or inaccurate thoughts about sleep, reducing sleep-related anxiety, with relaxation techniques such as progressive muscle relaxation. |
How it differs from sleep hygiene advice
The NHS gives sleep habit advice that overlaps with part of CBT-I: only go to bed when sleepy, wake at the same time every day, relax for an hour before bed, keep the bedroom dark and quiet, exercise regularly in the day, avoid caffeine and alcohol close to bed, not nap in the day, and not sleep in after a bad night. CKS says good sleep hygiene should be considered in all people with insomnia.
CBT-I goes further by working directly on how much time is spent in bed and on the thoughts and worries about sleep, with a clinician or programme guiding the changes over several weeks. If habit changes alone have not helped, the NHS advises seeing a GP, which is where CBT-I is usually offered.
Online and in-person delivery
The NHS describes an online self-help programme as one way to receive CBT. CKS says a digitally delivered CBT-I programme is recommended by NICE, and can be offered for chronic insomnia. The specialist hospital service describes a standard course of 6 to 8 weekly sessions of 20 to 40 minutes, which can be attended in person or by video. Whichever format you use, the key is carrying out the behavioural changes consistently between sessions.
Where sleeping tablets fit
The NHS says GPs now rarely prescribe sleeping pills for insomnia because they can have serious side effects and you can become dependent on them, and that they are only prescribed for a few days or weeks at most if insomnia is very bad and other treatments have not worked. CKS says hypnotic medication should be avoided if possible and that, for short-term insomnia with severe daytime impairment, a short course of 3 to 7 days of a non-benzodiazepine hypnotic may be considered only where the insomnia is likely to resolve soon. Where it is not, CBT-I should be first-line, with a short-term hypnotic only as an adjunct if appropriate.
The NHS says pharmacy sleeping aids may help sleep for 1 to 2 weeks but should not be taken for longer, and should be checked with a doctor first. CKS also advises avoiding drug treatment in the long-term management of insomnia. Do not stop a prescribed sleeping medicine suddenly; see our related guide on benzodiazepine dependence for why.
What to expect and limitations
CKS says benefits associated with CBT-I persist after treatment, unlike medication. The hospital sleep service describes CBT-I as effective for most people and says it can help manage mental health, physical and lifestyle issues that affect sleep, while warning that challenging unhelpful thoughts and behaviour can be uncomfortable, stressful and draining, and that sleep can get worse before it improves. It stresses continuing treatment to see lasting results. No treatment works for everyone, and underlying conditions such as sleep apnoea, pain or depression need their own treatment, which CKS says commonly co-exists with chronic insomnia.
NHS and private routes
NHS CBT-I is accessed through a GP, an NHS talking therapies or sleep service, or an online programme, and availability and waits vary. Private sleep services and psychologists also offer CBT-I. Ask whether the clinician is trained specifically in CBT-I, how many sessions are planned, whether a sleep diary is used, and whether other sleep disorders will be screened for first.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
Is CBT-I the same as ordinary CBT?
It is based on the same principles but focused on insomnia. The NHS describes CBT as helping change the thoughts and behaviours that keep you from sleeping, and CBT-I is the sleep-specific version.
-
Does NICE recommend CBT-I?
NICE CKS recommends CBT-I as first-line treatment for chronic insomnia in adults of any age and for short-term insomnia, and says its benefits persist after treatment ends.
-
How long does a course last?
A UK specialist hospital sleep service describes 6 to 8 weekly sessions of 20 to 40 minutes. Programmes vary, and online versions have their own structure.
-
What is sleep restriction?
Limiting the time you spend in bed when not sleeping to increase your drive to sleep, guided by a sleep diary. Time in bed is extended once you sleep more of it. You may feel more tired at first.
-
Will I get worse before I get better?
Possibly. A hospital sleep service says some approaches can cause you to lose sleep as time in bed is reduced, before sleep improves.
-
Can I do CBT-I online?
Yes. The NHS mentions online self-help programmes and CKS says a digitally delivered CBT-I programme is recommended by NICE.
-
Are sleeping tablets better?
The NHS says GPs now rarely prescribe them because of serious side effects and the risk of dependence. CKS says hypnotics should be avoided if possible and benefits from CBT-I outlast medication.
-
Do I need tests first?
CKS recommends a thorough history and consideration of other sleep disorders such as sleep apnoea and restless legs. The NHS says a GP may refer you to a sleep clinic if you have symptoms of another sleep disorder.
-
What can I try before seeing a GP?
The NHS suggests regular wake times, relaxing before bed, a dark and quiet bedroom, regular daytime exercise and avoiding caffeine, alcohol, long naps and screens before bed. See a GP if habit changes have not helped.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-04, next review 2027-10-04.
-
NHS, Insomnia, https://www.nhs.uk/conditions/insomnia/, retrieved October 2026
-
NICE Clinical Knowledge Summaries, Insomnia (last revised June 2026), https://cks.nice.org.uk/topics/insomnia/, retrieved October 2026
-
Guy's and St Thomas' Specialist Care, Cognitive behavioural therapy for insomnia (CBTi), https://guysandstthomasspecialistcare.co.uk/treatments/cbti-for-insomnia/, retrieved October 2026
Related guides
Keep reading.
-
Chronic insomnia
Long-term insomnia explained.
Read guide -
Insomnia disorder
How insomnia is defined.
Read guide -
Cognitive behaviour therapy
The therapy in general.
Read guide -
Benzodiazepine dependence
Why sleeping tablets need care.
Read guide -
Sleep study
When another sleep disorder is suspected.
Read guide