Cognitive Behavioral Therapy for Insomnia: More Effective Than Sleeping Pills
Chronic insomnia is usually kept going not by the original cause (stress, illness, change) but by what has grown up around it: worry about sleep, clock-watching, long stretches awake in bed, making up for lost sleep during the day. Sleeping pills do not break this cycle, they only cover it up for a while, which is why international guidelines treat cognitive behavioral therapy for insomnia (CBT-I), not medication, as the first treatment for chronic insomnia.
CBT-I is a short, structured program: 4 to 8 sessions in which the habits and thinking that wreck your sleep are rebuilt. In studies it helps roughly 70 to 80 percent of people, and unlike with medication, the improvement lasts after the program ends.
What does CBT-I involve?
The program combines several components, and the strongest of them are behavioral:
- Sleep diary: for 1 to 2 weeks you record when you go to bed, fall asleep and wake up; all the work starts from it
- Sleep restriction: time in bed is trimmed to the time you actually sleep, so natural sleepiness builds up; the first week is hard, but this is the part that most often breaks insomnia
- Stimulus control: the bed is only for sleep; if you do not fall asleep within 20 to 30 minutes, you get up and go back only when sleepy, so the brain links the bed with sleep again, not with tossing and turning
- Cognitive work: changing the thoughts that cause panic at night ("if I do not fall asleep, tomorrow will be a disaster") and reducing sleep monitoring
- Relaxation and hygiene: breathing and muscle relaxation techniques and general sleep rules as a foundation, but not the main engine
What does the research show?
CBT-I is one of the best-studied programs in all of psychology: meta-analyses show that it shortens the time to fall asleep, reduces night waking and improves sleep quality, and the effect lasts a year and longer after the program ends. That is exactly why European and US guidelines recommend it as the first treatment for chronic insomnia and keep sleeping pills for short-term situations.
Digital CBT-I programs (apps, online courses) work too: their effect is somewhat smaller than working with a practitioner in person, but clear in studies, so they are a good option when access to a specialist is limited.
Who is it for, and when is caution needed?
CBT-I is meant for chronic insomnia: when sleep problems recur at least 3 nights a week for longer than 3 months. It works even when insomnia comes with depression, anxiety or chronic pain: often both improve.
Caution is needed in a few situations: with sleep apnea, that is treated first (CBT-I does not fix breathing pauses), and the sleep restriction stage is applied carefully in bipolar disorder, epilepsy or jobs where sleepiness is dangerous (for example, drivers). All of this is discussed with the practitioner at the start of the program.
How long does it take and what is the work like?
A typical course is 4 to 8 sessions, weekly or every two weeks, in person or remotely. The most important part happens between sessions: the diary and following the rules at home. The first 1 to 2 weeks are often harder (sleepiness from sleep restriction), and improvement is usually felt from week 2 to 4.
If you take sleeping pills, you can start CBT-I without stopping them: a plan to cut down, if you want one, is made together with the doctor who prescribed them, not abruptly and on your own.
How do you find a practitioner?
A good first step is your doctor (GP or family doctor), who can check for other causes of poor sleep and refer you. You can also contact a licensed psychologist or therapist directly: look for someone trained in cognitive behavioral therapy and ask straight out whether they work with insomnia using the CBT-I protocol (sleep restriction, stimulus control). If you cannot find one in person, start with self-help based on the same components and sleep hygiene, and if you snore with pauses in breathing, first take our sleep apnea test and see your doctor.
General advice on choosing a practitioner is in our article how to choose a therapist.
Frequently asked questions
How is CBT-I different from sleep hygiene tips?
Sleep hygiene (screens, caffeine, a cool room) is only a foundation, and for chronic insomnia it is almost never enough on its own. The engine of CBT-I is the other components: sleep restriction and stimulus control, which rebuild the sleep mechanism itself. That is why "I know everything about hygiene but I still cannot sleep" is a typical situation that CBT-I is designed to solve.
Does CBT-I work if my insomnia has lasted many years?
Yes: the program's effectiveness does not depend on how long you have had insomnia, because it works on what keeps it going now, not on what once caused it. Long-standing insomnia sometimes needs a few extra sessions, but the chance of improvement stays just as high.
Can I do CBT-I on my own from books or apps?
Partly: digital CBT-I programs and self-help books work in studies, especially for milder insomnia. Working with a practitioner is more precise and safer, especially if you have other health conditions, take sleeping pills, or earlier attempts on your own have failed.
Sources and methodology
This page was prepared by the AllPsychTests.com editorial team, based on the sources listed below. It is educational information, not treatment advice. To learn how we prepare our content, read our methodology page.
- Riemann D. et al. (2017). European guideline for the diagnosis and treatment of insomnia. Journal of Sleep Research, 26(6)
- Trauer J. M. et al. (2015). Cognitive behavioral therapy for chronic insomnia: a systematic review and meta-analysis. Annals of Internal Medicine, 163(3)
- van Straten A. et al. (2018). Cognitive and behavioral therapies in the treatment of insomnia: a meta-analysis. Sleep Medicine Reviews, 38
Thank you! We got your report and will look into it.
Sorry, the report could not be sent. Please try again or email info@allpsychtests.com.
Other types of therapy
Conditions this therapy is used for
Related tests
Related articles
May 17, 2026
Sleep Hygiene: 10 Rules That Actually Work
Not every sleep rule matters equally. 10 research-backed sleep hygiene habits, from a fixed wake-up time to a worry list, and what to do when hygiene alone is not enough.
Read the articleOctober 4, 2024
How to Choose a Psychologist, Therapist or Psychiatrist
Psychologist, therapist or psychiatrist? Where to start, how to get help through your doctor or by self-referral, how to spot a good therapist, and when to switch.
Read the article