Cognitive Behavioral Therapy for Insomnia is the recommended first-line treatment for chronic insomnia in adults according to both the American College of Physicians and the American Academy of Sleep Medicine, ahead of any medication. It combines sleep restriction, stimulus control, cognitive work on sleep-related worry, relaxation training, and sleep hygiene, usually across four to eight sessions. Its effects match or exceed hypnotics during treatment and, unlike medication, persist after treatment ends. Sleep restriction is the active ingredient and needs supervision in bipolar disorder, seizure disorders, and untreated sleep apnea.
TL;DR: There is a treatment for long-term insomnia that works better than sleeping pills and keeps working after you stop it. It is called CBT-I, and every major medical guideline says to try it before any medication. It is not talk therapy about your childhood. It is five practical parts, and the strongest one is counterintuitive: you spend LESS time in bed for a few weeks, which makes your sleep drive stronger and your sleep more consolidated. It takes four to eight sessions. It is harder than swallowing a tablet and it is the reason most people never need one. Do not start sleep restriction on your own if you have bipolar disorder, a seizure disorder, or untreated sleep apnea. Tell Dr. Ash what your nights look like.
Almost nobody selling sleep medication online leads with this page, and the reason is simple: there is nothing to ship at the end of it.
That is also why it belongs near the front of ours.
What is CBT-I?
CBT-I is a structured, short course of behavioural treatment for chronic insomnia, built from five components that are delivered together and measured week to week.
It is not general counselling and it is not a list of sleep hygiene tips. It has a protocol, it runs on data from your own sleep diary, and the adjustments each week are made from what that diary shows. Most people finish in four to eight sessions.
The distinction from sleep hygiene matters, because sleep hygiene is the part everyone has already tried. A cool room, screens away, coffee cut off early. Useful, and by itself close to useless for somebody with established insomnia. It is one of five components here and it is the weakest of them.
Why do the guidelines put it ahead of medication?
Because it works at least as well while you are doing it, and it keeps working after you stop.
The American College of Physicians recommends CBT-I as the initial treatment for chronic insomnia disorder in all adults, with medication considered only after a shared discussion when CBT-I alone has not worked. The American Academy of Sleep Medicine's behavioural treatment guideline reaches the same conclusion. The European guideline does too.
The durability is what separates it. When a hypnotic stops, insomnia generally returns, sometimes worse for a few nights as the drug clears. When CBT-I stops, the gains persist, because what changed was the behaviour and the association, and those stay changed. Follow-up in the trials shows benefit holding at six and twelve months without further treatment.
Meta-analysis of CBT-I in chronic insomnia shows people fall asleep roughly 19 minutes faster, spend around 26 fewer minutes awake after first falling asleep, and improve sleep efficiency by about 10 percentage points. Those are modest-sounding numbers that describe a large change in how a night feels.
What are the five parts?
Sleep restriction, which is the active ingredient. You limit time in bed to roughly the time you are currently asleep, then extend it as your sleep consolidates. Somebody lying in bed nine hours and sleeping six starts with a six-and-a-half hour window. This builds sleep pressure, which is the physiological drive that makes sleep happen, and it breaks the pattern of long stretches of wakefulness in bed. It is the most effective component and the one people abandon, because the first ten days are hard.
Stimulus control, which fixes the association. After months of lying awake, your bed has become a cue for alertness instead of sleep. The rules are narrow: go to bed only when sleepy instead of merely tired, use the bed for sleep and sex only, and if you are awake more than about twenty minutes, get up and go elsewhere until you are sleepy again. Repeated over weeks, that rebuilds bed as a sleep cue.
Cognitive work on the worry. Insomnia sustains itself through beliefs that raise arousal at the worst possible moment: I will be useless tomorrow, I need eight hours, I have lost the ability to sleep. Those thoughts produce the adrenaline that keeps you awake, so the fear of not sleeping becomes the cause of not sleeping. This component tests those beliefs against what your own diary shows.
Relaxation training. Progressive muscle relaxation, breathing with a longer exhale than inhale, or body scanning, practised in the day and used at night. It lowers physiological arousal, and it works best as a skill built over weeks.
Sleep hygiene. Light in the morning, darkness at night, caffeine cut off early, alcohol kept well away from bedtime, exercise most days and not in the three hours before bed. Necessary, and never sufficient alone.
Guidance from the Clinic
Why does spending less time in bed help?
Because sleep is driven by pressure, and lying awake bleeds the pressure off without giving you sleep.
Two systems decide when you sleep. One is your circadian clock, set by light. The other is homeostatic sleep pressure, which builds through every waking hour and discharges when you sleep. Somebody with insomnia often responds to a bad night by going to bed earlier and staying later, which spreads a fixed amount of sleep across a longer window. The result is more time awake in bed, lighter and more fragmented sleep, and a weaker association between the bed and sleeping.
Evidence-Based Treatment
Dr. Ash reviews the research - and applies it to your specific biology.
Compressing the window reverses all three. Pressure builds higher, sleep arrives faster and runs deeper, and the bed stops being the place where you lie there thinking. Once sleep efficiency climbs above roughly 85 to 90 percent, the window widens by 15 to 30 minutes at a time.
The cost is significant and temporary. The first week or two brings daytime sleepiness, and that is the point at which supervision matters, because it is when people quit.
Who should not do sleep restriction unsupervised?
This is the part that gets left off the tips lists, and it is why this belongs with a clinician instead of an app alone.
- Bipolar disorder. Sleep deprivation is a recognized trigger for mania. Restriction in somebody with bipolar disorder needs a psychiatrist involved and a modified protocol.
- Seizure disorders. Sleep deprivation lowers the seizure threshold.
- Untreated obstructive sleep apnea. Treating the insomnia while the apnea goes unaddressed leaves the dangerous problem in place. If you snore, wake gasping, or have witnessed pauses in breathing, that gets sorted first, and the page on insomnia or sleep apnea covers how to tell.
- Occupations where daytime sleepiness is dangerous. Commercial drivers, anyone operating machinery, clinicians on call. The protocol still works and the timing has to be planned around the risk.
- Pregnancy, and significant untreated depression, both of which change the calculus enough to warrant a conversation first.
Does digital CBT-I work?
Yes, and it is a reasonable starting point when a therapist is not available.
Randomized trials of web-delivered CBT-I have shown meaningful improvement in insomnia severity, with benefit maintained at one year in one of them, and improvements in daytime functioning and psychological wellbeing in another. The effect is generally somewhat smaller than therapist-delivered treatment and the access is far better, which is a trade most people should take.
Where digital falls short is the safety list above. A program does not know you have bipolar disorder, does not notice your partner has described you gasping at night, and does not adjust the protocol when the first two weeks go badly. That is the argument for having a clinician alongside it instead of in its place.
How does this fit with medication?
Medication can bridge, and CBT-I is what you are aiming at.
Where somebody is running on nothing and functioning poorly, a short course of a sleep medication while CBT-I gets underway is a defensible plan. The order matters: the behavioural work starts, the medication supports it, and the medication is tapered as sleep consolidates. Starting with the drug and intending to add CBT-I later is the sequence that usually ends with neither.
Anyone already on a nightly sleep medication and wanting off it should know that CBT-I plus a structured taper works better than a taper alone, and that stopping abruptly is a poor idea with several of these drugs. The pages on trazodone, hydroxyzine, doxepin, gabapentin, and the Z-drugs each cover what stopping looks like.
How Fishtown Medicine runs it
As part of membership, over weeks, with the diary reviewed between visits.
Sleep is one of the conditions the membership model suits best, because the work is a sequence of small adjustments made from data over two months, and that is a follow-up rhythm and not a single appointment. What it involves: a proper history including the apnea questions, two weeks of a sleep diary before anything changes, a starting window set from what the diary shows, then weekly adjustments as efficiency improves.
The broader picture of how sleep care runs here is on sleep disorders treatment, and what membership includes is on the membership page.
Key Takeaways
- Both the ACP and the AASM recommend CBT-I as first-line for chronic insomnia, ahead of any medication.
- Its advantage over hypnotics is durability: the gains persist after treatment ends, and drug benefit does not.
- Sleep restriction is the active ingredient, and spending less time in bed for two weeks is what makes the rest work.
- Sleep hygiene is one of five components and is close to useless on its own for established insomnia.
- Bipolar disorder, seizure disorders, and untreated sleep apnea all need supervision before sleep restriction starts.
Related at Fishtown Medicine
- Insomnia
- Is it insomnia or sleep apnea?
- Sleep disorders treatment in Philadelphia
- Sleep optimization
- Trazodone for sleep
Scientific References
- Qaseem A, Kansagara D, Forciea MA, Cooke M, Denberg TD. 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.
- 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.
- Trauer JM, Qian MY, Doyle JS, Rajaratnam SMW, Cunnington D. Cognitive Behavioral Therapy for Chronic Insomnia: A Systematic Review and Meta-analysis. Annals of Internal Medicine. 2015;163(3):191-204.
- Riemann D, Baglioni C, Bassetti C, et al. European guideline for the diagnosis and treatment of insomnia. Journal of Sleep Research. 2017;26(6):675-700.
- Ritterband LM, Thorndike FP, Ingersoll KS, et al. Effect of a Web-Based Cognitive Behavioral Therapy for Insomnia Intervention With 1-Year Follow-up. JAMA Psychiatry. 2017;74(1):68-75.
- Espie CA, Emsley R, Kyle SD, et al. Effect of Digital Cognitive Behavioral Therapy for Insomnia on Health, Psychological Well-being, and Sleep-Related Quality of Life. JAMA Psychiatry. 2019;76(1):21-30.
- Spielman AJ, Saskin P, Thorpy MJ. Treatment of chronic insomnia by restriction of time in bed. Sleep. 1987;10(1):45-56.
Frequently Asked Questions
Common Questions
Deep-Dive Questions
Ready when you are
The chat is our AI assistant, answering from our published guides. To talk it through with Dr. Ash himself, start with the intake.

