Insomnia that won’t quit: how CBT-I works (and why it often beats sleeping pills)
CBT-I is the first-choice treatment for chronic insomnia, ahead of sleep medication. Here’s what it involves, why it works and how to start.

By Earl Johns, MSN, PMHNP-BC
Published
Based on evidence-based psychological research

Photos are illustrative and don’t show actual clients.
Want support with this?
Earl is a gay, neurodivergent psych NP who gets it. He offers affirming psychiatry and therapy by video across California, in network with Aetna, Anthem Blue Cross, Cigna, UnitedHealthcare / Optum and more. New clients are seen within about 3 business days.
Book a free 15-minute consult
Related care:
Medication management
→
If you’ve been lying awake for months, you’re not alone, and you’re not doomed to it. The most effective long-term treatment for chronic insomnia isn’t a pill. It’s a short, structured program called cognitive behavioral therapy for insomnia, or CBT-I.
Major medical groups, including the American College of Physicians, recommend CBT-I as the first treatment for chronic insomnia in adults. Its benefits tend to last after treatment ends, which isn’t true of most sleep medications.
Why insomnia sticks around
Insomnia often starts with a stressor: a breakup, a new job, a hard season. The stress fades, but habits that formed to cope with bad nights keep the problem going. Spending extra time in bed, napping, sleeping in and worrying about sleep all teach your brain that bed is a place to be awake.
What CBT-I includes
Sleep restriction: temporarily matching your time in bed to the sleep you’re actually getting, which builds sleep drive and makes sleep deeper.
Stimulus control: using the bed only for sleep and sex, and getting up when you can’t sleep, so bed and sleep reconnect.
A steady wake time: getting up at the same time every day, even after a rough night.
Working with sleep worries: noticing thoughts like “I’ll never function tomorrow” and testing them gently.
Wind-down habits: a calm buffer before bed, with lights and screens dimmed.
The first week or two can feel harder, because you may be a bit sleepier during the day. Most people notice real improvement within four to eight weeks.
Where to start
Keep a simple sleep diary for one to two weeks: bedtime, time to fall asleep, wake-ups and wake time.
Pick a fixed wake time you can keep seven days a week.
If you’re awake for what feels like 20 minutes, get up and do something quiet in dim light until you feel sleepy.
Try the free CBT-i Coach app from the VA, which walks you through the basics.
Our post on sleep as a mental health tool covers the everyday habits that support CBT-I.
When to get help
See a clinician if insomnia lasts more than three months, if you snore loudly or stop breathing in your sleep, or if poor sleep comes with low mood, anxiety or racing thoughts. Insomnia and depression often feed each other, and treating both together works best.
What the research says about CBT-I
Fewer harms than pills: in 2016 the American College of Physicians (ACP) recommended CBT-I as the initial treatment for chronic insomnia, noting it’s likely to have fewer harms than sleep medication. It can be started in primary care and delivered one-on-one, in a group, by phone, online or through self-help books.
Strong results for people who finish it: the VA’s National Center for PTSD reports that CBT-I improves sleep for about 7 in 10 people who complete it, and that it also reduces nightmares and related distress in people with PTSD.
A defined program: the NHLBI describes CBT-I as a 6- to 8-week program that combines cognitive therapy, relaxation or meditation, sleep education, sleep restriction and stimulus control.
Insomnia is common. ACP estimates that 6 to 10 percent of US adults have insomnia that meets diagnostic criteria, and a 2024 CDC data brief found that 15.4% of adults had trouble falling asleep most days or every day.
A closer look at sleep restriction
Sleep restriction is often the part people find most surprising, and the most helpful. Here’s how a clinician typically sets it up:
Start with your sleep diary: a week or two of entries shows how much you’re actually sleeping, not just how long you’re in bed.
Set a time-in-bed window: your clinician sets it close to your real sleep time, anchored to your fixed wake time.
Go to bed only when sleepy: and only within that window.
Widen the window gradually: as your sleep gets more solid, the window grows.
Check in regularly: small, steady adjustments work better than big swings.
Because it can make you sleepier for the first week or two, it’s best done with a clinician’s guidance. Skip driving or risky tasks on days you feel drowsy.
CBT-I alongside depression, anxiety or PTSD
Insomnia rarely shows up alone. A 2017 review in Current Psychiatry Reports found that middle-of-the-night waking is the most common sleep symptom that hangs on during depression treatment, and that sleep often improves most when medication is paired with CBT-I. If you take a sleep medication or an antidepressant, CBT-I can work alongside it. Any changes to your medication should be planned with your prescriber. Our posts on antidepressants and sleep, nightmares and PTSD and coming off sleeping pills go deeper.
If poor sleep comes with hopelessness or thoughts of suicide, call or text 988 any time, or call 911 in an emergency.
Common questions
How long does CBT-I take?
The NHLBI describes it as a 6- to 8-week program, and the VA says it usually takes about six sessions. Many people notice changes before the program ends.
Can I do CBT-I online or with an app?
Yes. ACP notes CBT-I can be delivered by phone, online or through self-help books, and the VA offers the free CBT-I Coach app. A clinician can help you tailor it, especially the sleep restriction part.
Can I do CBT-I while taking sleep medication?
Yes. Many people start CBT-I while still on medication. If you’d like to reduce or stop a medication later, plan that with your prescriber.
Sources
Short Sleep Duration and Sleep Difficulties Among Adults: United States, 2024 (CDC)
Effects of Antidepressants on Sleep (Current Psychiatry Reports)
Tired of tired? Wellthy Psychiatry offers whole-person care for sleep, mood and anxiety, including CBT-I strategies and medication management when it helps. Book a free 15-minute consult.
This post is for education only and isn’t a substitute for personal medical advice.
✓ Medically reviewed by Earl Johns, MSN, PMHNP-BC
Last reviewed

About the author
Earl Johns, MSN, PMHNP-BC
Board-certified psychiatric nurse practitioner · UCSF- and Stanford-trained · Founder of Wellthy Psychiatry & Wellness
Earl (he/him) is a gay, neurodivergent provider with ADHD himself and a mixed-ethnicity Filipinx, Pacific Islander and Latinx clinician. He offers LGBTQ+ and neuro-affirming psychiatric care, blending medication management, therapy and whole-person approaches. His background includes inpatient psychiatry and community mental health at a California county behavioral health program and a behavioral health federally qualified health center. He sees clients in San Francisco and by telehealth across California.
If sleep or appetite changes are wearing you down, Earl can look at medication, labs and daily habits together.
For California residents, by secure video.
Book a free 15-minute phone consult →
Keep reading
Related posts

White, pink and brown noise: what helps you sleep, and why earplugs may win
What white, pink and brown noise really are, what a 2026 sleep lab study found about pink noise and REM sleep, and why simple earplugs may protect your sleep better.

Why gay and bi men often sleep worse: minority stress and sleep
Research finds gay and bi men report more sleep trouble than straight men. How minority stress keeps your body on alert at night, and what helps you rest.

Tired but wired: why you can’t sleep even when you’re exhausted
Exhausted all day, wide awake at bedtime? That’s hyperarousal. Why being tired isn’t enough to sleep, how the insomnia loop builds, and what helps quiet it.

Is your sleep tracker making your sleep worse? Meet orthosomnia
Chasing a perfect sleep score can backfire. What orthosomnia is, how accurate sleep trackers really are, and a calmer way to use your data.
