13 min read · 8 sources

What Is CBT-I? How Cognitive Behavioral Therapy for Insomnia Works

CBT-I isn’t simply another list of sleep tips. It’s a structured, evidence-based treatment designed to address patterns of thoughts, behaviors and sleep timing that can help keep insomnia going.

If you’ve been struggling with sleep for a while, you’ve probably heard the usual advice.

Keep your bedroom cool.

Avoid caffeine late in the day.

Put your phone away.

Try to relax.

Go to bed at the same time.

All of that may sound reasonable.

But if you’ve had insomnia for months, you may already have tried most of it.

So why would a treatment called cognitive behavioral therapy for insomnia—CBT-I—be any different?

Because CBT-I isn’t simply another list of tips for sleeping better.

It’s a structured treatment built around a different question:

What is keeping the insomnia going now?

That distinction matters.

The stress, illness or disruption that first affected your sleep may be long gone.

But the way you think about sleep, respond to being awake, use your bed and organize your sleep schedule may have changed along the way.

CBT-I is designed to work with those patterns.

And major sleep and medical organizations recommend it as a first-line treatment for chronic insomnia.248

Key takeaways

  1. CBT-I stands for cognitive behavioral therapy for insomnia. It is a structured, evidence-based treatment for persistent insomnia.
  2. CBT-I is not the same thing as sleep hygiene. It combines several cognitive and behavioral approaches rather than relying on general sleep tips alone.
  3. Treatment commonly includes stimulus control, approaches to time in bed, cognitive strategies, sleep education and sometimes relaxation techniques.
  4. Some parts of CBT-I can initially feel counterintuitive. The goal isn’t simply to spend more time trying to sleep.
  5. CBT-I doesn’t require sleeping medication, although decisions about medications should be made with an appropriate healthcare professional.
  6. CBT-I can be delivered by a trained clinician and, in some circumstances, through structured digital programs.
  7. Some CBT-I components—particularly sleep restriction—need additional caution for certain people and shouldn’t be turned into a one-size-fits-all DIY formula.

First, what does CBT-I stand for?

Cognitive behavioral therapy for insomnia.

The name gives us two important clues.

Cognitive refers to thoughts, beliefs and expectations surrounding sleep.

Behavioral refers to things you do that can influence the conditions in which sleep happens.

But CBT-I isn’t simply:

Think positively and develop better habits.

It’s a structured treatment specifically developed for insomnia.23

Depending on the program and the individual, treatment may involve several components, including:

stimulus control

sleep restriction or related sleep-scheduling approaches

cognitive therapy

sleep education

relaxation strategies

sleep-hygiene education

These pieces aren’t random.123

Each addresses a different part of the insomnia pattern.

Why would behavior matter if you’re genuinely unable to sleep?

This question is important.

If you’re awake at 2 a.m., the problem certainly doesn’t feel behavioral.

You’re trying to sleep.

Your body simply isn’t doing it.

So being told to change your behavior can sound like someone is suggesting:

You’re causing this yourself.

That’s not the idea.

Think back to the distinction we made in What Causes Insomnia?

Something may have started the sleep problem.

Stress.

Pain.

Illness.

Travel.

A major life event.

But after weeks or months of difficult sleep, other things can begin happening around it.

You may spend longer in bed trying to recover.

Go to bed early after a bad night.

Sleep later when possible.

Watch the clock.

Worry about how tomorrow will go.

Try increasingly hard to make yourself sleep.

None of those responses is irrational.

They’re understandable attempts to solve a difficult problem.

CBT-I looks at whether some of those patterns are now interacting with the insomnia—even if they weren’t what caused it originally.

CBT-I is not the same thing as sleep hygiene

This distinction is worth making clearly.

Sleep hygiene usually refers to general practices that support healthy sleep.

Things such as:

Keeping a reasonably consistent schedule.

Considering caffeine and alcohol.

Creating a comfortable sleep environment.

Being physically active.

Reducing unnecessary nighttime disruption.

Those things can matter.

But sleep hygiene alone is not the same treatment as CBT-I.2

CBT-I is a multicomponent intervention.23

It targets specific cognitive and behavioral processes associated with persistent insomnia.

That’s why telling someone with chronic insomnia to:

“Just avoid screens and drink less coffee.”

can miss much of the problem.

Sleep hygiene may be one part of the conversation.

It isn’t the whole treatment.

Stimulus control: what has your bed learned to mean?

Before insomnia, bed may have been simple.

You get into bed.

You become sleepy.

