Sleep8 min read·Published September 21, 2026

Cognitive Behavioral Therapy for Insomnia: What CBT-I Is and How It Works

A patient guide to CBT-I techniques, examples, evidence, safety, and when to get medical guidance.

Cognitive Behavioral Therapy for Insomnia: What CBT-I Is and How It Works

Cognitive behavioral therapy for insomnia, or CBT-I, is a structured, evidence-based treatment that helps change the thoughts and habits that keep insomnia going. It often includes stimulus control, sleep restriction or compression, relaxation, cognitive restructuring, and sleep hygiene. Many people use CBT-I with a trained clinician or a validated digital program 7.

Not sure where to start? Take the 3-min clinical quiz.

See if you qualify →

What is cognitive behavioral therapy for insomnia?

Cognitive behavioral therapy for insomnia is a structured sleep treatment usually delivered over several sessions. It targets the behaviors, thoughts, and conditioned arousal that can keep chronic insomnia disorder going, instead of simply trying to sedate the brain 7.

CBT-I is not the same as general sleep hygiene. Sleep hygiene means basics like limiting late caffeine or keeping a steady wake time. CBT-I goes further by retraining the bed-sleep connection, changing unhelpful beliefs about sleep, and using a sleep diary to guide the plan 7.

How does insomnia become a pattern that CBT-I can target?

Insomnia can become self-reinforcing when the brain starts linking bed with wakefulness, effort, worry, or frustration. This learned loop can continue for months even after the first trigger, such as stress, illness, travel, or a schedule change, has passed 7.

Conditioned arousal: when the bed starts to feel like a place for wakefulness

Conditioned arousal means your body learns to become alert in the place where it is supposed to sleep. A person may feel sleepy on the couch, then wide awake after getting into bed. Stimulus control is designed to rebuild that bed-sleep link 7.

Sleep-related worry and clock-watching

Worry about sleep can raise arousal. Clock-watching can make this worse by turning the night into a performance check. Cognitive restructuring helps people test sleep-related thoughts, such as “I will not function at all tomorrow,” against real evidence 7.

Unhelpful coping habits that can keep insomnia going

Common coping habits include spending more time in bed, taking long naps, sleeping late after a bad night, or using alcohol as a sleep aid. These may feel helpful short term, but they can weaken sleep drive or make sleep more fragmented 7.

What are the main CBT-I techniques?

CBT-I techniques are usually combined because insomnia often has more than one driver. A multi-component plan commonly includes stimulus control, sleep restriction or sleep compression, cognitive restructuring, relaxation training, sleep hygiene education, and sleep diary tracking 7.

TechniqueWhat it targetsKey caution
Stimulus controlRebuilds the connection between bed and sleepExact timing rules vary; avoid more clock-watching
Sleep restriction therapyMatches time in bed to actual sleep to strengthen sleep driveCan cause temporary sleepiness; use guidance if safety risk is present
Sleep compressionGradually reduces extra time in bedOften used when abrupt restriction is not a good fit
Cognitive restructuringTests unhelpful sleep beliefs and worry loopsNot positive thinking; it is a structured evidence check
Relaxation trainingLowers physical and mental arousalWorks best with practice, not just on bad nights
Sleep diaryTracks bedtime, wake time, sleep onset latency, wake after sleep onset, total sleep time, and sleep efficiencyEstimates are useful; perfection is not needed

Stimulus control: rebuilding the bed-sleep connection

Stimulus control reduces long periods of awake time in bed. The goal is to make bed a strong cue for sleep again, not a place for scrolling, worrying, working, or trying hard to sleep 7.

Sleep restriction or sleep compression: matching time in bed to actual sleep

Sleep restriction therapy limits time in bed based on sleep diary patterns, while sleep compression usually narrows the sleep window more gradually. Both are clinical tools, not a challenge to “sleep as little as possible” 7.

Cognitive restructuring: challenging unhelpful sleep beliefs

Cognitive restructuring helps identify thoughts that raise arousal, then test them. For example, a clinician may help someone compare feared outcomes after a poor night with what actually happened the next day 7.

Relaxation training: lowering physical and mental arousal

Relaxation training may include breathing practice, muscle relaxation, imagery, or mindfulness-based skills. It is not meant to force sleep; it lowers arousal so sleep has a better chance to occur naturally 7.

Sleep hygiene: helpful basics, but usually not enough by itself

Sleep hygiene education can support CBT-I, but it is usually not the whole treatment. For chronic insomnia, advice like “avoid screens” often does not address conditioned arousal or sleep-related fear by itself 7.

Sleep diary: tracking patterns without guessing

