CBT-I vs Sleeping Pills: Which Works Better for Insomnia, and for How Long?

US guidelines put cognitive behavioral therapy for insomnia (CBT-I) first. Z-drug sleeping pills such as zolpidem (Ambien) cut time to fall asleep by about 22 minutes vs placebo in pooled FDA trial data, while CBT-I's gains held up after treatment ended.

This guide

Sleep & Magnesium
Question
Is CBT-I better than sleeping pills like Ambien for chronic insomnia?
Sources
8 cited
Quick answers
4 questions
Clinician review
None; sources cited inline

Researched and written by Kymata Health Editorial; sources cited inline. Drawn from the studies and documents cited below. Educational only, not medical advice.

Key takeaways

5 points
  • The American College of Physicians recommends CBT-I as the first treatment for chronic insomnia in all adults, with pills considered only if CBT-I alone has not worked1.
  • Across 20 trials, CBT-I cut time to fall asleep by about 19 minutes and time awake at night by about 26 minutes, and the gains seemed to last3.
  • In FDA trial data, Z-drugs (zolpidem, eszopiclone, zaleplon) cut time to fall asleep by about 22 minutes more than placebo, an effect the authors called small4.
  • In a 160-person trial, people who started CBT-I with zolpidem and then continued with CBT-I alone had the highest remission rate 6 months later: 68% vs 42% for those who continued CBT-I with zolpidem as needed, though each of these groups had only about 30 people5.
  • Ambien's label says it is for short-term use and carries a boxed warning about sleep-walking and sleep-driving7.

What the guidelines say

The American College of Physicians' 2016 guideline recommends that all adults with chronic insomnia get CBT-I as the first treatment (strong recommendation, moderate-quality evidence)1. Adding a medicine is a shared decision for people in whom CBT-I alone has not worked (weak recommendation, low-quality evidence)1.

The American Academy of Sleep Medicine's 2021 guideline strongly recommends multicomponent CBT-I2. It conditionally supports shorter versions and single techniques (stimulus control, sleep restriction, relaxation) and suggests not relying on sleep hygiene tips alone2. Its 2017 drug guideline gave only weak suggestions for drugs such as zolpidem and eszopiclone, and suggested clinicians not use trazodone, diphenhydramine, melatonin or valerian for chronic insomnia8.

What CBT-I is and how much it helps

CBT-I is a structured program, not a list of tips. Trial versions combined at least three of: changing unhelpful thoughts about sleep (cognitive therapy), using the bed only for sleep (stimulus control), limiting time in bed to match actual sleep (sleep restriction), sleep hygiene and relaxation3.

A 2015 meta-analysis of 20 trials with 1,162 adults found that, compared with no active treatment, CBT-I shortened the time to fall asleep by 19 minutes, cut time awake after first falling asleep by 26 minutes and raised sleep efficiency by 9.9 percentage points3. Total sleep time rose by only about 8 minutes, a change too small to rule out no effect3. Improvements seemed to last at later follow-ups and no harms were reported3. The meta-analysis had no funding source3.

What sleeping pills add, and their risks

A 2012 BMJ analysis of the trial data submitted to the FDA for zolpidem, eszopiclone and zaleplon (13 trials, 4,378 participants) found the drugs shortened time to fall asleep on sleep-lab recordings by 22 minutes more than placebo4. The authors called the drug effect small and of questionable clinical importance, while noting that drug and placebo response together added up to a reasonably large improvement4. They reported no industry funding or ties4.

Ambien (zolpidem) is approved for short-term treatment of trouble falling asleep, and its efficacy trials lasted 4 to 5 weeks7. The label says long-term use is not recommended, treatment should be as short as possible, and the risk of abuse and dependence rises with duration7. It carries a boxed warning: sleep-walking, sleep-driving and other activities while not fully awake can occur, sometimes causing serious injury or death7.

The recommended starting dose is 5 mg for women and 5 or 10 mg for men, because women clear zolpidem more slowly; it should be taken only with 7 to 8 hours left before waking, since next-morning driving can be impaired7. Stopping suddenly after regular use can cause withdrawal symptoms7.

Head-to-head trials

