CBT for Insomnia in San Francisco
Cognitive behavioral therapy for insomnia (CBT-I) is a structured, short-term, non-medication treatment that targets the thoughts and behaviors keeping chronic insomnia going. Guided by a sleep diary, it combines sleep restriction, stimulus control, cognitive restructuring of sleep-related beliefs, sleep hygiene education, relaxation training, and relapse prevention. Clinical guidelines generally recommend it as the first-line treatment for chronic insomnia in adults. When someone comes to me for insomnia, this is my starting point, and because I also prescribe, I can run CBT-I as the thing that makes a sleep medication unnecessary in the first place, or as the thing that makes coming off one survivable.
At a Glance
- CBT-I is generally recommended as the first-line treatment for chronic insomnia in adults, ahead of medication, in major clinical guidelines[5]
- CBT-I is typically delivered as a 6- to 8-week treatment plan aimed at helping people fall asleep faster and stay asleep longer[1]
- A 2015 meta-analysis of 20 randomized controlled trials found CBT-I was associated with average reductions of about 19 minutes in time to fall asleep and 26 minutes in time awake after sleep onset[4]
- Research suggests CBT-I can produce improvements comparable to sleep medication, often with more durable benefits after treatment ends[4]
Overview
CBT-I is a short course of weekly treatment delivered by a trained clinician. A daily sleep diary guides the work: you record when you go to bed, how long it takes to fall asleep, nighttime awakenings, and when you wake. Rather than treating poor sleep as an isolated symptom, CBT-I addresses the habits, behaviors, and beliefs that keep insomnia going.
The treatment combines several techniques. Sleep restriction, also called sleep consolidation, temporarily limits time in bed to match the sleep you are actually getting and build a stronger drive for sleep. Stimulus control rebuilds the association between bed and sleep. Cognitive restructuring addresses anxious or unhelpful beliefs about sleep, while relaxation training and sleep hygiene education support the plan.
CBT-I requires active participation between sessions. I review the sleep diary with you each week and adjust the plan as sleep consolidates. Near the end of treatment, relapse prevention covers how to maintain the gains and respond when sleep becomes disrupted again.
CBT-I can be used when insomnia occurs on its own or alongside depression, anxiety, or another mental health condition. It is frequently considered by people who prefer a non-medication treatment or want to rely less on sleep medication. Treatment is often coordinated with other members of a patient's care team.
What to Expect
- An initial assessment of your sleep problem: a detailed sleep history, a review of medical and mental health conditions, and screening for other sleep disorders that may need separate evaluation.
- Introduction of a daily sleep diary in which you record bedtime, time to fall asleep, nighttime awakenings, wake time, and overall sleep quality; the diary forms the basis for the treatment plan.
- Sleep education explaining how sleep drive and the sleep-wake cycle work, setting realistic expectations for the course of treatment.
- Introduction of stimulus control instructions to strengthen the association between the bed and sleep and to limit wakeful time in bed.
- Implementation of sleep restriction (sleep consolidation), setting an initial time-in-bed window based on your sleep diary, with gradual adjustment as sleep efficiency improves.
- Cognitive restructuring sessions that identify and address unhelpful beliefs and worries about sleep.
- Relaxation training and review of sleep hygiene factors, adapted to your own routines and environment.
- Ongoing review of your sleep-diary data across weekly sessions, with the plan adjusted based on progress.
- A relapse-prevention discussion near the end of treatment to help maintain gains and manage future periods of disrupted sleep.
How does CBT for Insomnia work?
- CBT-I strengthens the body's natural sleep drive and reconnects the bed and bedroom with sleep. Sleep restriction temporarily narrows the time you spend in bed, making sleep more consolidated and efficient. As sleep improves, that window is gradually expanded.
- Stimulus control means using the bed only for sleep and getting out of bed when you cannot sleep. Over time, this rebuilds an automatic association between being in bed and falling asleep, rather than being awake and frustrated.
- Cognitive restructuring identifies and gently challenges beliefs that increase anxiety around sleep, including catastrophic predictions about what will happen after a poor night. Reducing that worry can reduce the mental and physical arousal that often perpetuates insomnia.
- Relaxation training, sleep hygiene education, and relapse prevention complete the standard approach. Relaxation techniques may lower physical and mental tension at bedtime. Sleep hygiene addresses environmental and lifestyle factors, while relapse prevention provides a plan for maintaining improvements and responding to future sleep disruption.
- Those components are part of CBT-I wherever it is delivered. What differs here is who delivers them. Most patients seeking CBT-I are sent to a behavioral sleep clinician while a separate prescriber handles any sleep medication, leaving the two parts of one plan on different calendars. I provide both, so the weeks when the sleep window tightens and the weeks when a medication dose changes can be sequenced deliberately.
- Chronic insomnia is often sustained by effort: tracking every variable, refining the wind-down routine, and calculating how many hours of sleep remain salvageable. Alongside the standard CBT-I components, I work on letting go of the need to optimize sleep. This acceptance-based work addresses the same nighttime arousal targeted by cognitive restructuring. I completed six months of supervised CBT-I training at the University of Washington.
When It's Recommended
- Chronic insomnia disorder in adults (difficulty falling or staying asleep most nights over an extended period)
- Insomnia occurring alongside depression, anxiety, or other mental health conditions
- Patients seeking a non-medication approach or wishing to reduce reliance on sleep medications
- Insomnia that persists despite basic improvements to sleep habits
- Long-standing sleep-maintenance problems such as frequent or prolonged nighttime awakenings
Have questions about this treatment?
Reach out to learn more from Mario A. Benitez-Lopez.
Recovery & Aftercare
- CBT-I is a time-limited course of treatment, and many people notice gradual improvement in sleep over the weeks of the program rather than immediately
- Early daytime sleepiness related to sleep restriction typically eases as sleep consolidates and time in bed is expanded
- Skills learned in CBT-I, such as stimulus control and cognitive strategies, are intended to be carried forward to help maintain sleep after treatment ends
- A relapse-prevention plan supports long-term maintenance and provides a strategy for responding to future episodes of poor sleep
- Some individuals may benefit from occasional follow-up or booster sessions if sleep difficulties return
Alternative Treatments
- Sleep medications and other pharmacologic treatments prescribed and monitored by a clinician
- Medication management to address underlying conditions such as depression or anxiety that may contribute to insomnia
- Improvements to sleep habits and environment (sleep hygiene) as a standalone first step for short-term or mild insomnia
- Relaxation-based and mindfulness approaches used on their own
- Evaluation and treatment of other underlying sleep disorders, such as obstructive sleep apnea, when present
Frequently Asked Questions
- CBT for insomnia, or CBT-I, is a structured, short-term talk-therapy program that addresses the habits and thoughts that keep insomnia going. It is usually delivered over about four to eight weekly sessions and combines sleep restriction, stimulus control, cognitive strategies, relaxation training, and sleep education.
- CBT-I does not involve a physical procedure, so it is not painful. It does require following a sleep schedule and completing tasks between sessions. During the early weeks of sleep restriction, some people feel more tired during the day before their sleep begins to improve.
- CBT-I is generally considered safe and is recommended as a first-line treatment for chronic insomnia. Because early treatment can temporarily increase daytime sleepiness, a clinician may advise extra caution with driving or safety-sensitive work during that phase. The safety sections on this page list the specific cautions.
- CBT-I is typically delivered over about four to eight weekly sessions, although the exact number varies by individual. Each session includes a review of your daily sleep diary, and the plan is adjusted as sleep gradually consolidates.
- Sessions usually start with a review of your sleep diary. We then work on specific steps, such as adjusting your time in bed, strengthening the connection between bed and sleep, or addressing worries about sleep. Between sessions, you continue tracking your sleep and applying the strategies in daily life.
- Someone with an untreated sleep disorder such as obstructive sleep apnea may need that condition evaluated first. Sleep restriction is generally used with caution in people with bipolar disorder or seizure disorders, and in people with high-risk occupations during early treatment, because short-term sleep loss can pose added risks. A clinician can determine the safest approach.
- Both are possible. For chronic insomnia, clinical guidelines put CBT-I first, and I use it as the primary treatment. If you already take a sleep medication, that does not need to be resolved before starting. The behavioral work is usually what makes a later reduction realistic because it rebuilds the sleep drive that the medication was standing in for. If stopping the medication is your goal, deprescribing explains how a taper is planned.
- Yes. I see patients in English and Spanish. CBT-I depends on a sleep diary and precise conversations about what happens during the night, including what happens at three in the morning. Each can be done in whichever language you actually think in at that hour.
- Often, yes. Insomnia and sleep apnea frequently occur together, and insomnia is a common reason people abandon CPAP. Stimulus control and sleep restriction rebuild the association between bed and sleep, which can make the mask easier to keep on. CBT-I does not treat sleep apnea. As a physician, I can determine when the apnea needs attention first.
What are the risks of CBT for Insomnia?
Who should avoid this
- Significant untreated medical or psychiatric instability may warrant addressing those conditions first, in coordination with a clinician
Who needs extra care
- Untreated obstructive sleep apnea or other primary sleep disorders that may need evaluation and treatment before or alongside CBT-I
- Sleep restriction is generally used with caution in bipolar disorder, because sleep deprivation can potentially trigger or worsen manic episodes
- Sleep restriction is generally used with caution in seizure disorders, where sleep loss may lower seizure threshold
- Caution during the early phase of treatment for people in high-risk occupations or who drive long distances, due to transient daytime sleepiness
Possible risks
- Temporary increase in daytime sleepiness during the early weeks of sleep restriction, when time in bed is deliberately limited
- Some people experience a short-term worsening of sleepiness or fatigue before sleep begins to consolidate and improve
- The approach requires sustained effort and consistent adherence to a schedule and between-session tasks, which some people find difficult
- Reduced alertness during early treatment may affect driving or safety-sensitive activities and warrants caution
- This is not an exhaustive list; discuss individual risks and suitability with a qualified clinician
Your practitioner
Mario A. Benitez-Lopez, MD
I am a board-certified adult psychiatrist and the founder of San Francisco Concierge Psychiatry. I completed my psychiatry residency at the University of Washington and hold a master's in clinical research from Stanford. I offer bilingual (English and Spanish) care in a concierge model built around small panels and longer sessions, spanning medication management, deprescribing, and evidence-based individual and couples therapy.
Sources & references
This article draws on 5 sources, including government health agencies, peer-reviewed research, leading medical institutions.
Government & research
Medical institutions
Educational & general
Medically reviewed by Mario A. Benitez-Lopez, MD · Last reviewed: 2026-08-31