All sleep articles

By Small Hours · Last reviewed

A few plain white tablets in a small dish beside a notebook on a lamplit bedside table

In short-term trials, CBT-I and prescription sleep medication improve sleep by similar amounts. Where studies followed people afterwards, the gains from CBT-I tended to last once treatment ended, while gains from medication tended not to. The number of head-to-head trials is small, so the evidence is moderate at best.

This article compares research outcomes only. It is not a recommendation to start, stop or change any medication. Please speak with your doctor or pharmacist before changing any medicine.

What the research says

Similar at first, different later. A systematic review of 5 randomised trials found, on low to moderate quality evidence, that CBT-I beat benzodiazepine and non-benzodiazepine sleep medicines in the long term, while very low quality evidence suggested benzodiazepines work better in the short term. [1] A meta-analysis of 21 studies and 470 people found short-term improvements moderate to large for both and similar in size, with behaviour therapy reducing time to fall asleep more than medication did. [2] In 78 older adults over 8 weeks, behavioural therapy, medication and the two together all beat placebo, and gains held at follow-up for people given behavioural therapy but not for those given medication alone. [3] In a placebo-controlled trial of 46 older adults, CBT beat zopiclone on 3 of 4 sleep measures in both the short and long term, and on most measures zopiclone did not differ from placebo. [9] In plain terms, both help about equally during treatment, and CBT-I's benefit tends to stay after it stops.

The studies behind this
  • Mitchell systematic review (2012): 5 randomised trials comparing CBT-I with sleep medication. Low to moderate quality evidence found CBT-I more effective than benzodiazepine and non-benzodiazepine sleep medicines in the long term. Very low quality evidence suggested benzodiazepines work better in the short term. [1]
  • Smith meta-analysis (2002): 21 studies, 470 people. Short-term improvements were moderate to large for both approaches and similar in size. Behaviour therapy reduced time to fall asleep more than medication did. [2]
  • Morin trial (1999): 78 older adults, 8 weeks. Behavioural therapy, medication and the two together all beat placebo. Gains held at follow-up in people given behavioural therapy but not in those given medication alone. [3]
  • Sivertsen trial (2006): 46 older adults, placebo-controlled. CBT gave better short- and long-term results than zopiclone on 3 of 4 sleep measures, and for most measures zopiclone did not differ from placebo. [9]

Why might the long-term picture differ?

This is our reading of the findings, not a proven mechanism. Medication acts while it is being taken. CBT-I is a set of skills and habit changes aimed at the factors that maintain insomnia, so it can keep working after the sessions end.

What do the guidelines say?

  • American College of Physicians (2016): CBT-I as the initial treatment for all adults with chronic insomnia. For people whose insomnia persists after CBT-I, the guideline advises a shared decision with a clinician about adding short-term medication, weighing benefits, harms and costs. That second recommendation is graded weak, on low-quality evidence. [4]
  • European Insomnia Guideline (2023): CBT-I first-line, and a medication can be offered when CBT-I is not sufficiently effective. The guideline discusses duration of use for each type. [5]
  • American Academy of Sleep Medicine (2017): weak recommendations for several individual medications compared with no treatment. The authors note that evidence for each drug is limited by few trials, differences between trials and funding sources. The AASM guideline gave weak recommendations for zolpidem, eszopiclone, zaleplon, suvorexant, temazepam, triazolam, ramelteon and doxepin, and weak recommendations against trazodone, diphenhydramine (an ingredient in many over-the-counter sleep aids), melatonin, valerian, tryptophan and tiagabine. In the guideline's own words, a recommendation against, particularly on low-quality evidence, "is not equivalent to a demonstration of ineffectiveness." [6] Zopiclone was not among the medicines the AASM guideline reviewed. What the evidence says about melatonin has its own article.

Why is medication still so common?