In a 2009 JAMA trial, 160 adults with persistent insomnia had 6 weeks of CBT-I alone or CBT-I plus zolpidem 10 mg nightly5. Response rates were nearly identical (60% vs 61%), as were remissions (39% vs 44%)5. Over the following 6 months, the best results came from starting with both and then continuing CBT-I without the pill: 68% were in remission at follow-up vs 42% of those who continued CBT-I plus as-needed zolpidem, though each of these groups had only about 30 people5. The trial was funded by the US National Institute of Mental Health and was not industry-supported; the lead author reported consulting for several drug companies, including Sanofi-Aventis, which markets Ambien57.

In a 2006 JAMA trial of 46 adults with an average age of about 61, 6 weeks of CBT-I beat the sleeping pill zopiclone (7.5 mg) on 3 of 4 measures, and zopiclone mostly did no better than placebo6. Sleep efficiency in the CBT-I group rose from 81.4% to 90.1% at 6 months, vs 82.3% to 81.9% with zopiclone6. Both trials were small, and these results apply to people with chronic insomnia, not a few bad nights.

Choosing, and when to see a clinician

CBT-I takes effort over several weeks; the trials above ran it for 6 weeks56. A pill works the first night but is meant for short-term use7. Combining them is an option: the best-performing group in the 2009 trial started with both and then stopped the pill5.

  • See a clinician if insomnia lasts more than a few weeks. Ambien's label says insomnia that does not improve after 7 to 10 days of treatment may point to another psychiatric or medical illness that needs evaluating7.
  • Do not take zolpidem if you have ever done something while not fully awake after taking it, and avoid combining it with alcohol or other sedating drugs, which raises the risk of next-day impairment7.
  • Older adults have a higher fall risk on zolpidem7.
  • Do not stop a sleeping pill abruptly after regular use without advice7.
  • Over-the-counter antihistamine sleep aids are not a substitute; see Benadryl, ZzzQuil and Unisom for sleep.

Quick answers

Questions

4 answers

Is CBT-I more effective than Ambien?

Guidelines recommend CBT-I first1. In a 2006 trial CBT-I beat zopiclone, a related sleeping pill6, and in the 2009 trial adding zolpidem to CBT-I did not raise 6-week response rates5. No trial in these sources compared Ambien alone with CBT-I.

Can you do CBT-I while taking a sleeping pill?

Yes, that was tested: CBT-I plus zolpidem for 6 weeks, then CBT-I alone, had the best 6-month remission rate5. Plan stopping the pill with your prescriber7.

Is trazodone a better option than Ambien?

The American Academy of Sleep Medicine suggests clinicians not use trazodone for chronic insomnia8.

Do sleep hygiene tips count as CBT-I?

No. Sleep hygiene is one part of CBT-I, and on its own the sleep academy suggests not using it as the treatment2.

References

Every study and document cited in this guide, numbered as in the text.

Sources

8 sources
  1. 1Management of Chronic Insomnia Disorder in Adults: A Clinical Practice Guideline From the American College of Physicians. Ann Intern Med, 2016. PMID 27136449
  2. 2Behavioral and psychological treatments for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. J Clin Sleep Med, 2021. PMID 33164742
  3. 3Cognitive Behavioral Therapy for Chronic Insomnia: A Systematic Review and Meta-analysis. Ann Intern Med, 2015. PMID 26054060
  4. 4Effectiveness of non-benzodiazepine hypnotics in treatment of adult insomnia: meta-analysis of data submitted to the Food and Drug Administration. BMJ, 2012. PMID 23248080
  5. 5Cognitive behavioral therapy, singly and combined with medication, for persistent insomnia: a randomized controlled trial. JAMA, 2009. PMID 19454639
  6. 6Cognitive behavioral therapy vs zopiclone for treatment of chronic primary insomnia in older adults: a randomized controlled trial. JAMA, 2006. PMID 16804151
  7. 7AMBIEN (zolpidem tartrate) tablets: prescribing information. U.S. Food and Drug Administration (Drugs@FDA), 2022.
  8. 8Clinical Practice Guideline for the Pharmacologic Treatment of Chronic Insomnia in Adults: An American Academy of Sleep Medicine Clinical Practice Guideline. J Clin Sleep Med, 2017. PMID 27998379

Dietary supplements are not intended to diagnose, treat, cure or prevent any disease, and these statements have not been evaluated by the FDA. Prescription options need a licensed clinician. Talk to your clinician or pharmacist before starting anything new, especially if you take prescription medicines, are pregnant or breastfeeding.

Educational only. Not medical advice. Some links earn us a commission: kymatahealth.com/affiliate-disclosure.