CBT-I: The First-Line Treatment for Insomnia, Explained
What cognitive behavioural therapy for insomnia actually involves, why it works when tablets do not, and how to get it in the UK.
Part of our Insomnia condition guide.
In short: CBT-I is the first-line treatment for chronic insomnia in UK guidance, ahead of any medication, at any age. It is a structured six-to-eight-week programme, not general counselling. Its defining feature is that the improvement usually holds after the treatment stops — which is not true of sleeping tablets.
Not Sure Whether You Need Treatment or a Tablet?
Access Doctor is a GPhC-registered UK pharmacy (#9011198). Complete a short online consultation and a pharmacist independent prescriber will review whether a sleep medicine is appropriate for you — or whether CBT-I is the better route.
View Insomnia Treatments →What CBT-I is, and what it is not
Cognitive behavioural therapy for insomnia — CBT-I, sometimes written CBTi — is a structured programme that targets the specific thoughts and behaviours keeping insomnia going. It runs typically six to eight sessions, each around 30 to 90 minutes, weekly or fortnightly.
It is worth being clear about what it is not, because the name misleads people.
- It is not general talking therapy. You will not spend the sessions discussing your childhood. It is closer to physiotherapy than to counselling — a protocol with exercises and measurements.
- It is not sleep hygiene. Sleep hygiene is one small component, and on its own UK guidance does not recommend it as a standalone treatment for chronic insomnia.
- It is not relaxation training. Relaxation is one of five components, and not the most important one.
- It is not indefinite. It has an end point. Most people finish in under two months.
A common misunderstanding: people often say they have "tried CBT for insomnia" when what they have actually tried is a sleep hygiene leaflet, a meditation app, or general CBT for anxiety. None of those is CBT-I. If sleep restriction and stimulus control were not part of it, it was not CBT-I.
Why it sits ahead of medication
UK guidance is unambiguous: CBT-I is offered as the first-line treatment for chronic insomnia in adults of any age. Medication comes after it, not before, and largely as a short-term adjunct.
There are three reasons for that ordering.
The benefit persists
Improvements from CBT-I remain stable at follow-up as far out as two years. When a sleeping tablet is stopped, the insomnia is generally still there.
It treats the mechanism
Chronic insomnia is maintained by learned behaviours and beliefs. CBT-I removes them. Sedation overrides the symptom without touching the cause.
No tolerance, no dependence
Hypnotics are limited to two weeks precisely because of tolerance and dependence. CBT-I has neither, and no next-day impairment.
Insomnia is also common. UK primary care data suggests around 4.3% of patients have a recorded diagnosis, rising to 5.2% in more deprived areas — and the true figure is likely higher, since many people never consult.
Why insomnia keeps itself going
To understand why CBT-I is built the way it is, it helps to see what it is dismantling.
Insomnia usually starts with something identifiable: a bereavement, an illness, a work crisis, a new baby. That is short-term insomnia, and most of the time it resolves when the trigger does.
What turns it chronic is the entirely reasonable response to it.
1
You go to bed earlier to catch up
More time in bed, but no more sleep. The extra hours are spent awake, which dilutes sleep across a longer window and makes it lighter and more broken.
2
You lie in, or nap
Both discharge sleep pressure — the biological drive that builds the longer you are awake. Sleeping until 10am on Sunday guarantees a difficult Sunday night.
3
You stay in bed hoping sleep will come
Hours of lying awake teach your brain that bed is a place of frustrated wakefulness. The association is learned the same way any other association is.
4
You start worrying about sleep
Anxiety is physiologically arousing. Worrying about whether you will sleep is one of the more reliable ways to guarantee you will not.
5
The trigger resolves; the pattern does not
By now the original stressor is gone, and the compensations are running the problem on their own. This is the point at which insomnia has become chronic.
Every component of CBT-I maps onto one of those five steps. That is the whole design.
The five components
| Component | What it does | What it targets |
|---|---|---|
| Sleep restriction | Temporarily limits time in bed to match actual sleep time | Diluted, fragmented sleep across too long a window |
| Stimulus control | Rebuilds the association between bed and sleep | Bed learned as a place of wakefulness |
| Cognitive therapy | Tackles catastrophic beliefs about sleep loss | Anxiety and arousal at bedtime |
| Relaxation training | Lowers physical and mental arousal | The wound-up state that blocks sleep onset |
| Sleep hygiene and education | Corrects habits and expectations about normal sleep | Caffeine, alcohol, light, and unrealistic targets |
Sleep restriction and stimulus control are the behavioural core and carry most of the effect. They are also the two that people most often skip, because they are the two that are uncomfortable in the first fortnight.
Sleep restriction: the difficult one that works
The name is unfortunate. It does not mean restricting sleep — it means restricting time in bed, so that the sleep you do get becomes concentrated rather than scattered.
The logic is straightforward. If you are in bed for nine hours and sleeping five, you are spending four hours awake in bed, and your sleep is spread thin. Compress the window to something close to five hours and the same amount of sleep now fills it. Sleep becomes solid. Once it is solid, the window is widened again, gradually.
How it is calculated
1
Two weeks of sleep diary
You record time in bed and estimated time asleep each night. Two weeks gives a reliable average rather than an impression.
2
Set time in bed to match actual sleep
If the diary shows an average of five and a half hours of sleep, the prescribed time in bed becomes five and a half hours. In practice a floor of around five hours is used — it is not set lower than that.
3
Fix the rise time first
The morning is anchored, and the bedtime is calculated backwards from it. Rise at 7am with a five-and-a-half-hour window, and bedtime is 1.30am. The rise time does not move.
4
Review weekly using sleep efficiency
Sleep efficiency is time asleep divided by time in bed, as a percentage. Six hours asleep in a seven-hour window is 86%.
5
Adjust by 15 minutes
Above 90%, add 15 minutes to the window. Between 85 and 90%, hold. Below 85%, take 15 minutes off. Repeat weekly until you land on the window that gives you consolidated sleep.
Sleep restriction should be supervised, and it is not for everyone. It causes deliberate short-term sleep deprivation, so daytime sleepiness in the first week or two is expected. It should not be attempted without clinical guidance if you have epilepsy, bipolar disorder, obstructive sleep apnoea, or a job where a lapse in alertness is dangerous — and you must not drive while sleepy.
Stimulus control: retraining the bed
Stimulus control is a short list of rules whose purpose is to make the bed mean sleep again. The instructions are specific, and their power is in being followed exactly rather than approximately.
- Go to bed only when sleepy — sleepy, not merely tired. Sleepy means struggling to stay awake.
- Use the bed for sleep and sex only — no reading, television, phone, email or worrying.
- If you are still awake after 15 to 20 minutes, get up — leave the bedroom, do something quiet and dull in low light, and return only when sleepy.
- Repeat as often as necessary through the night — four times if that is what it takes.
- Get up at the same time every morning — including weekends, and especially after a bad night.
- Do not nap during the day.
Do not clock-watch to time the 15 minutes. Turn the clock away and judge it roughly — checking the time is itself arousing, and it feeds the arithmetic of how little sleep you are going to get.
The sleep diary
The diary is the instrument the whole programme runs on. It sets your starting window, and each week it decides whether the window widens, holds or narrows.
Each morning, record roughly:
- What time you got into bed, and what time you tried to sleep
- Roughly how long it took to fall asleep
- How many times you woke, and roughly how long you were awake in total
- What time you finally woke, and what time you got up
- Naps, alcohol, caffeine and any sleep medication
- How rested you felt, on a simple one-to-five scale
Estimates are fine, and are actually preferred. The diary is filled in from memory in the morning, not measured during the night. Do not use a smartwatch or sleep tracker for this — consumer trackers are unreliable at distinguishing light sleep from wakefulness, and watching the numbers tends to increase anxiety about sleep. There is a recognised pattern of people becoming preoccupied with tracker data at the expense of how they actually feel.
What the six weeks actually feel like
Being told the shape of it in advance makes people far more likely to finish, so here it is plainly.
| Stage | What happens |
|---|---|
| Weeks 1–2 (baseline) | Diary only. Nothing changes yet. Many people find the act of recording clarifies how much time they spend in bed awake. |
| Weeks 2–3 | The hard part. The sleep window narrows and daytime sleepiness increases before it improves. This is where most people quit, and where finishing matters most. |
| Weeks 3–4 | Sleep starts consolidating. You fall asleep faster and wake less. Sleep is still short, but it is solid, which usually feels better than it sounds. |
| Weeks 4–6 | The window widens 15 minutes at a time as efficiency allows. Total sleep increases while quality holds. |
| Afterwards | You keep the fixed rise time and the stimulus control rules. If sleep slips later, you know exactly what to reapply. |
The second week is the whole game. Sleep restriction feels worse before it feels better, by design — the sleepiness is what rebuilds sleep pressure. Dropout rates in clinical settings range from about 10% to nearly 40%, and the second week is the most common point of abandonment. Anyone who stops then concludes CBT-I did not work for them, when in fact they stopped at the point where it was starting to.
How to get CBT-I in the UK
This is where UK guidance and UK reality diverge, so it is worth being straightforward. CBT-I is recommended for everyone with chronic insomnia; access to it is patchy and depends heavily on where you live.
Digital CBT-I through the NHS
Sleepio is a digital CBT-I programme recommended by NICE in its 2022 guidance on treating insomnia and insomnia symptoms. NHS funding for it, however, is regional rather than national — at the time of writing it is free to residents in Scotland and, in England, within the Frimley and BOB (Buckinghamshire, Oxfordshire and Berkshire) integrated care systems. Outside those areas it is generally not NHS-funded, despite the NICE recommendation.
Sleepstation is a guided online CBT-I service that is NHS-funded in a number of areas. It has a postcode and GP-surgery checker, and where it is commissioned you can often self-refer without a GP appointment.
Through your GP
Ask specifically for CBT-I rather than "help with sleep". The distinction matters: a request for help with sleep frequently produces a sleep hygiene leaflet, whereas naming CBT-I signals that you know what the first-line treatment is. Ask what is commissioned locally, and whether a referral to a sleep service is appropriate.
Waiting times vary considerably by area. Reported waits for CBT-I can exceed three months, and in some regions significantly longer, which is a common reason people look privately instead.
Through NHS Talking Therapies
Insomnia is not one of the conditions NHS Talking Therapies lists nationally, and it cannot be assumed to be available. Some local services do run insomnia-specific courses, so it is worth checking your own area's offer — and if insomnia sits alongside anxiety or depression, which it very often does, you can self-refer for those and the sleep frequently improves alongside them.
Privately
Private CBT-I is available from sleep clinics and from BABCP-accredited therapists with a sleep specialism. Digital programmes can also be bought directly where the NHS does not fund them locally.
If nothing is available near you: the components of CBT-I are not secret, and the sleep diary, stimulus control rules and sleep efficiency arithmetic on this page are the same ones a programme would use. Self-guided CBT-I is less effective than a supervised course, but it is considerably more effective than sleep hygiene alone. The one caution is the sleep restriction warning above — if it applies to you, that component needs supervision.
When CBT-I is not the right starting point
CBT-I treats insomnia. If something else is generating the sleep problem, it treats the wrong thing.
- Obstructive sleep apnoea — loud snoring, choking or gasping, witnessed pauses in breathing, heavy daytime sleepiness. Needs its own assessment, and sleep restriction can make it worse. When insomnia and sleep apnoea occur together, the combination is known as COMISA (comorbid insomnia and sleep apnoea), and it needs a tailored approach rather than a standard CBT-I programme.
- Restless legs syndrome — an irresistible urge to move the legs at rest in the evening.
- Untreated depression, anxiety or PTSD — these need treating in their own right, though often in parallel rather than instead.
- Uncontrolled pain, reflux, asthma or menopausal night sweats — treat the driver first. Perimenopause in particular can fragment sleep in ways that need their own management.
- ADHD — sleep onset problems are common, and a standard CBT-I protocol may need adapting rather than abandoning.
- Shift work — a circadian problem rather than an insomnia problem, and it needs a different approach.
- Short-term insomnia with an obvious current stressor — often resolves on its own; sleep hygiene advice is usually enough at this stage.
See a clinician urgently if poor sleep comes with thoughts of self-harm, or if you are falling asleep involuntarily during the day — particularly at the wheel. Do not drive when sleepy.
Where medication fits alongside it
Medication and CBT-I are not competing options; guidance places medication after CBT-I and, in chronic insomnia, mostly alongside it as a temporary adjunct.
- Z-drugs such as zopiclone and zolpidem — a short course, no longer than two weeks and preferably under one, where distress is severe. Not a long-term option. Access Doctor does not supply zopiclone, zolpidem or diazepam because of the dependence risk.
- Prolonged-release melatonin — for adults aged 55 and over, up to 13 weeks. Circadin 2mg prolonged-release melatonin is the licensed brand, and you can read more in our guide to melatonin for sleep.
- Quviviq (daridorexant) 50mg — recommended by NICE specifically for people whose insomnia has lasted at least three months and occurs on three or more nights a week, where CBT-I has been tried and has not worked, or is unavailable or unsuitable.
- Over-the-counter sedating antihistamines — tolerance develops within days, and UK guidance does not recommend them as a management strategy.
Note where daridorexant sits. Its NICE recommendation is written around CBT-I having been tried first — which means that if CBT-I genuinely is not available where you live, that is clinically relevant information to bring to a consultation, not a dead end.
If you are looking for a non-addictive sleeping tablet because you are concerned about dependence, that is a reasonable starting point for a consultation rather than something to solve by searching alone.
Speak to a UK Prescriber About Your Sleep
If CBT-I is not available to you, or you have completed it and sleep is still a problem, a pharmacist independent prescriber can review whether a licensed sleep medicine is appropriate. GPhC-registered pharmacy #9011198, discreet delivery, and nothing issued without clinical assessment.
Start Your Consultation →Frequently Asked Questions
What is CBT-I?
CBT-I stands for cognitive behavioural therapy for insomnia. It is a structured programme, usually six to eight sessions, that targets the specific behaviours and beliefs keeping insomnia going. It combines sleep restriction, which concentrates your sleep by temporarily limiting time in bed, stimulus control, which rebuilds the association between bed and sleep, cognitive therapy for unhelpful beliefs about sleep, relaxation training, and education about normal sleep. It is the first-line treatment for chronic insomnia in UK guidance, ahead of any medication, for adults of any age. It is not general counselling and it is not the same as being given sleep hygiene advice.
Is CBT-I better than sleeping tablets?
For chronic insomnia, yes, and UK guidance reflects that by placing it first. The decisive difference is durability. Improvements from CBT-I remain stable at follow-up as far out as two years, because the programme removes the mechanisms maintaining the insomnia. Sleeping tablets suppress the symptom while they are being taken, and when they stop the insomnia is generally still there. Hypnotics are also limited to a maximum of two weeks, and preferably less than one, because of tolerance and dependence, so they cannot be a long-term answer even if you wanted them to be. Medication can still have a role as a short-term adjunct alongside CBT-I where distress is severe.
How long does CBT-I take to work?
Most programmes run six to eight weeks, and the pattern is fairly consistent. The first week or two is baseline sleep diary recording, where nothing changes. Weeks two to three are the hardest part, because the sleep window narrows and daytime sleepiness increases before it improves. Sleep usually starts consolidating around weeks three to four, meaning you fall asleep faster and wake less even though total sleep is still short. From week four onwards the sleep window is widened fifteen minutes at a time. The improvement then tends to hold once the programme has finished.
What is sleep restriction therapy and is it safe?
Sleep restriction limits your time in bed, not your sleep. If you are in bed nine hours and sleeping five, your sleep is spread thin across a long window. Compressing the window to roughly match your actual sleep makes it solid, and the window is then widened again gradually. Time in bed is set from a two-week sleep diary, with a floor of around five hours, and adjusted weekly using sleep efficiency: above 90 per cent you add fifteen minutes, between 85 and 90 you hold, below 85 you take fifteen minutes off. It causes deliberate short-term sleep deprivation, so it should be supervised, and it is not suitable without clinical guidance for people with epilepsy, bipolar disorder, obstructive sleep apnoea, or safety-critical jobs. Do not drive while sleepy.
What is the difference between CBT-I and sleep hygiene?
Sleep hygiene is one small component of CBT-I, covering habits and environment such as caffeine timing, screens, alcohol, a comfortable bedroom and a consistent schedule. On its own, UK guidance does not recommend it as a standalone treatment for chronic insomnia, because it does not address the behaviours that maintain the problem. It is more effective delivered within the broader framework of CBT-I, and it is genuinely useful in short-term insomnia to prevent unhelpful coping strategies developing. If what you were given was a sleep hygiene leaflet, you have not had CBT-I.
How do I get CBT-I on the NHS?
Access is regional rather than national, so it depends where you live. Sleepio, a digital CBT-I programme recommended by NICE, is NHS-funded for residents in Scotland and, in England, within the Frimley and BOB integrated care systems, but is generally not NHS-funded elsewhere. Sleepstation, a guided online CBT-I service, is commissioned in a number of areas and often allows self-referral where it is available. Otherwise, ask your GP specifically for CBT-I by name rather than for help with sleep, and ask what is commissioned locally. Insomnia is not listed nationally by NHS Talking Therapies, though some local services run insomnia courses. Waiting times vary considerably by area and can exceed three months, and in some regions significantly longer.
Can I do CBT-I on my own?
You can, and self-guided CBT-I is considerably more effective than sleep hygiene advice alone, though less effective than a supervised programme. The components are not secret: a two-week sleep diary, the stimulus control rules, and weekly sleep efficiency calculations to adjust your sleep window. The important caution concerns sleep restriction, which causes deliberate short-term sleep deprivation. Do not attempt it unsupervised if you have epilepsy, bipolar disorder, suspected sleep apnoea, or a job where a lapse in alertness would be dangerous, and do not drive when sleepy.
Why does CBT-I make my sleep worse at first?
Because that is how sleep restriction works. Narrowing the time you spend in bed increases sleep pressure, which is the biological drive to sleep that builds the longer you are awake. In the first fortnight this means more daytime sleepiness before sleep begins to consolidate. It is the intended mechanism rather than a sign the treatment is failing. This is also the point at which most people stop, and they usually conclude CBT-I did not work for them when in fact they stopped just as it was beginning to. Dropout rates in clinical settings range from about 10% to nearly 40%, and the second week is the most common point of abandonment.
Should I use a sleep tracker or smartwatch during CBT-I?
It is better not to. The sleep diary that CBT-I runs on is filled in from memory each morning, and estimates are not just acceptable but preferred. Consumer trackers are unreliable at distinguishing light sleep from being awake, and watching the numbers tends to increase anxiety about sleep, which is itself one of the things the programme is trying to reduce. There is a recognised pattern of people becoming preoccupied with tracker data at the expense of how they actually feel during the day, which is the measure that matters.
Does CBT-I work if my insomnia is caused by something else?
It treats insomnia, so if something else is generating the sleep problem it may be addressing the wrong thing. Obstructive sleep apnoea, restless legs syndrome, uncontrolled pain, night-time reflux, poorly controlled asthma and menopausal night sweats all need treating in their own right, and sleep restriction can make sleep apnoea worse. When insomnia and sleep apnoea occur together, the combination is known as COMISA (comorbid insomnia and sleep apnoea), and it needs a tailored approach rather than a standard CBT-I programme. Untreated depression, anxiety and PTSD usually need treating in parallel rather than instead, since the relationship runs in both directions. Shift work is a circadian problem and needs a different approach. If in doubt, get the cause assessed before starting a programme.
Where a prescription treatment is clinically appropriate alongside or after CBT-I, these are the options available through Access Doctor following an online consultation.
Insomnia · Rx
Quviviq (Daridorexant) 50mg
NICE-recommended for long-term insomnia where CBT-I has been tried and has not worked.
View product →Insomnia · Rx
Circadin 2mg Prolonged-Release Melatonin
For primary insomnia with poor sleep quality in adults aged 55 and over.
View product →References
- NICE Clinical Knowledge Summaries. Insomnia. Last revised June 2026. cks.nice.org.uk
- National Institute for Health and Care Excellence. Insomnia in adults: assessment and management (NG246). 2024. nice.org.uk
- National Institute for Health and Care Excellence. Sleepio to treat insomnia and insomnia symptoms (MTG70). 20 May 2022. nice.org.uk
- National Institute for Health and Care Excellence. Daridorexant for treating long-term insomnia (TA922). 18 October 2023. nice.org.uk
- Walker J, Muench A, Perlis ML, Vargas I. Cognitive Behavioral Therapy for Insomnia (CBT-I): A Primer. Klin Spec Psihol. 2022. pmc.ncbi.nlm.nih.gov
- NHS. Insomnia. nhs.uk
- NHS. NHS Talking Therapies for anxiety and depression. nhs.uk
- Driver and Vehicle Licensing Agency. Assessing fitness to drive: a guide for medical professionals. gov.uk
Medical disclaimer: This article is for informational purposes only and does not constitute medical advice. Always consult a qualified healthcare professional for diagnosis and treatment. In a medical emergency, call 999.