A sleep diary tracks sleep onset latency, wake after sleep onset, total sleep time, and sleep efficiency. These estimates help guide behavioral changes and reduce guessing 7.

What are examples of cognitive behavioral therapy for insomnia?

CBT-I examples are best understood as skills, not rigid rules. A typical program uses daily tracking and small behavior changes so the plan can match the person’s sleep pattern 7.

  • Example of stimulus control: If someone is awake and frustrated in bed, the plan may have them leave the bed for a quiet activity, then return when sleepy. The goal is to stop pairing bed with long awake periods 7.
  • Example of a sleep diary: A person records bedtime, estimated time to fall asleep, nighttime awakenings, final wake time, naps, caffeine, alcohol, and medication changes. The pattern matters more than exact minute-by-minute precision 7.
  • Example of cognitive restructuring: A thought like “If I do not sleep 8 hours, tomorrow is ruined” can be tested against real next-day functioning and replaced with a more accurate statement 7.
  • Example of relaxation practice: A person practices slow breathing or progressive muscle relaxation during the day, so the skill is familiar at night 7.
  • Example of sleep compression: Instead of sharply reducing time in bed, the sleep window is narrowed step by step under guidance, which may be a better fit for some people 7.

Can I do CBT-I on my own?

Self-guided CBT-I may be reasonable for some adults with mild or uncomplicated insomnia, especially when using a structured program. But sleep restriction can affect alertness within the first 1 to 2 weeks, so higher-risk situations need clinician guidance 7.

When self-guided CBT-I may be reasonable

Self-guided CBT-I may fit someone whose main issue is a stable insomnia pattern without major safety risks, severe daytime sleepiness, bipolar disorder, seizure disorder, suspected sleep apnea, or complex medication issues. Digital CBT-I has randomized-trial evidence, but programs vary in quality 2.

When to use a trained CBT-I clinician or sleep specialist

Use a trained clinician if insomnia is severe, long-standing, linked with depression or anxiety, or mixed with other sleep symptoms. In a randomized clinical trial, CBT-I was studied in people with insomnia and depression, which shows that comorbid mood symptoms deserve structured care rather than guesswork 1.

What to look for in a digital CBT-I program

Look for a program that uses a sleep diary, explains stimulus control and sleep restriction clearly, screens for safety risks, and encourages medical evaluation when symptoms suggest another condition. Fully automated digital CBT-I has been evaluated in systematic review work, but quality and support features differ by program 9.

What is the best CBT-I approach for insomnia?

Multi-component CBT-I is usually the best-studied approach because chronic insomnia often has behavioral and cognitive parts. One tool may help, but a combined plan can address bed-wake conditioning, sleep drive, worry, and arousal together 7.

In-person, telehealth, group, and digital CBT-I can all be useful, depending on access, risk level, and support needs. Digital CBT-I improved health, psychological well-being, and sleep-related quality-of-life outcomes in a randomized clinical trial, while clinician-led care may be better when safety screening or personalization is important 2.

Depression, anxiety, shift work, adolescence, and older age can change the plan. CBT-I has been studied in adults with depression 1, nurses with shift work sleep disorder 4, adolescents in a meta-analysis of 8 randomized trials with 599 participants 8, and older adults using a smart sleep app 6. Individual results vary.

If this sounds like youSensible next stepWhy
Stable insomnia without major medical or safety risksStructured CBT-I program or CBT-I clinicianCore CBT-I skills may fit if safety screening is clear
Insomnia plus depression or anxietyClinician-guided CBT-I and mental health evaluationMood symptoms can worsen sleep and need parallel care
Shift work sleep disorderSleep clinician or program experienced with circadian schedulesTiming of sleep, light, and work demands matters
Teenager with insomniaPediatric or adolescent sleep clinicianAdolescent CBT-I evidence exists, but plans must fit school, family, and development
Older adult with falls risk, many medications, or sleepinessMedical review before sleep restrictionSleepiness and medication effects can raise safety risk
Snoring, breathing pauses, restless legs, or dangerous sleepinessSleep medicine evaluationAnother sleep disorder may be driving insomnia symptoms

What is the 30/30 rule for insomnia?

The 30/30 rule is a common patient-friendly version of stimulus control: if you are awake for about 30 minutes, get out of bed for a quiet activity, then return when sleepy. Clinicians may use different timing, and the goal is not to stare at the clock 7.

Some CBT-I protocols use “about 15 to 20 minutes,” while others teach people to respond when they feel clearly awake and frustrated. The exact number matters less than the principle: reduce long, alert, effortful time in bed 7.

