On this page
The short answer CBT-I (cognitive behavioral therapy for insomnia) is a structured, drug-free program that retrains your sleep schedule, your bed habits and the worried thinking that keeps insomnia going. It usually runs 4 to 8 weekly sessions, in person, online or by app. Guidelines from both the American College of Physicians and the American Academy of Sleep Medicine put it first, ahead of sleeping pills.
It isn’t talk therapy about your childhood, and it isn’t a list of sleep hygiene tips. CBT-I is closer to a coaching program with homework: you keep a sleep diary, follow a set schedule, and adjust it week by week based on what the diary shows. Here’s what each piece does.
| Component | What you actually do | Why it helps |
|---|---|---|
| Sleep diary | Log bedtime, roughly how long it took to fall asleep, night wakings and wake time, every day | Gives you and your clinician real numbers to adjust the plan |
| Stimulus control | Bed only for sleep and sex; get up if you can’t sleep; same wake time every day | Breaks the link between your bed and lying awake |
| Sleep restriction | Limit time in bed to about the sleep you’re actually getting, then widen it | Builds sleep pressure so sleep gets deeper and less broken |
| Cognitive therapy | Spot and test beliefs like “a bad night will ruin tomorrow” | Lowers the anxiety about sleep that keeps you alert in bed |
| Relaxation training | Practice muscle relaxation, slow breathing or imagery daily | Reduces physical tension and a racing mind |
| Sleep education and hygiene | Learn how sleep drive and the body clock work; tidy up caffeine, alcohol and bedroom habits | Removes obstacles; supports the other parts but doesn’t work alone |
What is CBT-I, exactly?
The American Academy of Sleep Medicine’s 2021 guideline describes CBT-I as cognitive therapy strategies combined with education about sleep regulation, plus stimulus control and sleep restriction, often with sleep hygiene and relaxation training added. It usually takes 4 to 8 sessions, guided by your sleep diary.
The AASM’s patient site puts it more simply: CBT-I addresses the thoughts and behaviors that keep you from sleeping well and teaches new strategies to sleep better. The National Heart, Lung, and Blood Institute calls it a 6- to 8-week treatment plan that a doctor, nurse or therapist can deliver in person, by phone or online.
It’s built for chronic insomnia, meaning trouble sleeping at least three times per week for at least three months. About 10% of people meet that bar. If your sleep went sideways two weeks ago after a stressful event, that’s short-term insomnia, and it often settles by itself.
Why it’s the first-line treatment
Two major guidelines agree. The American College of Physicians recommends that all adult patients receive CBT-I as the initial treatment for chronic insomnia, a strong recommendation, and suggests adding medication only through shared decision-making if CBT-I alone doesn’t work. The AASM recommends multicomponent CBT-I with its strongest rating.
The reason is durability. A systematic review that compared CBT-I head-to-head with sleeping pills found CBT-I worked better in the long term, while pills had a short-term edge. The evidence was rated low to moderate quality, but it fits what the AASM guideline says: the gains from CBT-I can last after treatment ends, and it may reduce the need for medication.
How well does it work?
A meta-analysis of 20 trials with 1,162 adults found that after face-to-face CBT-I, people fell asleep about 19 minutes faster and spent about 26 fewer minutes awake during the night. Sleep efficiency, the share of time in bed actually spent asleep, rose by almost 10 percentage points. The gains seemed to hold at later follow-ups, and no adverse outcomes were reported.
One number surprises people: total sleep time rose by only about 8 minutes, and that wasn’t statistically significant. The main early win is less time lying awake, not more hours. For a lot of people, a shorter, solid night feels far better than a long, broken one.
It also helps when insomnia comes with something else. Across 37 trials in people with insomnia alongside conditions like depression, anxiety or chronic pain, 36% were in remission from insomnia after CBT-I, compared with 17% in comparison groups. The other condition improved a little too, more for psychiatric than for medical conditions. That also means CBT-I doesn’t fix everyone; most people improve, and a minority are fully cured by the end of treatment.
What a typical course looks like
Programs differ, but most follow this shape. A therapist often sees you weekly, for 30 to 90 minutes, and group or phone sessions are also options.
- Weeks 1 to 2: keep a sleep diary. You don’t change anything yet. You just record what’s actually happening, because people with insomnia often misjudge how much they sleep in both directions.
- Week 2 or 3: set your sleep window. Based on the diary, you pick a fixed wake time and a later bedtime so your time in bed roughly matches the sleep you’re getting. Stimulus control rules start the same week.
- Middle weeks: adjust. Each week you review the diary. When most of your time in bed is spent asleep, the window widens a little. If it isn’t, it stays put or narrows.
- Alongside: work on the thoughts. You look at beliefs that ramp up the pressure at night, like “I need 8 hours or I can’t function,” and test them against your diary.
- Final session: plan for relapse. You learn what to do after a bad stretch, so one rough week doesn’t turn back into months of insomnia.
Imagine someone in bed from 10 pm to 7 am who sleeps about 6 hours. A clinician might start them on a window of roughly 1 am to 7 am, then add time back in small steps as sleep consolidates. The exact rules vary by program, which is one reason to do this part with guidance.
Does CBT-I make sleep worse at first?
Often, yes, and that’s expected. Sleep restriction is the reason. In a lab study of 16 people with insomnia, measured sleep dropped by more than an hour in the first weeks of sleep restriction, daytime sleepiness rose and reaction times slowed. By three months, sleepiness and alertness were back to normal, and insomnia severity had improved.
The AASM guideline lists increased daytime sleepiness and trouble concentrating as early effects of sleep restriction, and urges caution for people who drive or operate heavy machinery for work, are prone to mania or hypomania, have poorly controlled seizures or already have excessive daytime sleepiness. If you’re sleepy behind the wheel, don’t drive.
The practical takeaway: expect the first two or three weeks to feel harder, and judge the program after it’s done, not after night four.
Ways to get CBT-I
The AASM found not enough evidence to favor one delivery format over another and says clinicians should discuss the options with you. Here’s how they compare.
| Format | Good for | Trade-off |
|---|---|---|
| One-on-one with a trained clinician | Complex cases, other health conditions, anyone who wants tailoring | Trained providers are scarce in many areas; waitlists |
| Group sessions | People who like structure and company | Less tailoring; fixed schedule |
| Phone or video | Rural areas, busy schedules | Same provider shortage, wider reach |
| Digital programs and apps | Starting now, self-paced work | Easy to drop out; no one adjusts the plan for you |
| Brief behavioral therapy (1 to 4 sessions) | Primary care settings | Fewer components; AASM gives it a conditional recommendation |
Digital CBT-I holds up reasonably well. A meta-analysis of 11 trials with 1,460 people found internet-delivered programs improved insomnia severity and sleep with effects comparable to face-to-face CBT-I. Longer programs and more personal support from a clinician were tied to bigger effects. In one large trial of 1,711 adults, a digital program led to large improvements in sleep-related quality of life compared with sleep hygiene education.
Free CBT-I options
The US Department of Veterans Affairs makes two apps worth knowing about, and they serve different purposes.
- Insomnia Coach is created for everyone, including veterans, and works as a stand-alone self-care tool with a guided weekly training plan. The VA notes it may not suit shift workers or people whose jobs keep them up at night, and suggests checking with a provider first if you have sleep apnea, bipolar disorder or epilepsy.
- CBT-i Coach is designed to be used with a provider as part of CBT-I and isn’t meant for self-care on its own.
The AASM also offers a free sleep diary you can print, which is the starting point for any program.
How to find a CBT-I provider
The specialists are called behavioral sleep medicine providers, and there aren’t many of them. The AASM’s patient site points to the Society of Behavioral Sleep Medicine’s directory of behavioral sleep medicine providers, and accredited sleep centers often have CBT-I clinicians on staff. A few practical steps:
- Ask your primary care doctor for a referral. Some health systems run CBT-I groups or brief programs in-house.
- Search the Society of Behavioral Sleep Medicine directory, which also flags providers certified in behavioral sleep medicine.
- Ask any therapist you’re considering whether they deliver CBT-I specifically, including sleep restriction and a sleep diary. General CBT isn’t the same thing.
- Check your insurance for coverage of behavioral therapy and telehealth before the first session.
- If the wait is long, start a digital program or Insomnia Coach while you wait.
Can you do CBT-I on your own?
You can use the behavioral pieces on your own, and many people get real benefit from them. Stimulus control, a fixed wake time and a sleep diary are low-risk and free; our insomnia tips walk through each one, and how to fall back asleep covers the middle-of-the-night version.
Sleep restriction is the piece we’d hand to a clinician or a structured program. It’s powerful, the first weeks bring real sleepiness, and it isn’t safe for everyone. Self-guided CBT-I also isn’t the right move if you might have sleep apnea, since loud snoring, gasping or pauses in breathing need their own evaluation first.
CBT-I vs sleeping pills and supplements
Pills can help in the short term, and there’s a place for them. But the ACP puts them second, after CBT-I, and the AASM’s 2017 drug guideline suggests against melatonin, valerian, diphenhydramine and tryptophan for chronic insomnia. Supplements aren’t a substitute for retraining your sleep. If you already take a sleep medication, don’t stop it on your own; some programs taper medication alongside CBT-I with your prescriber.
And if you’ve already tried the sleep hygiene basics without luck, that’s normal. The AASM suggests clinicians not use sleep hygiene as a stand-alone treatment, because it isn’t enough on its own for chronic insomnia.
When to see a doctor
- You’ve had trouble sleeping at least three nights a week for three months or more. Ask specifically about CBT-I.
- You snore loudly, gasp or stop breathing in your sleep, or feel very sleepy during the day. That can point to sleep apnea, which needs testing before or alongside CBT-I.
- Your insomnia comes with depression, anxiety, bipolar disorder, seizures or chronic pain. CBT-I can still help, but it should be supervised.
- You’re nodding off while driving. Pull over, and see a doctor soon.
Not sure what kind of insomnia you’re dealing with? Start with insomnia types and causes, or browse more guides in Fall Asleep.
Common questions
How long does CBT-I take to work?
Most programs run 4 to 8 weekly sessions, about 6 to 8 weeks. Improvement is gradual, and the first two or three weeks of sleep restriction often feel harder before sleep consolidates.
Can you do CBT-I on your own?
You can apply stimulus control, a fixed wake time and a sleep diary on your own, and digital programs show effects comparable to face-to-face CBT-I in trials. Sleep restriction is best done with a clinician or structured program, and anyone with possible sleep apnea should be evaluated first.
Is CBT-I better than sleeping pills?
Guidelines from the American College of Physicians and the AASM recommend CBT-I as the first treatment for chronic insomnia. Reviews suggest pills may work faster in the short term but CBT-I's benefits last longer.
Is there a free CBT-I app?
The US Department of Veterans Affairs offers Insomnia Coach, a CBT-I-based self-care app made for everyone. Its sister app, CBT-i Coach, is designed to be used alongside a provider.
Written and checked by the Sleep Brief editors. We base every article on published research and guidance from medical bodies, and link the sources inline. How we research.
This article is for general education and isn't medical advice. If poor sleep lasts more than a few weeks, or you snore loudly, stop breathing in your sleep or feel sleepy while driving, talk to a doctor.



