Somnera
CBT-I science

What is the best treatment for insomnia? What the guidelines say

CBT-I, sleeping pills, melatonin, sleep hygiene. How each one is actually rated by the bodies that review the evidence, side by side.

6 min read

Last reviewed October 7, 2026

A ranked bar chart with one bar far longer than the rest, on a night-sky background

Share

By the evidence, the best treatment for chronic insomnia is cognitive behavioral therapy for insomnia (CBT-I). That is not a marketing claim; it is the conclusion of the American Academy of Sleep Medicine, the American College of Physicians and the European Sleep Research Society, each reviewing the trials independently.

But "best" deserves a straight comparison, so here is every option people actually reach for, rated the way the guidelines rate it.

At a glance

TreatmentGuideline positionWhat the evidence shows
CBT-IStrong recommendation (AASM); first-line for all adults (ACP); first-line in person or digitally (Europe)About 19 minutes faster to fall asleep, 26 minutes less awake at night, 10 points higher sleep efficiency; gains persist after treatment
Sleeping pillsAll fourteen AASM drug recommendations weak; generally short-term onlySimilar to CBT-I in the short term; benefit generally lasts while taken
MelatoninAASM suggests against for chronic insomniaAbout 7 minutes faster to fall asleep, about 8 minutes more sleep
Sleep hygiene aloneAASM recommends against as a standalone treatmentSensible background advice; not a treatment for chronic insomnia

How each treatment is rated

CBT-I

Guideline status: the only strong recommendation in the AASM's behavioral guideline. First-line for all adults with chronic insomnia, per the American College of Physicians. First-line in Europe, delivered in person or digitally.

What it changes: pooled across trials, people fell asleep about 19 minutes faster, spent about 26 minutes less awake in the night, and gained about 10 percentage points of sleep efficiency. Total sleep time did not change significantly - what improves is how consolidated the night is.

How long it lasts: this is its biggest advantage. Gains shrink over the following year but persist after treatment ends, which is the main reason guideline committees put it first. What lasting improvement looks like in the data.

The catch: it takes work and several weeks, and the first weeks are often harder before they get easier. What CBT-I involves.

Sleeping pills

Guideline status: the AASM's guideline on insomnia medication makes fourteen drug recommendations. All fourteen are weak, on low or very low quality evidence. The American College of Physicians recommends CBT-I before medication. The European guideline limits hypnotics to short-term use, four weeks or less.

What it changes: in the short term, medication and CBT-I can look similar. The difference shows up later. In one double-blind trial in older adults, measured sleep efficiency rose from 81.4% to 88.9% with CBT, while the zopiclone group went from 82.3% to 81.5%. At six months the CBT group was at 90.1% and the medication group at 81.9%.

The catch: benefits generally last only as long as the medication is taken. That is not a reason to stop anything - it is a reason to have the conversation with your prescriber. The full comparison.

Melatonin

Guideline status: the AASM guideline suggests against melatonin for chronic insomnia.

What it changes: pooled trials found it shortened the time to fall asleep by about seven minutes and increased total sleep by about eight. Real, and small.

Take the free assessment to see:

  • ✓Your Insomnia Severity Index (ISI) score
  • ✓A personalized 6-week CBT-I plan, built by a sleep physician
  • ✓How your sleep improves, night by night
Start free assessment

The catch: it is a timing signal rather than a sleeping pill, and it does not touch the patterns that keep chronic insomnia going. More on melatonin.

Sleep hygiene

Guideline status: the AASM recommends against sleep hygiene as a standalone treatment for chronic insomnia.

What it changes: a cool, dark room and no caffeine late in the day are sensible. They are not what fixes a sleep problem that has become a pattern, and most people with chronic insomnia have already tried them. Why that is.

Why the guidelines put CBT-I first

It is not because CBT-I works faster or feels better at first. In the short term, medication and CBT-I can look similar, and the early weeks of CBT-I are often harder.

