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 that keep chronic insomnia going. Delivered over roughly four to eight weekly sessions and guided by a sleep diary, it combines sleep restriction (sleep consolidation), stimulus control, cognitive restructuring of sleep-related beliefs, sleep hygiene education, relaxation training, and relapse prevention. Clinical guidelines generally recommend CBT-I as the first-line treatment for chronic insomnia in adults.
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 multicomponent psychological treatment that addresses the behaviors, habits, and beliefs that perpetuate insomnia rather than only treating the symptom of poor sleep. It is typically delivered by a trained clinician over a short course of weekly sessions and is guided throughout by a daily sleep diary that tracks bedtime, wake time, time to fall asleep, and nighttime awakenings.
The treatment bundles several distinct techniques. Sleep restriction (also called sleep consolidation) temporarily limits time in bed to match actual sleep, building a stronger drive for sleep. Stimulus control rebuilds the association between the bed and sleep. Cognitive restructuring works on unhelpful or anxious beliefs about sleep, while relaxation training and sleep hygiene education support the overall plan.
Because CBT-I asks the patient to change routines and follow a schedule between sessions, active participation and consistency are central to how it works. Progress is reviewed session by session using the sleep diary, and the plan is adjusted as sleep gradually consolidates. A relapse-prevention step helps people maintain gains and respond early to future sleep disruptions.
CBT-I is used both for insomnia on its own and for insomnia that occurs alongside conditions such as depression or anxiety. It is frequently considered by patients who prefer a non-medication approach or who want to reduce reliance on sleep medications, and it is often coordinated with other members of a patient's care team.
What to Expect
- Initial assessment of the sleep problem, including a detailed sleep history, review of medical and mental health conditions, and screening for other sleep disorders that may need separate evaluation.
- Introduction of a daily sleep diary to record bedtime, time to fall asleep, nighttime awakenings, wake time, and overall sleep quality, which 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 the 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, tailored to the individual's routines and environment.
- Ongoing review of 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 works by strengthening the body's natural sleep drive and re-linking the bed and bedroom with sleep. Sleep restriction temporarily narrows time in bed so that sleep becomes more consolidated and efficient, after which the time in bed is gradually expanded as sleep improves.
- Stimulus control asks the person to use the bed only for sleep and to get out of bed when unable to sleep, which over time rebuilds a strong automatic association between being in bed and falling asleep rather than lying awake and frustrated.
- Cognitive restructuring identifies and gently challenges unhelpful or anxious beliefs about sleep, such as catastrophic predictions about the consequences of a poor night, which can reduce the arousal and worry that often keep insomnia going.
- Relaxation training, sleep hygiene education, and a relapse-prevention plan round out the approach. Relaxation techniques may lower physical and mental tension at bedtime, sleep hygiene addresses environmental and lifestyle factors, and relapse prevention helps maintain improvements over time.
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
Is a cbt for insomnia right for you?
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 targets the habits and thoughts that keep insomnia going. It is usually delivered over about four to eight weekly sessions and combines techniques such as sleep restriction, stimulus control, cognitive strategies, relaxation training, and sleep education.
- CBT-I does not involve any physical procedures, so it is not painful. However, it does ask you to follow a sleep schedule and complete tasks between sessions, and the early weeks of sleep restriction can leave some people feeling 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 it can cause temporary daytime sleepiness early in treatment, a clinician may advise extra caution with driving or safety-sensitive tasks during that phase. See the safety section above for specific cautions.
- CBT-I is typically delivered over about four to eight weekly sessions, though the exact number can vary by individual. Progress is reviewed session by session using a daily sleep diary, and the plan is adjusted as sleep gradually consolidates.
- Sessions usually begin with a review of your sleep diary, followed by work on specific techniques such as adjusting your time in bed, strengthening the link between bed and sleep, and addressing worries about sleep. You are typically asked to keep tracking your sleep and to apply the strategies at home between visits.
- People with an untreated sleep disorder such as obstructive sleep apnea may need that condition evaluated first. The sleep-restriction component is generally used with caution in people with bipolar disorder or seizure disorders, or in high-risk occupations during early treatment, because short-term sleep loss can pose added risks. A clinician can help determine the safest approach.
What are the risks of CBT for Insomnia?
Who should avoid this
- 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
- Significant untreated medical or psychiatric instability may warrant addressing those conditions first, in coordination with a clinician
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-07-26