Skip to content
medical_servicesDisorders and Treatments

Insomnia and CBT-I (CBT for Insomnia)

The persistent difficulty sleeping — and the treatment that guidelines put ahead of medication.

Translated from the Portuguese original. Read the original (Português)

boltIn short

Insomnia is not one bad night: it is the persistent difficulty falling asleep, staying asleep, or waking up too early, with distress or impairment the next day — even when there is enough time and opportunity to sleep. When this happens at least 3 nights a week and lasts 3 months or more, it is called insomnia disorder. And the treatment the leading guidelines recommend first is not a pill: it is CBT-I, cognitive behavioral therapy for insomnia.

Technical definition

According to the DSM-5-TR, insomnia disorder is the predominant complaint of dissatisfaction with sleep quantity or quality, accompanied by difficulty initiating sleep, difficulty maintaining it (waking up with difficulty returning to sleep), or early-morning awakening with inability to return to sleep. The complaint occurs at least 3 nights a week, persists for 3 months or more, occurs despite adequate opportunity to sleep, and causes distress or impairment in daytime functioning. In the ICD-11 (WHO), insomnias are in the chapter on sleep-wake disorders and are separated by duration: chronic insomnia (7A00, three months or more) and short-term insomnia (7A01, less than three months).

Sleeping badly once in a while is common. Insomnia is something else

Almost everyone goes through bad nights before an exam, before a trip, or after a scare. What's different in insomnia disorder is the persistence and the price paid the next day: the person has the chance to sleep, lies down, and sleep doesn't come — or comes in fragments — and this repeats week after week.

According to a 2022 epidemiological review, about 10% of adults have insomnia disorder and another 20% report occasional symptoms. Women, older adults, and people in socioeconomically disadvantaged situations are more vulnerable. And insomnia tends to last: over a five-year window, about 40% of cases persist.

One detail the definition makes clear: someone who sleeps little because they don't have time to sleep — an on-call shift, night work, a newborn baby — doesn't have insomnia, they have sleep deprivation. These are different problems, with different solutions.

Why insomnia continues after the trigger has passed

The most widely used explanation in the field is the three-P model, described by Spielman and colleagues in 1987. It separates three types of factors:

  • Predisposing — traits that make a person more vulnerable to sleeping badly, present before any problem arises;
  • Precipitating — the trigger that sets off the episode: a loss, an illness, a period of intense stress;
  • Perpetuating — what the person starts to do and think to make up for the bad nights: going to bed earlier "just in case," lying there tossing and turning for hours, napping in the afternoon, trying hard to fall asleep.

Here's the key to treatment. Predisposing factors run through the whole course of the problem, and the weight of the trigger fades until it becomes negligible — but it's the perpetuating factors that keep a person stuck in insomnia after the trigger has passed. Trying to compensate is understandable, and it's exactly what feeds the problem. Of these three groups, the perpetuating factors are the ones treatment can change right now — and that's where CBT-I works.

insomnia threshold Before Trigger Chronic insomnia Predisposing Precipitating Perpetuating How close the person is to sleeping badly
In the three-P model, the trigger shrinks over time — but perpetuating factors grow and keep insomnia above the threshold. That's where CBT-I works.

What is CBT-I

CBT-I is not a generic conversation about sleep, nor a list of tips. It is a structured treatment that combines cognitive therapy, education about sleep regulation, stimulus control, and sleep restriction, often together with relaxation and sleep hygiene guidance. The work is guided by the sleep diaries that the person fills out throughout treatment: the decisions at each stage come from them. It usually takes 4 to 8 sessions, and there are brief versions, of 1 to 4 sessions, that emphasize the behavioral components.

Explore the components:

Stimulus control

A set of instructions with two goals: undoing the association between the bed/bedroom and being awake, restoring the link between bed and sleep, and fixing a consistent wake-up time. The classic instructions are: go to bed only when sleepy; get out of bed when unable to sleep; use the bed and bedroom only for sleep and sex (no reading or watching television in bed); wake up at the same time every morning; and don't nap during the day.

It's the principle of stimulus control from behavior analysis, applied to sleep: after many nights in which the bed became the place to toss and worry, it starts to signal wakefulness. The idea is to give the bed back its role as a signal for sleep.

Sleep restriction

A method to increase sleep drive and consolidate the night, by limiting time in bed to the amount of sleep the person actually gets — estimated from the diaries. Time in bed starts out equal to that average and is then extended or reduced depending on the sleep efficiency achieved, until a sufficient duration and satisfaction are reached.

