The short answer
- CBT-I stands for cognitive behavioral therapy for insomnia. It is the first-line treatment for chronic insomnia, recommended ahead of sleeping pills by the American Academy of Sleep Medicine (AASM) and the American College of Physicians.
- It works by changing the habits and the conditioning that keep insomnia going. The two techniques that do most of the work are sleep restriction and stimulus control.
- It usually takes six to eight weeks, the middle weeks are the hardest, and the gains tend to last after treatment ends.
- You can start this week with a sleep diary and a fixed wake-up time. Jump to the four-week start.
What Is CBT-I?
Cognitive behavioral therapy for insomnia, usually shortened to CBT-I, is a structured program that helps you find and replace the thoughts and behaviors that cause or worsen sleep problems. Unlike sleeping pills, CBT-I treats what keeps the insomnia going rather than covering it up for a night.
CBT-I is the recommended first-line treatment for chronic insomnia by the AASM, the American College of Physicians and the European Sleep Research Society. Chronic insomnia means trouble falling asleep or staying asleep at least three nights a week for three months or more. (For the different types of insomnia and their causes, see The Three Types of Insomnia.)
How well does it work? In a meta-analysis of randomized trials (Trauer and colleagues, 2015, listed in Sources below), CBT-I cut the average time to fall asleep by about 19 minutes, cut time awake during the night by about 26 minutes, and raised sleep efficiency, the share of time in bed actually spent asleep, by about 10 percentage points. Those gains hold after treatment ends.
Why Non-Drug Treatment Comes First
Sleep medications have a real role, particularly for short-term insomnia during a crisis. For chronic insomnia, though, they have three problems:
- They don't address the cause. Chronic insomnia is kept going by conditioning (the brain has learned to be alert in bed) and by habits that break sleep up. A pill changes neither.
- The benefit stops when the pill stops. Insomnia often returns when medication is stopped, sometimes worse for a few nights (rebound insomnia).
- The trade-offs add up. Tolerance, dependence, next-day grogginess and falls in older adults all become more likely with long-term use.
CBT-I works the other way around: the effort comes first, and the benefit lasts. Head-to-head studies show CBT-I works about as well as medication in the short term and better in the long term.
The Two Techniques That Do Most of the Work
CBT-I is a package of techniques, but its engine is two behavioral therapies. Understanding these two explains why CBT-I works.
1. Sleep Restriction: Less Time in Bed, More Actual Sleep
If you spend nine hours in bed to collect six hours of broken sleep, that sleep is spread thin across the night, with long stretches awake in between. Sleep restriction therapy temporarily matches your time in bed to the amount you actually sleep.
- Track first. Keep a sleep diary for at least a week to find your true average sleep time. Our free 2-week sleep diary is built for this.
- Set a sleep window. If you average six hours of sleep, your starting time in bed is about six hours, for example midnight to 6:00 a.m. It should not go below five to five and a half hours.
- Anchor the wake time. Get up at the same time every morning, every day, however the night went. A fixed wake time steadies the body clock.
- Expand gradually. Once you are asleep for most of your window (sleep efficiency around 85 to 90 percent), the window grows by 15 to 30 minutes a week.
Restricting time in bed builds sleep pressure, the brain's biological drive for sleep, until it outweighs the conditioned wakefulness that has been keeping you up. The first week or two are hard, and some extra daytime sleepiness is expected.
Do sleep restriction with professional guidance rather than alone if you have epilepsy, bipolar disorder or untreated sleep apnea, if you are pregnant, or if you drive or work where drowsiness is dangerous.
See it work: the interactive sleep restriction guide shows the window shrinking to fit your sleep in week one and then widening week by week.
2. Stimulus Control: Re-Teaching Your Brain What the Bed Is For
After months or years of insomnia, the bed itself becomes a cue for being awake. You can be exhausted on the couch at 10 p.m. and wide awake the moment your head reaches the pillow. That is conditioning, and stimulus control therapy reverses it.
The rules are simple to state and demanding to follow:
- Go to bed only when you are actually sleepy, not just tired
- Use the bed for sleep and sex only; no phone, TV or worrying in bed
- If you have been awake about 20 minutes, get up, leave the bedroom and do something quiet in dim light until sleepiness returns
- Get up at the same time every morning
- Skip daytime naps while you are retraining
Each rule removes another link between the bed and being awake. Stimulus control has the strongest evidence of any single behavioral technique for insomnia, and it pairs naturally with sleep restriction.
The Supporting Techniques
Cognitive Techniques
Insomnia is fueled by thoughts such as "I'll never function tomorrow" or "if I don't get eight hours I'll get sick." These worries raise arousal, and arousal makes sleep harder. Cognitive restructuring helps you notice these thoughts and replace them with more accurate ones. Scheduled worry time moves problem-solving out of bed and into the early evening. We cover these methods in How to Stop Racing Thoughts at Night.
Relaxation Training
Progressive muscle relaxation, slow breathing and guided imagery lower the physical tension that keeps some people awake. They help most when practiced during the day first, so they are familiar by bedtime.
Sleep Hygiene, Honestly
Sleep hygiene by itself is not an effective treatment for chronic insomnia. The research is consistent on this, and the AASM's 2021 guideline advises against using sleep hygiene as a standalone therapy. If you have cooled your bedroom, cut afternoon coffee and put screens away, and you still can't sleep, you have not failed. You were given groundwork and told it was a treatment.
We still recommend the basics, for three reasons:
- They remove the saboteurs. Afternoon caffeine, alcohol as a nightcap and a bedroom that is too warm don't cause chronic insomnia, but each one can undermine the treatments that do work.
- They set up the real treatment. Sleep restriction builds sleep pressure less efficiently against evening caffeine.
- They protect your gains. Once sleep has recovered, steady habits make relapse less likely.
Our Sleep Hygiene: A Complete Guide and printable checklist cover the basics. Treat them as the support, not the cure.
What About Melatonin and Supplements?
Melatonin is a reasonable tool for body clock problems: jet lag, shift work, or a clock that runs late, as in delayed sleep phase syndrome. For chronic insomnia in adults, the evidence is weak. The AASM pharmacology guideline does not recommend melatonin for trouble falling asleep or staying asleep, and most over-the-counter sleep supplements have even less evidence behind them.
How to Start This Week
A realistic self-guided sequence:
- Days 1 to 7: Track. Keep a sleep diary. No changes yet, just honest data.
- Day 1, also: Fix your wake time. Pick a get-up time you can hold seven days a week and start holding it now.
- Days 1 to 7: Apply stimulus control. Bed only when sleepy, out of bed when awake too long, no naps.
- Week 2: Set your sleep window from the diary and begin sleep restriction, widening it weekly as sleep consolidates.
- Throughout: Keep the hygiene basics running in the background. Caffeine before noon, alcohol away from bedtime, a cool, dark, quiet room, a wind-down routine.
Our free CBT-I Quick Reference condenses this onto a few printable pages.
What to Expect Over Six to Eight Weeks
CBT-I is usually delivered over six to eight sessions, in person with a trained therapist or through a structured digital program. A typical course runs like this:
- Weeks 1 and 2: sleep diary, a fixed wake time and the start of sleep restriction. Total sleep may dip at first, and daytime sleepiness often rises.
- Weeks 3 and 4: sleep starts to consolidate. You fall asleep faster, wake less, and the window begins to widen.
- Weeks 5 and 6: cognitive techniques address the worry and frustration that have built up around sleep.
- Weeks 7 and 8: you consolidate the gains and build a plan for rough patches later.
Expect weeks two and three to be the hardest, and expect to be tempted to quit. People who hold the plan for four to six weeks usually see their sleep consolidate.
Who Can Benefit
CBT-I works for:
- Adults with chronic insomnia
- People who want to reduce or stop sleep medication (taper with your prescriber, not alone)
- Insomnia that occurs alongside depression, anxiety or chronic pain
- Older adults whose sleep has become lighter and more broken
When to Get Professional Help
Self-guided CBT-I works for many people, but see a healthcare provider first, or instead, if:
- You snore loudly, gasp during sleep or are very sleepy in the daytime (possible sleep apnea, which needs its own treatment)
- Crawling or restless feelings in your legs keep you awake (possible restless legs syndrome)
- You have bipolar disorder or a seizure disorder, or are pregnant (sleep restriction needs supervision)
- You take sleep medication and want to taper
- Six weeks of steady effort hasn't helped
A clinician trained in behavioral sleep medicine can deliver CBT-I in person, and structured digital CBT-I programs are an evidence-supported option where access is limited.
Key Takeaways
- CBT-I is the first-line treatment for chronic insomnia in every major guideline, ahead of sleeping pills
- Sleep restriction and stimulus control do most of the work: they rebuild sleep pressure and break the link between bed and wakefulness
- Cognitive techniques and relaxation help with the racing mind
- Sleep hygiene alone does not treat chronic insomnia; it is the foundation, not the cure
- Melatonin targets body clock problems, not conditioned insomnia
- Start with a week of sleep diary and a fixed wake time, and expect the middle weeks to be hard before sleep consolidates