The reason is what happens afterwards. Pooling controlled trials with long follow-up, the effect of CBT-I on insomnia severity was moderate at three months, smaller at six, and smaller again but still present at twelve. In the head-to-head trial in older adults, the CBT group's measured sleep efficiency at six months was 90.1%, against 81.9% in the medication group. CBT-I changes the patterns that keep insomnia going, so the improvement does not depend on continuing to take something.

How to get CBT-I

CBT-I is delivered three main ways: one-to-one with a trained therapist, in group sessions, or as a structured self-guided program. Trained therapists are scarce in much of the country, which is one of the main reasons most people are never offered it. Why CBT-I is hard to get, and how to find a therapist who delivers it.

Combining treatments

A 2026 AASM guideline on combination treatment suggests combining CBT-I with medication over medication alone, and suggests against adding medication to CBT-I over CBT-I alone. Both recommendations are conditional, on low-certainty evidence. If you are already taking something, starting CBT-I does not require stopping it - but any change to a prescription is a conversation for your prescriber, not a website. What the research says about coming off sleep medication.

So which is best for you?

If your insomnia is chronic - three or more nights a week, for three months or more - the evidence points to CBT-I first. If something else is driving it, like untreated sleep apnea, a circadian rhythm problem or severe depression, that needs addressing first, and a clinician is the right starting point. When to see a sleep specialist.

CBT-I can be delivered by a therapist, in a group, or as a self-guided program. Whether the online version works and how to choose between programs are covered separately, along with the rest of this section.

Somnera is a self-guided education program built on CBT-I, founded and written by Dr. Camilo Ruiz, DO, FACOI, FAASM. It is not a diagnosis and does not replace care from your own clinician. The assessment is free and takes about two minutes.

Citations

  • Edinger JD, 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. doi:10.5664/jcsm.8986
  • Qaseem A, et al. 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. doi:10.7326/M15-2175
  • Riemann D, et al. The European Insomnia Guideline: an update on the diagnosis and treatment of insomnia 2023. J Sleep Res. 2023;32(6):e14035. doi:10.1111/jsr.14035
  • Sateia MJ, et al. 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. doi:10.5664/jcsm.6470
  • Trauer JM, et al. Cognitive behavioral therapy for chronic insomnia: a systematic review and meta-analysis. Ann Intern Med. 2015;163(3):191–204. doi:10.7326/M14-2841
  • Sivertsen B, 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. doi:10.1001/jama.295.24.2851
  • van der Zweerde T, et al. Cognitive behavioral therapy for insomnia: a meta-analysis of long-term effects in controlled studies. Sleep Med Rev. 2019;48:101208. doi:10.1016/j.smrv.2019.08.002
  • Ferracioli-Oda E, Qawasmi A, Bloch MH. Meta-analysis: melatonin for the treatment of primary sleep disorders. PLoS One. 2013;8(5):e63773. doi:10.1371/journal.pone.0063773
  • Buysse DJ, et al. Combination treatment for chronic insomnia disorder: an American Academy of Sleep Medicine clinical practice guideline. J Clin Sleep Med. 2026;22(1):56.

Frequently asked questions

Clinical guidelines in the US and Europe recommend cognitive behavioral therapy for insomnia (CBT-I) as the first-line treatment for chronic insomnia in adults. It is the only treatment the American Academy of Sleep Medicine's behavioral guideline recommends strongly.

They can help in the short term, and some people need them. But every one of the fourteen medication recommendations in the AASM's drug guideline is weak, on low or very low quality evidence, and guidelines generally limit hypnotic use to the short term. Any decision about medication belongs with your prescriber.

Modestly at best. Pooled trials found it shortens the time to fall asleep by about seven minutes on average, and the AASM guideline suggests against using it for chronic insomnia.

Not on its own. The AASM recommends against sleep hygiene as a standalone treatment for chronic insomnia. It is reasonable general advice, but most people with chronic insomnia have already tried it.

A 2026 AASM guideline suggests combination treatment over medication alone, and suggests against adding medication to CBT-I alone. Both recommendations are conditional and based on low-certainty evidence. Talk to your prescriber before changing anything.