You sleep.

After months of insomnia, something different can happen.

You get into bed.

You start monitoring.

Am I sleepy enough?

You wait.

You try.

You check the time.

You become frustrated.

Eventually, simply getting into bed may be associated with wakefulness, effort and worry rather than sleep.

Stimulus control is designed to strengthen the association between bed and sleep and weaken the association between bed and prolonged wakefulness.123

In clinician-guided CBT-I, this involves specific behavioral instructions about how the bed and bedroom are used.

The important concept for an educational article is:

Your sleep environment can become associated with what repeatedly happens there.

CBT-I tries to make sleep—not struggling to sleep—the dominant association again.

What about the famous “20-minute rule”?

You may have seen advice online saying:

If you aren’t asleep within 20 minutes, get out of bed.

That makes stimulus control sound like a stopwatch exercise.

It isn’t.

People who are trying to sleep generally shouldn’t be repeatedly checking the clock to determine whether exactly 20 minutes have passed.

The broader idea is to avoid spending long periods awake in bed becoming increasingly frustrated or alert.

In clinical CBT-I, the instructions can be adapted to the individual.

The goal isn’t to make someone anxious about another number.

It’s to change the relationship between bed and wakefulness.

Sleep restriction sounds alarming. What is it?

The name is unfortunate.

Sleep restriction therapy doesn’t mean trying to deprive yourself of sleep.

It focuses on the relationship between:

time in bed

and

time actually spent sleeping.

Imagine someone is sleeping about six hours but spending nine hours in bed because they’re desperately trying to get eight hours of sleep.

That gives them a very large opportunity for sleep.

But it also gives them a large opportunity to be awake in bed.

A CBT-I clinician may initially adjust the amount of time allotted for sleep and then modify that schedule as sleep becomes more consolidated.123

The purpose is not:

Sleep as little as possible.

The purpose is to reduce excessive wakefulness in bed and strengthen sleep.

Why we won’t give you a sleep-restriction schedule here

Once people understand the idea, the temptation is obvious.

I sleep six hours.

So what time should I go to bed tonight?

That’s where an educational article needs to stop.

Sleep-restriction schedules can require adjustment based on the individual, and this approach needs additional caution in some circumstances.

For example, clinicians may need to consider conditions or situations in which increased sleepiness could create additional risk.

That can include certain medical or psychiatric conditions and occupations or activities where sleepiness could be dangerous.

So The Sleep Record can explain why the technique exists.

We aren’t going to calculate a personalized sleep window from an article or calculator.

Cognitive therapy: what happens when sleep becomes something you fear?

Insomnia isn’t only about what happens after the lights go out.

It can follow you through the day.

At breakfast:

I only got five hours.

At noon:

I’m already exhausted.

At 5 p.m.:

I have to sleep tonight.

At bedtime:

What if it happens again?

Thoughts like these are understandable.

But sleep can gradually become something you monitor, predict and fear.

CBT-I’s cognitive approaches examine thoughts and beliefs surrounding sleep.123

That doesn’t mean replacing every negative thought with:

Everything is wonderful. I’ll sleep perfectly tonight.

Instead, the work may involve examining whether certain beliefs or predictions are accurate or useful.

For example:

If I don’t get eight hours, tomorrow will be a disaster.

Or:

I’m never going to sleep normally again.

Or:

I have to make myself sleep right now.

The goal isn’t positive thinking.

It’s developing a more realistic and less threatening relationship with sleep.

Why trying harder can become part of the problem

Most difficult things improve with effort.

Want to become stronger?

Train harder.

Want to learn something?

Study more.

Want to finish a project?

Concentrate.

So when sleep becomes difficult, it’s natural to apply the same rule.

Try harder.

But sleep is unusual.

You can create conditions that support sleep.

You can’t directly command yourself to become unconscious.

And trying to monitor whether sleep is happening can keep your attention focused on the very thing you’re trying to let happen automatically.

That helps explain one of insomnia’s strangest experiences:

You can be exhausted and still feel intensely awake.

CBT-I works partly by reducing the struggle surrounding sleep rather than simply increasing the effort to achieve it.

Where does relaxation fit?

Relaxation strategies can also be included in CBT-I.123

These may involve approaches intended to reduce physical or mental arousal.

But relaxation can easily become another performance test.

Am I relaxed yet?

Why isn’t this breathing exercise making me sleepy?

I’m doing it wrong.

That’s not particularly relaxing.

The purpose of relaxation isn’t necessarily to produce sleep on command.