If timing rules make you more anxious, a clinician may suggest using body cues instead of clock checks. For example, “If I am alert and trying hard to sleep, I will reset with a quiet activity” may work better than counting minutes.

How strong is the evidence for CBT-I?

CBT-I evidence includes randomized trials, digital-treatment trials, and meta-analyses across several groups. The evidence is strongest for chronic insomnia symptoms, while results for mood, inflammation markers, and special populations depend on the specific study 1.

Evidence from randomized trials in adults

CBT-I has been tested in adults with insomnia and depression in a randomized controlled clinical trial 1. It has also been compared with other non-drug approaches, such as Tai Chi in breast cancer survivors with insomnia, where outcomes were studied in that specific population and should not be overgeneralized 3.

Evidence for digital CBT-I

Digital CBT-I has randomized-trial evidence for insomnia-related health and quality-of-life outcomes 2. A systematic review and meta-analysis has also examined fully automated digital CBT-I, but digital programs are not identical in screening, coaching, or safety support 9.

Evidence in adolescents, older adults, shift workers, and people with depression

A 2024 systematic review and meta-analysis of adolescent CBT-I trials included 8 randomized controlled trials and 599 participants; it found improvements in insomnia severity, sleep onset latency, total sleep time, and sleep efficiency at post-treatment, with follow-up improvement in insomnia severity 8. Digital CBT-I has also been studied in nurses with shift work sleep disorder 4 and in older adults using a smart sleep app 6.

What CBT-I can improve and what it may not fix

CBT-I can improve insomnia patterns, but it may not fix untreated sleep apnea, restless legs syndrome, medication side effects, mania, pain, hot flashes, or an unsafe work schedule. If insomnia sits inside a wider health picture, CBT-I is one part of care, not the whole answer.

Is CBT-I safe, and who should get medical guidance first?

CBT-I is generally low risk, but sleep restriction can cause temporary daytime sleepiness, especially early in treatment. People with higher-risk situations should get guidance before trying a plan that changes sleep time over days to weeks 7.

Temporary sleepiness during sleep restriction

Sleep restriction is meant to strengthen sleep drive, but it can make a person feel sleepier at first. This matters if someone drives long distances, operates machinery, works in health care or transportation, or cares for others overnight.

Bipolar disorder, seizure risk, severe daytime sleepiness, and safety-sensitive work

People with bipolar disorder, seizure disorders, severe daytime sleepiness, or safety-sensitive jobs should not try sleep restriction without clinical guidance. Reduced sleep can worsen some psychiatric or neurologic risks, and alertness matters for safety.

Possible sleep apnea, restless legs, medication effects, and other causes of insomnia

Snoring, witnessed breathing pauses, morning headaches, restless legs, pain, hot flashes, alcohol use, stimulant use, and medication changes can all affect sleep. Our guide to online treatment for insomnia explains how telehealth can help sort through patterns and decide when sleep testing or specialty care may be needed.

When insomnia needs urgent care

Seek urgent medical evaluation if insomnia comes with thoughts of self-harm, mania symptoms, dangerous sleepiness while driving, chest pain, breathing pauses, or sudden neurologic symptoms. Those situations need prompt care, not self-guided sleep training.

How does CBT-I compare with sleep medication?

CBT-I and sleep medication work differently: CBT-I changes the pattern keeping insomnia going, while medication may provide short-term symptom relief for some people. Medication can still have a role, but risks, interactions, and the cause of insomnia should be reviewed by a clinician.

Behavioral treatment is often appealing because it teaches skills that can continue after sessions end. Medication decisions are different: age, pregnancy status, alcohol use, breathing disorders, fall risk, mood history, other prescriptions, and next-day driving all matter.

Be cautious with online claims about sleep peptides or supplements. For example, DSIP is discussed online for sleep, but it remains an education-only topic in our resources; our articles on DSIP evidence, DSIP peptide dosage research, and buying DSIP peptide online explain why research interest is not the same as a proven insomnia treatment.

Can telehealth help with insomnia?

Telehealth insomnia care can help evaluate sleep patterns, health history, medication contributors, and red flags, often within one online visit. It cannot replace emergency care, and not every online clinic offers formal CBT-I.

A clinician may ask about bedtime, wake time, naps, caffeine, alcohol, mood, pain, hot flashes, snoring, restless legs, medications, supplements, and work schedule. If sleep apnea or another sleep disorder is possible, they may recommend sleep testing or a sleep specialist.

