Therapy for Sleeping Problems: CBT-I, Medicines and Other Treatment Options
Therapy for Sleeping Problems: CBT-I, Medicines and Other Treatment Options
Written by HealSend Clinical Team
Published 12/04/2026
CBT-I is the first-line therapy for chronic sleeping problems. Here is how it works, how sleep medicines compare, which safety warnings matter, and a simple guide to choosing a path.
Short answer: the main therapy for sleeping problems that keep coming back is cognitive behavioral therapy for insomnia (CBT-I). The American College of Physicians (ACP) recommends it as the first-line treatment for adults with chronic insomnia, and the American Academy of Sleep Medicine (AASM) gives it a strong recommendation. It usually takes 4 to 8 sessions. Medicines can help when CBT-I isn't enough, ideally for the short term, and sleep problems caused by another condition, such as sleep apnea, need that condition treated.
Key takeaways
CBT-I is the first-line treatment for chronic insomnia, recommended by ACP and strongly by AASM; it usually takes 4 to 8 sessions.
Sleep hygiene alone isn't recommended as the only treatment for chronic insomnia.
FDA-approved sleep medicines are intended for short-term use, and the Z-drugs carry a boxed warning for complex sleep behaviors.
AASM suggests against diphenhydramine, melatonin, trazodone and valerian for chronic insomnia.
Sleep problems caused by another condition, such as sleep apnea, need that condition treated.
First, what kind of sleep problem is it?
Trouble falling asleep, staying asleep or waking too early is insomnia. ACP estimates that about 6 to 10% of adults have insomnia that meets diagnostic criteria. But not every sleep problem is insomnia, and the right treatment depends on the cause:
Sleep apnea: frequent loud snoring, gasping for air, breathing that stops and starts, daytime sleepiness and waking often to urinate are common signs. Insomnia itself can be a symptom of sleep apnea, especially in women.
Medicines: some over-the-counter and prescription drugs, such as certain cold and allergy medicines, can disrupt sleep.
Habits and schedule: irregular sleep times, naps, caffeine, nicotine and alcohol close to bedtime all affect sleep.
Insomnia care from a licensed provider
HealSend offers online insomnia care. A licensed US provider reviews your sleep, health history and medicines, recommends a plan, and if a prescription is appropriate, it ships from a licensed pharmacy.
CBT-I is a structured program that changes the thoughts and habits that keep insomnia going. NHLBI describes it as a 6- to 8-week plan, delivered in person, by phone or online. It combines several parts:
Component
What it involves
Cognitive therapy
Reducing worry and nervousness about not being able to sleep
Stimulus control
Going to bed only when sleepy, and getting up if you can't fall asleep within about 20 minutes
Sleep restriction
Setting a specific amount of time in bed, then slowly increasing it as sleep improves
Relaxation
Meditation, imagery or muscle relaxation to help you fall asleep faster
Sleep education
A consistent bedtime and wake time, no naps, and limits on caffeine and alcohol
Mayo Clinic notes that most people need 6 to 8 sessions, that CBT-I addresses causes rather than only symptoms, and that its benefits seem to last, with no evidence of harmful side effects. ACP says CBT-I likely has fewer harms than drug treatment, though direct comparisons are limited.
Other behavioral therapies
When full CBT-I isn't available, AASM's 2021 guideline conditionally supports shorter options: brief multi-component therapies and three single-component approaches, stimulus control, sleep restriction and relaxation therapy. The same guideline suggests that sleep hygiene advice on its own shouldn't be used as the only treatment for chronic insomnia. Good habits help, but the guideline treats them as one part of a larger plan.
Sleep medicines: how the options compare
AASM's 2017 guideline on sleep medicines made only weak recommendations, meaning the evidence was limited and the choice depends on the person. The summary below follows that guideline, plus safety information from FDA and NHLBI.
Type
Examples
AASM 2017 suggestion
Key cautions
"Z-drugs"
Zolpidem, eszopiclone, zaleplon
For falling asleep (all three); zolpidem and eszopiclone also for staying asleep
FDA boxed warning for complex sleep behaviors, such as sleepwalking and sleep driving
Orexin receptor antagonist
Suvorexant
For staying asleep
Not recommended with narcolepsy; rarely, brief inability to move or speak when falling asleep or waking
Melatonin receptor agonist
Ramelteon
For falling asleep
Dizziness, fatigue
Low-dose doxepin
Doxepin
For staying asleep
Review your other medicines with a clinician
Benzodiazepines
Temazepam, triazolam
Temazepam for falling and staying asleep; triazolam for falling asleep
Habit-forming; usually only for a few weeks; dizziness, confusion
NHLBI notes research hasn't proven melatonin works for insomnia
A few points to know:
Short term is the norm. ACP notes that FDA has approved insomnia medicines for short-term use, about four to five weeks, and recommends shared decision-making about medication when CBT-I alone hasn't worked.
Complex sleep behaviors are serious. In 2019, FDA added a boxed warning to eszopiclone, zaleplon and zolpidem after reviewing 66 cases of complex sleep behaviors, 20 of them fatal. These drugs shouldn't be used by anyone who has had such an episode.
Off-label use is common. Some antidepressants, antipsychotics and anticonvulsants are prescribed for insomnia even though FDA hasn't approved them for it.
Other approaches
NHLBI notes that light therapy, using a bright light box daily, can help set and maintain your sleep-wake cycle, and that acupuncture may help insomnia, especially in older adults. Massage, meditation and yoga may also help some people.
Choosing a path: a simple guide
This summary pulls together the guidance above. It's a starting point for a conversation with a clinician, not a substitute for one.
Your situation
Usual first step
A few bad nights after a stressful event or schedule change
Get help if poor sleep happens regularly, affects your days, or comes with signs of sleep apnea such as loud snoring or gasping. A clinician can sort out the type of sleep problem, recommend CBT-I, and discuss medicine if it's needed. ACP notes that insomnia that hasn't improved within 7 to 10 days of treatment should be re-evaluated.
If you take a sleep medicine, stop it and call your prescriber if you do anything while not fully awake, like walking, eating or driving. Tell your clinician about alcohol, opioids or other sedatives before starting any sleep medicine.
Sleeping badly most nights?
Answer a few questions about your sleep and health. A licensed US provider reviews them and suggests next steps, which may include CBT-I tools or, when appropriate, medication.
What is the most effective therapy for sleeping problems?
For chronic insomnia, CBT-I is the first-line treatment recommended by ACP and AASM. Sleep problems from another cause, such as sleep apnea, need that cause treated.
How long does CBT-I take to work?
Most programs run about 4 to 8 sessions, or 6 to 8 weeks.
Can I do CBT-I online?
Yes. NHLBI notes that CBT-I can be delivered in person, by phone or online.
Is it safe to take sleeping pills long term?
Insomnia medicines are FDA-approved for short-term use, and several carry serious warnings. Talk with a clinician about the risks and how long to use one.
What can I take over the counter for loss of sleep?
AASM suggests against diphenhydramine and melatonin for chronic insomnia, and antihistamines can be unsafe for some people. Ask a clinician before using any sleep aid regularly.
Does sleep hygiene work on its own?
Good habits help, but AASM's 2021 guideline suggests not using sleep hygiene as the only treatment for chronic insomnia. It works best as part of CBT-I.
Is trazodone good for sleep?
Trazodone is sometimes prescribed off-label, but AASM's 2017 guideline suggests against using it for chronic insomnia.
Does light therapy help insomnia?
NHLBI notes that daily light therapy with a bright light box can help set and maintain your sleep-wake cycle. Ask a clinician whether it fits your sleep problem.
This article is for informational purposes only and does not constitute medical advice. Talk with a licensed clinician about the risks and benefits of any treatment.