In a Canadian telephone survey of 2,000 adults, 13.4% met criteria for insomnia, and prescribed medication was the most widely used treatment: about 10% had used a prescribed sleep medicine in the previous year. Only about 13% had ever consulted a health professional about sleep. [7] Access to trained CBT-I providers is limited in many places, which is one reason digital versions have been studied.

What the studies cannot tell you

  • Very few trials compare the two head to head, and several are small.
  • Trials used different medications, doses and durations, so no single result fits every drug.
  • Most studies recruited people with chronic insomnia and without major other conditions. Results may not carry over to everyone.
  • CBT-I has its own demands. Some parts, such as limiting time in bed, can make people sleepier for a few weeks. The American Academy of Sleep Medicine notes sleep restriction may be contraindicated, meaning unsuitable, for people in high-risk occupations such as driving or operating heavy machinery, people predisposed to mania or hypomania, and people with poorly controlled seizure disorders. [8] Talk with a doctor first if any of these apply, or if you have another medical or psychiatric condition.

So which is better?

Neither always. Guidelines put CBT-I first, and medication is a reasonable conversation to have with your own doctor, especially when CBT-I alone has not been enough or is unavailable. If you already take a sleep medicine and are wondering about stopping, coming off sleeping pills covers what the research says, and that conversation belongs with your doctor or pharmacist. Do not stop or reduce a medicine on your own because of anything you read here.

If you want to try CBT-I, Small Hours builds a plan from your own sleep diary. You can sign up at trysmallhours.com.

General education, not medical advice.

References

  1. Mitchell MD, Gehrman P, Perlis M, Umscheid CA. Comparative effectiveness of cognitive behavioral therapy for insomnia: a systematic review. BMC Fam Pract. 2012;13:40. Source for reference 1 (opens in a new tab)
  2. Smith MT, Perlis ML, Park A, et al. Comparative meta-analysis of pharmacotherapy and behavior therapy for persistent insomnia. Am J Psychiatry. 2002;159(1):5-11. Source for reference 2 (opens in a new tab)
  3. Morin CM, Colecchi C, Stone J, Sood R, Brink D. Behavioral and pharmacological therapies for late-life insomnia: a randomized controlled trial. JAMA. 1999;281(11):991-999. Source for reference 3 (opens in a new tab)
  4. 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. Ann Intern Med. 2016;165(2):125-133. Source for reference 4 (opens in a new tab)
  5. Riemann D, Espie CA, Altena E, et al. The European Insomnia Guideline: an update on the diagnosis and treatment of insomnia 2023. J Sleep Res. 2023;32(6):e14035. Source for reference 5 (opens in a new tab)
  6. Sateia MJ, Buysse DJ, Krystal AD, Neubauer DN, Heald JL. Clinical 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;13(2):307-349. Source for reference 6 (opens in a new tab)
  7. Morin CM, LeBlanc M, Bélanger L, Ivers H, Mérette C, Savard J. Prevalence of insomnia and its treatment in Canada. Can J Psychiatry. 2011;56(9):540-548. Source for reference 7 (opens in a new tab)
  8. 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. J Clin Sleep Med. 2021;17(2):255-262. Source for reference 8 (opens in a new tab)
  9. Sivertsen B, Omvik S, Pallesen S, et al. Cognitive behavioral therapy vs zopiclone for treatment of chronic primary insomnia in older adults: a randomized controlled trial. JAMA. 2006;295(24):2851-2858. Source for reference 9 (opens in a new tab)

This article is general education, not medical advice. It cannot diagnose anything or replace a conversation with your doctor. Read how we choose and check sources on the how we write page.

Share this article

Know someone who is lying awake? Send it to them.

Make the small hours smaller

Small Hours is a free sleep diary with a six-week CBT-I program behind it, built on the same research. Sign up tonight, and fill in your first two-minute diary tomorrow morning.

Create an account

Small Hours is a self-guided program for adults. It is not an emergency service. If you are in crisis, call or text 9-8-8 in Canada or the US at any hour.