It’s to help reduce arousal.

Sleep may follow.

But forcing relaxation to force sleep can recreate the same performance pressure CBT-I is trying to reduce.

Does CBT-I include sleep hygiene?

Yes.

But there’s an important distinction.

Sleep education and sleep-hygiene principles may be included as part of CBT-I.123

That can involve understanding things such as:

how sleep is regulated

the role of circadian timing

caffeine and alcohol

environmental factors

exercise

routines that influence sleep

But again:

sleep hygiene alone ≠ CBT-I.

If you’ve already made your room dark and stopped drinking coffee after lunch but still have insomnia, that doesn’t mean you’ve “failed CBT-I.”

You may not have done CBT-I at all.

What does CBT-I treatment actually look like?

CBT-I isn’t usually one conversation followed by:

Good luck.

Treatment is typically structured across multiple sessions.13

A clinician may begin by learning about:

Your sleep history.

Your current sleep schedule.

What happens when you can’t sleep.

Medical or psychiatric conditions.

Medications.

Other possible sleep disorders.

Your daytime functioning.

You may be asked to keep a sleep diary.1

Over subsequent sessions, treatment can introduce and adjust behavioral and cognitive strategies based on what’s happening.

That last part matters.

Adjust.

CBT-I isn’t simply a printed checklist.

The treatment evolves according to the person’s sleep pattern and response.

How long does CBT-I take?

CBT-I is generally considered a short-term treatment, despite being used for a chronic problem.13

Traditional programs commonly involve several sessions over a number of weeks.13

The exact format varies.

Some people receive individual therapy.

Some participate in groups.

Some receive treatment through telehealth.

And structured digital CBT-I programs can deliver treatment online.67

So CBT-I doesn’t necessarily mean years of psychotherapy.

It’s a focused treatment aimed specifically at insomnia.

Does CBT-I work?

No treatment works identically for everyone.

But CBT-I has substantial evidence supporting its use for chronic insomnia.2

Clinical guidelines from organizations including the American Academy of Sleep Medicine recommend multicomponent CBT-I for adults with chronic insomnia.248

Benefits can include improvements in outcomes such as:

time needed to fall asleep

time awake during the night

sleep quality

sleep efficiency

insomnia symptoms

An important advantage is that CBT-I is designed to teach strategies that can continue to be used after formal treatment ends.6

That doesn’t mean everyone will respond the same way or that every sleep problem is insomnia.

It means CBT-I has enough evidence behind it to be considered a first-line treatment rather than an alternative wellness technique.248

CBT-I vs. sleeping pills

This comparison is often framed too simply.

Therapy or medication—which is better?

Real clinical decisions can be more nuanced.

Sleeping medications can have a role in insomnia treatment for some people.5

CBT-I takes a different approach.

Instead of producing sleep pharmacologically, it works with the cognitive and behavioral processes surrounding insomnia.

Major clinical guidelines recommend CBT-I as a first-line treatment for chronic insomnia.248

That doesn’t mean someone currently taking sleep medication should simply stop.

Medication decisions—including whether to start, continue, reduce or discontinue a medication—should be discussed with the clinician responsible for that treatment.

The Sleep Record doesn’t provide medication-adjustment instructions.

Can you do CBT-I online?

Sometimes.

Digital CBT-I has become an important way of expanding access to treatment.

Structured programs can deliver components of CBT-I through websites or apps.

Research supports digital CBT-I approaches, although programs can differ considerably in design, clinical oversight and evidence.67

That distinction matters.

An app containing relaxing sounds and generic sleep tips isn’t automatically digital CBT-I.

A credible program should be based on established CBT-I principles and have evidence supporting the intervention.7

Some people may also benefit more from working directly with a trained professional, particularly when the clinical picture is complicated.

Is CBT-I appropriate for everyone?

CBT-I is widely recommended for chronic insomnia, but that doesn’t mean every person with poor sleep should immediately begin applying every CBT-I technique independently.

Sleep difficulty can occur alongside:

Sleep apnea.

Restless legs syndrome.

Circadian rhythm disorders.

Pain.

Mental health conditions.

Neurological conditions.

Pregnancy.

Medication effects.

Other medical problems.

And certain CBT-I components—particularly approaches that temporarily reduce time in bed—can require additional caution.8

That’s one reason proper assessment matters.

The question isn’t simply:

“Do you sleep badly?”

It’s:

“What’s happening with your sleep, and what else might be contributing?”

How do you find someone who provides CBT-I?