At Chia, we write about sleep because it is central to metabolic health, hormones, and longevity. Chia’s current live treatment catalog does not list CBT-I as a treatment or program, so we do not route this topic into a prescription funnel. If you are exploring adjacent wellness topics, our guides to NAD therapy and NAD treatment are educational resources, not substitutes for insomnia care.

What changes over time with CBT-I?

CBT-I changes over time because the plan is adjusted as sleep efficiency and daytime function change. In the first weeks, the focus is often tracking, safety screening, and rebuilding consistent sleep cues 7.

Early on, sleep restriction or compression may feel harder before it feels easier. Over the next several weeks, a clinician or structured program may adjust the sleep window based on sleep diary patterns, daytime sleepiness, and safety needs 7.

Longer term, many people keep a smaller set of tools: a steady wake time, stimulus control during flare-ups, and a plan for travel, stress, or schedule changes. Individual results vary, and relapse prevention is part of many CBT-I programs 7.

When should you get help now?

Get medical help now if insomnia is paired with dangerous symptoms or sudden behavior changes. Do not wait several nights if sleep loss is linked with self-harm thoughts, mania symptoms, unsafe driving sleepiness, chest pain, breathing pauses, or neurologic symptoms.

  • Call emergency services or a crisis line if insomnia comes with thoughts of self-harm or feeling unsafe.
  • Seek urgent care for chest pain, severe shortness of breath, fainting, sudden weakness, confusion, or new neurologic symptoms.
  • Get prompt medical review for mania symptoms, such as little need for sleep with racing thoughts, risky behavior, or unusually high energy.
  • Do not drive or do safety-sensitive work if you are dangerously sleepy.
  • Ask about sleep apnea evaluation if there are breathing pauses, loud snoring, morning headaches, or severe daytime sleepiness.

References

  1. 1.Carney CE, Edinger JD, Kuchibhatla M, et al. Cognitive Behavioral Insomnia Therapy for Those With Insomnia and Depression: A Randomized Controlled Clinical Trial. Sleep. 2017.
  2. 2.Espie CA, Emsley R, Kyle SD, et al. Effect of Digital Cognitive Behavioral Therapy for Insomnia on Health, Psychological Well-being, and Sleep-Related Quality of Life: A Randomized Clinical Trial. JAMA Psychiatry. 2019.
  3. 3.Irwin MR, Hoang D, Olmstead R, et al. Tai Chi Compared With Cognitive Behavioral Therapy and the Reversal of Systemic, Cellular and Genomic Markers of Inflammation in Breast Cancer Survivors With Insomnia: A Randomized Clinical Trial. Brain, Behavior, and Immunity. 2024.
  4. 4.Brückner HA, Ell J, Kalon L, et al. Effectiveness of Digital Cognitive Behavioral Therapy for Insomnia in Nurses With Shift Work Sleep Disorder: Results of a Randomized Controlled Trial. International Journal of Nursing Studies. 2025.
  5. 5.Kwan Y, Yoon S, Suh S, et al. A Randomized Controlled Trial Comparing Neurofeedback and Cognitive-Behavioral Therapy for Insomnia Patients: Pilot Study. Applied Psychophysiology and Biofeedback. 2022.
  6. 6.Kim C, Lee Y, Kang SG, et al. Effectiveness of Information and Communication Technology-Based Cognitive Behavioral Therapy Using the Smart Sleep App on Insomnia in Older Adults: Randomized Controlled Trial. Journal of Medical Internet Research. 2025.
  7. 7.Sweetman A, Lack L, Catcheside P, et al. Cognitive Behavioral Therapy for Insomnia (CBT-I): A Primer. 2023.
  8. 8.The Efficacy of Cognitive Behavioral Therapy for Insomnia in Adolescents: A Systematic Review and Meta-Analysis. Frontiers in Public Health. 2024.
  9. 9.Systematic Review and Meta-Analysis on Fully Automated Digital Cognitive Behavioral Therapy for Insomnia. npj Digital Medicine. 2025.
  10. 10.National Library of Medicine. NCT00869934: Cognitive-Behavior Therapy for Insomnia. ClinicalTrials.gov. 2009.

About this article

Chia Health Editorial TeamEvidence-reviewed health education

This article is for educational purposes only and is not a substitute for individualized medical advice. Talk to a licensed clinician before starting, stopping, or changing any prescription.

AI tools may assist with research and drafting. Chia's editorial team reviews source use, clarity, treatment information, and safety framing before publication. A clinician is named only after explicit sign-off. Read our editorial standards.

Get a personalized plan

Find what fits your body and your goals.

Our 3-minute clinical quiz is reviewed by a US-licensed clinician. Treatment delivered to your door.

Take the 3-min quiz

Keep reading

Back to all guides