Quick answer
CBT-I (cognitive behavioral therapy for insomnia) is the recommended first treatment for chronic insomnia. It changes the habits and worries that keep poor sleep going, using tools like a steady wake time, less time lying awake in bed, and rethinking unhelpful beliefs about sleep. It usually takes 4 to 8 sessions with a trained therapist, sleep can get a little worse before it improves, and its benefits tend to last after treatment ends. We don't offer standalone weekly therapy, but we're happy to help you find a therapist and will coordinate with them as part of your care.
Key takeaways
- CBT-I is the first-line treatment for chronic insomnia and targets the habits and worries that keep poor sleep going.
- Its core tools include temporarily limiting time in bed, using the bed only for sleep and keeping a consistent wake time.
- Sleep often gets worse before it improves, which is important to know before you start.
- CBT-I's benefits tend to last after treatment ends, and it can help even if you also have anxiety or depression.
Cognitive behavioral therapy for insomnia — CBT-I — is the first-line treatment for chronic insomnia and outperforms sleep medication in head-to-head comparisons for long-term outcomes. It is also one of the most consistently underutilized treatments in mental health care.
Understanding what CBT-I actually involves helps explain both why it works and why it is more effective than medication for sustained insomnia.
What Chronic Insomnia Actually Is
Chronic insomnia — difficulty falling asleep, staying asleep, or waking too early on at least three nights per week for at least three months — is not simply a sleep problem. It is a self-sustaining cycle: the experience of poor sleep produces anxiety about sleep, which produces behaviors that maintain the insomnia, which produces more anxiety about sleep.
The Merck Manual describes how worry about losing sleep and unhelpful sleep habits can keep insomnia going, and how cognitive behavioral therapy helps people unlearn them. CBT-I targets this cycle directly — which is why it addresses the problem at its source rather than simply producing sleep through sedation.
Myth or fact? Sleep habits and insomnia
Choose an answer for each to see the explanation. Nothing is saved.
1After a bad night, sleeping in is the best way to catch up.
Myth. A consistent wake time, even after a poor night and on weekends, is one of the core habits in CBT-I.
2Spending more time in bed gives you more chances to sleep.
Myth. Long stretches of lying awake can strengthen the link between bed and wakefulness. CBT-I often limits time in bed for a while to match the sleep you're actually getting, which builds sleep pressure.
3If you can't fall asleep, it can help to get out of bed for a while.
Fact. This is part of stimulus control: using the bed only for sleep (and sex), and getting up when you can't sleep for about 20 minutes, then returning when you feel sleepy.
The Behavioral Components
CBT-I includes two core behavioral interventions that are often counterintuitive and that require explanation to be followed correctly.
Sleep restriction — which sounds alarming but is one of the most effective tools available — involves temporarily limiting time in bed to match the person’s actual sleep time rather than the time they are lying awake. This builds sleep pressure, reduces the anxiety-producing experience of lying awake for hours, and begins to rebuild the association between the bed and sleep.
Stimulus control rebuilds the association between the bed and sleep that chronic insomnia erodes. This means using the bed only for sleep (and sex), getting out of bed when unable to sleep for more than twenty minutes, and maintaining consistent wake times regardless of how much sleep was achieved the previous night.
The Cognitive Components
Alongside the behavioral interventions, CBT-I addresses the beliefs and thoughts about sleep that maintain anxiety and hyperarousal around it.
Common unhelpful sleep beliefs include: ‘I need eight hours of sleep to function,’ ‘If I don’t fall asleep soon, tomorrow will be ruined,’ ‘I have no control over my sleep.’ These beliefs are not neutral — they generate anxiety that directly interferes with sleep onset and maintenance. This is directly related to the cognitive behavioral therapy approach used for anxiety and depression — the same principles of examining and revising unhelpful thought patterns apply.
Is it this or that?
CBT-I, or sleep medication?
| CBT-I | Sleep medication | |
|---|---|---|
| What it does | Changes the habits and worries that keep insomnia going. | Helps you sleep, but doesn't change what keeps insomnia going. |
| How fast it helps | Takes a few weeks, and sleep can get a little worse at first. | Can help quickly; usually meant for short-term use, up to a few weeks. |
| Over the long term | Benefits tend to last after treatment ends. | It can stop working as well over time (tolerance), and stopping suddenly can bring the insomnia back worse (rebound). |
| What guidelines say | Recommended as the first treatment for chronic insomnia in adults. | Can be considered, after talking through benefits and risks, if CBT-I alone hasn't worked. |
CBT-I
- What it does
- Changes the habits and worries that keep insomnia going.
- How fast it helps
- Takes a few weeks, and sleep can get a little worse at first.
- Over the long term
- Benefits tend to last after treatment ends.
- What guidelines say
- Recommended as the first treatment for chronic insomnia in adults.
Sleep medication
- What it does
- Helps you sleep, but doesn't change what keeps insomnia going.
- How fast it helps
- Can help quickly; usually meant for short-term use, up to a few weeks.
- Over the long term
- It can stop working as well over time (tolerance), and stopping suddenly can bring the insomnia back worse (rebound).
- What guidelines say
- Can be considered, after talking through benefits and risks, if CBT-I alone hasn't worked.
Please don't stop a medication on your own; some can cause withdrawal symptoms or a return of symptoms if stopped suddenly. Recommendations from the American College of Physicians and the American Academy of Sleep Medicine.
Why It Outperforms Medication Long-Term
Sleep medications provide relatively reliable short-term relief for acute insomnia. For chronic insomnia, they have significant limitations: tolerance develops over time, discontinuation often produces rebound insomnia, and they do not address the maintaining factors that keep the insomnia going.
CBT-I, by contrast, addresses the maintaining factors directly — which is why its effects are durable. Sleep medicine guidelines — including formal recommendations from the American College of Physicians and the American Academy of Sleep Medicine — identify CBT-I as the most effective long-term treatment for insomnia, with effects that outlast the treatment period. Studies suggest that CBT-I’s results last longer than those of sleep medication, even though medication may work faster in the short term. For people with comorbid depression or anxiety, treating insomnia with CBT-I may also ease mood and anxiety symptoms, though research on this is still mixed.
Who Benefits Most
CBT-I is appropriate for most people with chronic insomnia — regardless of how long they have had it, whether it co-occurs with other psychiatric conditions, or whether they have tried and found sleep medication helpful. It is particularly valuable for people with co-occurring anxiety or depression, for whom the sleep-anxiety cycle is often tightly intertwined with the psychiatric symptoms.
Frequently Asked Questions
Is CBT-I better than sleep medication?
For chronic insomnia, CBT-I produces better long-term outcomes than sleep medication in comparative research. Sleep medication is effective for acute, short-term insomnia but carries tolerance and dependence risks with extended use and does not address the maintaining factors that sustain chronic insomnia. CBT-I effects tend to persist and improve after treatment ends.
How long does CBT-I take to work?
CBT-I is typically delivered over four to eight sessions and produces meaningful improvement in most people within that period. Sleep often gets temporarily worse before it improves, particularly in the sleep restriction phase — which is counterintuitive and important to know in advance. Sustained improvement typically emerges over four to six weeks.
Can CBT-I work if I also have anxiety or depression?
Yes — CBT-I is effective in the context of co-occurring anxiety and depression, and treating the insomnia often has positive effects on the psychiatric symptoms as well. The sleep-anxiety-mood cycle is interconnected, and improving sleep quality tends to improve mood and anxiety regulation simultaneously.
What is sleep restriction therapy and is it safe?
Sleep restriction is a component of CBT-I that temporarily limits time in bed to match actual sleep time, building sleep pressure and reducing the time spent lying awake. It is temporarily uncomfortable and can produce daytime sleepiness in the first week or two. It should not be used in people with certain conditions, including bipolar disorder or seizure disorders, without careful clinical supervision.
If you have been struggling with insomnia — lying awake, waking in the night, watching the clock — CBT-I is the treatment with the best evidence for your situation. It is worth pursuing directly, not as a last resort after medications have failed.
The science: how we checked this
Sources
- 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
- Edinger JD, 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
- Merck Manual Consumer Version: Insomnia and Excessive Daytime Sleepiness (EDS)
- Mitchell MD, et al. Comparative effectiveness of cognitive behavioral therapy for insomnia: a systematic review. BMC Family Practice, 2012
How we checked this
- CBT-I as the first treatment for chronic insomnia, and medication as an option after shared decision-making if CBT-I alone hasn't worked: American College of Physicians guideline.
- Multicomponent CBT-I, stimulus control and sleep restriction as recommended treatments: American Academy of Sleep Medicine guideline.
- 4 to 8 sessions with a trained sleep therapist, lasting effects, a regular wake time even on weekends, limiting time in bed, and sleep aids' short-term use, tolerance, rebound insomnia and slow tapering: Merck Manual.
- CBT-I's effects lasting longer than medication's: Mitchell et al., BMC Family Practice (2012).
- Getting up after about 20 minutes and sleep getting a little worse at first come from this article's own explanation.
- Written in our own words from the sources above.