A primary-care clinician or sleep-medicine professional can be a reasonable place to start.

You can also look specifically for clinicians trained in behavioral sleep medicine or CBT-I.

When evaluating a provider or program, useful questions include:

Is this actually CBT-I?

Does it include the established cognitive and behavioral components?

Who developed or supervises the program?

What clinical training do they have?

Is there evidence supporting this particular program?

That last question matters especially for apps and online programs.

The words “sleep therapy” in a product description don’t necessarily mean CBT-I.

Where does the 7-Day Sleep Record fit?

Sleep diaries are commonly used as part of CBT-I assessment and treatment.1

They help organize information that is surprisingly difficult to remember accurately after several bad nights.

For seven mornings, you can estimate:

when you got into bed

when you tried to sleep

when you think you fell asleep

nighttime awakenings

how long you were awake

your final awakening

when you got out of bed

how you felt about the night’s sleep

You don’t need to repeatedly check the clock overnight.

Estimates are enough.

The Sleep Record can then help you see the pattern across several nights.

But there’s an important boundary.

Record the pattern. Don’t prescribe from it.

The Sleep Record can help you understand your sleep pattern. It does not use your diary to diagnose insomnia or automatically generate a CBT-I sleep-restriction schedule.

No account or email required. Your entries stay on your device.

Start the 7-Day Sleep Record →

When should you talk to a healthcare professional?

Consider discussing your sleep with a healthcare professional if sleep difficulty is persistent, significantly affects your daytime functioning, or you’re unsure whether something other than insomnia may be contributing.

It’s particularly important to mention:

When to talk to a doctor

Details worth mentioning to a healthcare professional

  • Significant daytime sleepiness
  • Difficulty staying awake while driving
  • Loud snoring, gasping or observed pauses in breathing
  • Uncomfortable sensations or an urge to move your legs
  • Major changes in mood or mental health
  • Persistent pain or other physical symptoms disturbing sleep
  • Medications or substances that may be affecting sleep

If you’re interested in CBT-I, you can specifically ask whether it may be appropriate for your situation.

CBT-I changes the question

When insomnia begins, the natural question is:

Why can’t I sleep?

That’s an important question.

But after months of struggling, CBT-I introduces another one:

What’s happening now that may be helping the insomnia continue?

Maybe bed has become a place where you spend hours awake.

Maybe your schedule changes every time you have a difficult night.

Maybe sleep has become something you monitor throughout the day.

Maybe bedtime has become a test you feel you have to pass.

CBT-I doesn’t assume you deliberately created those patterns.

And it doesn’t reduce insomnia to bad habits.

Instead, it recognizes something more useful:

The factors that started insomnia and the factors keeping it going may not be the same.

That’s why CBT-I is more than sleep hygiene.

And it’s why treatment isn’t simply about trying harder to sleep.

It’s about changing the conditions around sleep so that sleep has a better chance to become automatic again.

References

  1. National Heart, Lung, and Blood Institute. Insomnia: Treatment.
  2. Edinger JD, Arnedt JT, Bertisch SM, 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.
  3. American Academy of Sleep Medicine. New guideline supports behavioral, psychological treatments for insomnia.
  4. Qaseem A, Kansagara D, Forciea MA, Cooke M, Denberg TD; Clinical Guidelines Committee of the American College of Physicians. 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. Mayo Clinic. Insomnia — Diagnosis and treatment.
  6. Seyffert M, Lagisetty P, Landgraf J, Chopra V, Pfeiffer PN, Conte ML, Rogers MAM. Internet-Delivered Cognitive Behavioral Therapy to Treat Insomnia: A Systematic Review and Meta-Analysis. PLOS ONE. 2016;11(2):e0149139.
  7. Simon L, Steinmetz L, Feige B, Benz F, Spiegelhalder K, Baumeister H. Comparative efficacy of onsite, digital, and other settings for cognitive behavioral therapy for insomnia: a systematic review and network meta-analysis. Scientific Reports. 2023;13:1929.
  8. Mysliwiec V, Martin JL, Ulmer CS, Chowdhuri S, Brock MS, Spevak C, Sall J. The Management of Chronic Insomnia Disorder and Obstructive Sleep Apnea: Synopsis of the 2019 U.S. Department of Veterans Affairs and U.S. Department of Defense Clinical Practice Guidelines. Annals of Internal Medicine. 2020;172(5):325–336.

This page is an educational resource. It does not provide diagnosis or treatment and is not a substitute for care from a qualified clinician.

Related reading

All guides →