It sounds counterintuitive to spend less time in bed to sleep better, but it's exactly the opposite of what insomnia calls for: spending more hours lying down spreads sleep into fragments and strengthens the association between bed and wakefulness.

Cognitive therapy

Strategies that include structured psychoeducation, Socratic questioning, thought records, and behavioral experiments, to identify and change unhelpful beliefs about sleep — like "if I don't get eight hours, my day is ruined" or "I need to try harder to fall asleep."

These beliefs can sustain habits that get in the way of sleep and increase performance anxiety about sleeping. See also the entry on cognitive restructuring.

Relaxation and sleep hygiene

Structured exercises to reduce bodily tension (abdominal breathing, progressive muscle relaxation, autogenic training) and mental arousal (guided imagery, meditation).

Sleep hygiene is a set of general recommendations about lifestyle (caffeine, alcohol, exercise) and environment (light, noise, temperature), sometimes with information about how sleep changes over the lifespan. It serves as support — and, on its own, is not recommended as treatment, as the notice below explains.

Sleep efficiency: the number that guides treatment

Sleep efficiency is the proportion between time actually spent asleep and time spent in bed. It's the measure CBT-I tracks in the diaries throughout treatment — and it's what explains why reducing time in bed can improve the night without increasing the number of hours slept.

Before: 9 h in bed, 6 h of sleep — efficiency ≈ 67% asleep awake in bed After: 6 h 30 in bed, the same 6 h of sleep — ≈ 92% asleep 0 h 3 h 6 h 9 h
Illustrative example: the same amount of sleep, concentrated into less time in bed, raises sleep efficiency. The numbers for each case come from the diaries, worked out with the clinician.
info

The AASM guideline does not recommend sleep hygiene aloneThe American Academy of Sleep Medicine (2021) guideline suggests that clinicians not use sleep hygiene as a single-component therapy in the treatment of chronic insomnia disorder in adults. Tips about caffeine, alcohol, and room temperature are useful information and part of the package — but replacing CBT-I with a list of tips means using, as the whole treatment, exactly what the guideline recommends against using alone.

What the research shows

The three major guidelines in the field reached the same conclusion:

  • American College of Physicians (2016) — strong recommendation, with moderate-quality evidence: all adults with chronic insomnia disorder should receive CBT-I as initial treatment. Adding medication is a later decision, shared with the physician, for those who haven't improved with CBT-I alone.
  • American Academy of Sleep Medicine (2021) — strong recommendation for multicomponent CBT-I. Individual components (stimulus control, sleep restriction, relaxation) receive a conditional recommendation; sleep hygiene alone, a conditional recommendation against.
  • European Insomnia Guideline (2023) — CBT-I as first line for chronic insomnia in adults of any age, including those with other health conditions, delivered in person or digitally (grade A).

On effect size: a meta-analysis of 20 randomized trials with 1,162 participants (average age 56), which excluded cases of insomnia associated with other health conditions, found, at the end of treatment, a reduction of about 19 minutes in time to fall asleep, about 26 minutes in time awake after initially falling asleep, and an increase of about 10 percentage points in sleep efficiency — gains that appeared to hold at later follow-ups, and no adverse outcomes were reported in the trials in this meta-analysis. Total sleep time changed little (about 8 minutes, with no statistically significant difference): CBT-I mainly improves sleep continuity and efficiency, not the number of hours.

verified

It also works when another condition is presentWhen insomnia shows up alongside another health problem, it still calls for its own treatment. A meta-analysis of 37 trials of insomnia associated with psychiatric or medical conditions found 36% remission of insomnia after CBT-I, versus 16.9% in control or comparison groups. Having depression, anxiety, or another health condition is no reason to leave insomnia out of treatment.

Precautions, limits, and when to seek help

