CBT-I vs medication for insomnia guideline: which works first?
The CBT-I vs medication for insomnia guideline answer comes down to order. For long-lasting insomnia, the American College of Physicians (2016) says every adult should get cognitive behavioral therapy for insomnia (CBT-I) as the first treatment, and short-term medication is something to discuss if CBT-I alone has not worked. The American Academy of Sleep Medicine's 2026 update still puts CBT-I first. Medication can help some people with some outcomes, such as total sleep time, but it does not change the habits that keep insomnia going.
This guide is not medical advice, and you should never stop a prescribed sleep medicine suddenly. If you want to start with the part of CBT-I that costs nothing, our free 2-minute sleep quiz gives a starting sleep window from your own numbers. Below: a side-by-side table, what each guideline says, the main drug classes and their cautions, how to choose by situation, how the two can be combined, a 4-week trial of CBT-I steps, and the questions to take to a doctor.
CBT-I vs medication side by side
| CBT-I | Sleep medication | |
|---|---|---|
| What it does | Changes the habits and thoughts that keep insomnia going | Dampens wakefulness while you take it |
| How long you use it | A course, usually 4 to 8 weeks, then you keep the habits | Guidelines say short-term; the ACP says ideally 4 to 5 weeks at most |
| Speed | Usually 2 to 4 weeks to notice a change; the first week or two can feel worse | Often the same night |
| After you stop | Benefits tend to last, because the habits stay | The effect stops when the drug stops; sleep can rebound |
| Main downside | Effort, and a short sleep window at first (daytime sleepiness) | Side effects, dependence for some drug classes, next-day drowsiness |
| Guideline position | First-line for chronic insomnia | Second step, after CBT-I, or alongside it for some people |
| Cost | Free to a few hundred dollars for a workbook or app; a therapist costs more (what CBT for insomnia costs) | Varies by drug and insurance; needs a prescription except for over-the-counter products |
What the CBT-I vs medication for insomnia guideline says
American College of Physicians, 2016. The ACP recommends that all adults with chronic insomnia disorder receive CBT-I as the initial treatment. It says the evidence to compare CBT-I and drugs head to head is not strong enough to rank them on that basis alone, but it still puts CBT-I first because of its benefits and low risk of harm. If CBT-I does not work, it suggests the clinician and patient talk about the benefits, harms and costs of short-term medication, and that drugs ideally be used for no longer than 4 to 5 weeks.
American Academy of Sleep Medicine, 2026 update. As summarised in news coverage of the guideline, the AASM suggests combining CBT-I with a medication over using the medication alone, and gives a conditional recommendation against adding medication to CBT-I over CBT-I alone. Both recommendations rest on low-certainty evidence. The lead author described CBT-I by itself as the most effective first-line option, with medication giving a modest benefit for some outcomes such as total sleep time.
AASM, 2017 (drug guideline). The earlier AASM guideline on drug treatment made weak recommendations for several prescription drugs and suggested against others used or sold for sleep, including diphenhydramine (the antihistamine in many "PM" pills), melatonin, tryptophan and valerian. Weak means the benefit was small or the evidence thin, not that nobody gains.
Put the three together and the order is stable: CBT-I first, medication as a short bridge or second step, and no drug as a plan that never ends.
What the trials found
A 2015 meta-analysis of 20 trials in Annals of Internal Medicine (Trauer and colleagues) found CBT-I cut the time to fall asleep by about 19 minutes and time awake in the night by about 26 minutes on average, and raised sleep efficiency by about 10 points. Those are averages, and some people gain much more or less.
Head-to-head trials are small. Several small trials that compared a CBT-I course with a prescription sleep drug found the drug worked faster, while the CBT-I group held its gains after treatment ended and the drug group often did not. We have not verified the size of those differences, so treat "faster at first, shorter-lived" as the pattern, not as a number.
The main medication types and their cautions
This is a map, not a prescribing guide. Your doctor knows your other conditions and medicines.
| Type | Examples | Worth knowing |
|---|---|---|
| "Z-drugs" | Zolpidem, eszopiclone, zaleplon | In 2019 the FDA added its strongest warning (boxed) for rare complex sleep behaviors, such as sleepwalking, driving or cooking while not fully awake. Not for anyone who has had such an episode. |
| Benzodiazepines | Temazepam, triazolam | Can cause dependence and next-day impairment; the American Geriatrics Society advises avoiding them for sleep in older adults. |
| Orexin blockers | Suvorexant, lemborexant, daridorexant | Newer; they block a wake signal instead of sedating. Can cause next-day drowsiness and unusual dreams. |
| Low-dose doxepin | Doxepin (a tricyclic at a low dose) | Used for waking in the night. Drowsiness is the common side effect. |
| Antihistamines | Diphenhydramine, doxylamine (over the counter) | Tolerance builds fast, and next-day grogginess is common. The AASM suggests against them for insomnia. |
| Melatonin | Over the counter in the US | A timing signal more than a sedative. The AASM suggests against it for chronic insomnia; our guide to why melatonin stops working covers its real uses. |
Alcohol with any of these raises the risks. Mention every pill, supplement and drink to the person prescribing.
How to choose between CBT-I and medication
| Your situation | A sensible start |
|---|---|
| Insomnia 3 nights a week or more, for 3 months or more | CBT-I first (a workbook, a tested app or a clinician) |
| A bad stretch after a shock, grief or an acute event, lasting days or a few weeks | Talk to a doctor; a short drug course may be reasonable, with the fixed-wake-time part of CBT-I from day one |
| You already take a sleep drug nightly | Do not stop suddenly. Ask the prescriber about adding CBT-I and about a planned, gradual taper |
| CBT-I tried for 6 to 8 weeks with real effort, no change | Return to the clinician: the ACP's next step is a talk about short-term medication, and a check for other causes (sleep apnea, restless legs, mood, pain) |
| Older adult, falls, memory problems | CBT-I first; ask about drugs on the Beers list before any prescription |
| Pregnant or breastfeeding | Ask the doctor before any drug; behavioral steps carry no drug risk |
| Bipolar disorder, epilepsy, or work that needs alertness at odd hours | A doctor before any sleep restriction, since a short window can raise risks |
Can you combine CBT-I with medication?
Yes, and the 2026 AASM wording suggests combination beats medication alone, though it does not say combination beats CBT-I alone. In practice it happens in a few ways:
- Bridge: a short drug course while the sleep window and wake time take hold, then a taper.
- Taper support: people already on a nightly drug often use CBT-I to come off it, under a prescriber's plan.
- Different problems: insomnia plus depression, pain or hot flashes may need a treatment for that cause as well. See perimenopause insomnia if hot flashes wake you.
Ask the prescriber for a written end date, what to do if sleep rebounds, and which CBT-I step to start first. Our sleep restriction guide and stimulus control guide give the two steps in detail.
A 4-week CBT-I trial you can run before deciding
| Week | Do |
|---|---|
| 1 | Fill in a sleep diary every morning. Choose one wake time and keep it, weekends too. Caffeine before noon. |
| 2 | Set a sleep window: your average sleep from the diary plus 30 minutes, never under 5.5 hours. Only bedtime moves; wake time stays. Out of bed if awake about 20 minutes. |
| 3 | Hold the window. Morning light for 10 to 30 minutes. A 20-minute worry note early in the evening, not in bed. |
| 4 | If you are asleep 85% or more of the time in bed, bedtime 15 minutes earlier. Otherwise hold. Compare the diary with week 1. |
That is a fair first test, but the sleepy, hard stage is weeks 2 and 3, so judge at week 6 to 8, not week 2. If you are on a prescribed drug, do not change it for this trial without asking the prescriber. For a habit plan that walks the same steps day by day, see our 6-week sleep reset: $9.99 for the first week, then $14.99 a month or $69 a year. It is a habit plan, not medical care, and not a replacement for a clinician when you need one.
Questions to ask your doctor
- Could sleep apnea, restless legs, pain, thyroid, depression or a medicine of mine be behind this?
- Can you refer me to CBT-I, or to a program covered by my plan?
- If we try a drug, which one, for how many nights, and what is the plan to stop?
- What are the side effects I should stop driving for?
- How does it mix with my other medicines and with alcohol?
When to see a doctor
See a doctor if insomnia has lasted over 3 months, if you snore loudly or gasp, if you feel low or anxious most days, if sleepiness affects driving or work, or if you have been using a sleep aid every night for weeks. Get urgent help if you have thoughts of harming yourself.
Frequently asked questions
Is CBT-I better than sleeping pills?
For chronic insomnia, guidelines recommend it first, because its effects tend to last after it ends and it carries little risk. Pills can act faster, and some people still need them.
Is CBT-I as effective as medication?
The ACP says the head-to-head evidence is not strong enough for a firm ranking, but it still recommends CBT-I first. Medication often works faster at first and CBT-I tends to last longer.
Can I take sleeping pills and do CBT-I at the same time?
Many clinicians do combine them for a time. The AASM's 2026 wording favors combination over medication alone and does not favor adding a drug to CBT-I over CBT-I alone. Agree the plan with the prescriber.
How long can I safely take sleep medication?
The ACP suggests ideally no more than 4 to 5 weeks. Your doctor may set a different plan for you; follow it and ask for an end date.
Will CBT-I let me stop my sleeping pill?
It is often used for that, with a gradual taper set by the prescriber. Do not stop a long-term sleep drug suddenly.
Start with the free part
Pick one wake time for the next 7 days and start a diary tomorrow morning. The free sleep quiz turns it into a starting window. More guides are on all sleep guides; CBT-I vs sleep hygiene is the next comparison to read.
Sources: Qaseem A et al., Management of chronic insomnia disorder in adults: a clinical practice guideline from the American College of Physicians, Annals of Internal Medicine, 2016. Edinger JD et al., Behavioral and psychological treatments for chronic insomnia disorder in adults: an AASM clinical practice guideline, Journal of Clinical Sleep Medicine, 2021. Sateia MJ et al., Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults: an AASM clinical practice guideline, Journal of Clinical Sleep Medicine, 2017. American Academy of Sleep Medicine, 2026 update on combination treatment for chronic insomnia (as reported in news coverage; read the guideline itself before relying on its wording). Trauer JM et al., Cognitive behavioral therapy for chronic insomnia: a systematic review and meta-analysis, Annals of Internal Medicine, 2015. US Food and Drug Administration, Drug Safety Communication on complex sleep behaviors with eszopiclone, zaleplon and zolpidem, 2019. American Geriatrics Society Beers Criteria.