CBT-I is safe, but it isn't harmless, nor does it work the same way for everyone — which is why it's done with professional follow-up, not on your own from a text on the internet:

  • It can get worse before it gets better. The main unwanted effects are daytime sleepiness and fatigue, irritability, and difficulty concentrating. They cluster in the early stages of treatment, when the behavioral strategies are introduced, improve over time, and generally resolve by the end of treatment — as sleep consolidates and time in bed is gradually extended again.
  • Sleep restriction can be contraindicated in some cases: people who work in high-risk occupations (operating heavy machinery, professional driving), people prone to mania or hypomania, and people with poorly controlled seizures. The decision is clinical, case by case.
  • Insomnia can occur alongside another sleep disorder. Assessment starts with a clinical interview (sleep history and medical history), questionnaires, and sleep diaries. When another sleep disorder is suspected — a sleep-related breathing disorder, such as apnea, or periodic limb movements — or when insomnia resists treatment, the European guideline recommends investigating with polysomnography, the sleep study done in a laboratory.
  • About medication. The guidelines reserve medication for when CBT-I hasn't been enough, generally for short periods and with a decision shared between the person and the physician managing the case. This page is educational: it does not prescribe, recommend, or adjust medication — nor should it be used to start or stop a treatment on your own.
warning

If there is intense despondency or thoughts of death, seek help nowIn long-term follow-up studies, insomnia predicts the onset of depression and anxiety, and changes in sleep are associated with a higher risk of suicidal thoughts and behaviors. If you are not sleeping and also have persistent despondency, loss of interest, or thoughts of death or of hurting yourself, care is immediate: in Brazil, CVV — Centro de Valorização da Vida offers free, confidential support, 24 hours a day, at 188 (also by chat on the CVV website); in an emergency, go to a health service or call SAMU — 192. See also the entry on suicide prevention.

In practice, the path starts simply: keeping a sleep diary and bringing that record to a clinician who works with CBT-I or to a sleep physician. The diary is the raw material of treatment — and on its own, it already helps reveal the pattern across nights, instead of relying on the general impression left the next day.

sleep efficiency sleep diary stimulus control sleep restriction sleep hygiene perpetuating factors

Test your understanding

quiz

Quick quiz

Three questions to reinforce the concept. You'll see the explanation right away.

Further reading

  1. American Psychiatric Association. DSM-5-TR: Diagnostic and Statistical Manual of Mental Disorders. 5th ed., text revision, 2022 — insomnia disorder.
  2. World Health Organization (WHO). ICD-11 — International Classification of Diseases, 11th revision: chapter 7, sleep-wake disorders (chronic insomnia, 7A00; short-term insomnia, 7A01).
  3. Edinger J. D. 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;17(2):255-262.
  4. 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;165(2):125-133.
  5. Riemann D. et al. "The European Insomnia Guideline: an update on the diagnosis and treatment of insomnia 2023". Journal of Sleep Research, 2023;32(6):e14035.
  6. Trauer J. M. et al. "Cognitive behavioral therapy for chronic insomnia: a systematic review and meta-analysis". Annals of Internal Medicine, 2015;163(3):191-204.
  7. Wu J. Q. et al. "Cognitive behavioral therapy for insomnia comorbid with psychiatric and medical conditions: a meta-analysis". JAMA Internal Medicine, 2015;175(9):1461-1472.
  8. Hertenstein E. et al. "Insomnia as a predictor of mental disorders: a systematic review and meta-analysis". Sleep Medicine Reviews, 2019;43:96-105.
  9. Pigeon W. R., Pinquart M., Conner K. "Meta-analysis of sleep disturbance and suicidal thoughts and behaviors". Journal of Clinical Psychiatry, 2012;73(9):e1160-e1167.
  10. Morin C. M., Jarrin D. C. "Epidemiology of insomnia: prevalence, course, risk factors, and public health burden". Sleep Medicine Clinics, 2022;17(2):173-191.
  11. Spielman A. J., Caruso L. S., Glovinsky P. B. "A behavioral perspective on insomnia treatment". Psychiatric Clinics of North America, 1987;10(4):541-553.
  12. Ellis J. G. et al. "The natural history of insomnia: predisposing, precipitating, coping, and perpetuating factors over the early developmental course of insomnia". Sleep, 2021;44(9):zsab095.
  13. Centro de Valorização da Vida (CVV) — emotional support and suicide prevention in Brazil, 24h, phone 188.
info

This entry is educational and does not replace assessment, diagnosis or treatment by a qualified health professional. Every person is unique — for a specific case, seek individual guidance.

Looking for professional guidance?

Instituto Walden4 is a psychology and education center in Brasília, Brazil, offering evidence-based assessment and care for autism, psychotherapy and development — in person and online. Our team serves in Portuguese; get in touch and we will find the best way to help.

chat Message us on WhatsApp
chat

Conta Walden4

Entrar

Use o e-mail e a senha da sua conta.