Sleep Medication and Insomnia
Sleep medication can help in the short term, but it isn't the long-term answer — the guidelines put it behind CBT-I (cognitive behavioral therapy for insomnia) and frame it as short-term use.
What to know first
- The AASM's 2017 guideline made recommendations on fourteen medications and supplements for chronic insomnia. It rated every recommendation weak, including the ones it suggests using. "Weak" is the guideline's own grade, and it means the benefits and the harms sit close enough together that the right answer depends on the person, not on the drug.
- It suggests clinicians may recommend eszopiclone, zolpidem, temazepam, zaleplon, triazolam, ramelteon, low-dose doxepin, or suvorexant. Different ones are suggested for trouble falling asleep than for trouble staying asleep. The newer VA/DoD guideline (2025) suggests daridorexant, doxepin, eszopiclone, lemborexant, suvorexant, zaleplon, or zolpidem.
- It suggests clinicians not recommend trazodone, tiagabine, diphenhydramine, melatonin, L-tryptophan, or valerian for insomnia. The 2025 VA/DoD guideline goes further. It suggests against benzodiazepines (a class of sedatives), including the temazepam and triazolam the AASM suggested in 2017. It also suggests against using antipsychotics.
- Several drugs commonly taken for sleep, such as mirtazapine and quetiapine, are not approved for insomnia. They received no recommendation in the AASM's 2017 guideline.
- The Beers Criteria advise avoiding benzodiazepines, Z-drugs (zolpidem and similar sleep drugs) and first-generation antihistamines in adults over 65. All three are strong recommendations.
AASM = American Academy of Sleep Medicine · VA = US Department of Veterans Affairs
For education only, and not a substitute for advice from your own doctor or prescriber.
Start here
Prescription drugs used for sleep
- 6 min
Quviviq (Daridorexant) for Insomnia: What to Know
Many medications people take for sleep are approved for something else. Quviviq is not one of them — insomnia is what it is approved for.
- 5 min
Mirtazapine for Sleep: What the Evidence Shows
Mirtazapine is often prescribed off-label for sleep. To understand why, start with what it is actually approved to treat.
- 6 min
Seroquel for Sleep: Why It Is Rarely the Right Choice
Quetiapine is sedating, which is why it sometimes gets prescribed for sleep. It is also an antipsychotic, not a sleep medicine, and it comes with real risks.
- 5 min
Does Zoloft Cause Insomnia? What the Evidence Shows
Sertraline is one of the most prescribed antidepressants in the US, and trouble sleeping is one of its most reported side effects. The label puts a number on it.
Over the counter
- 7 min
Is It Bad to Take Melatonin Every Night?
Melatonin is the supplement most people try first for insomnia. Sleep guidelines from the AASM and the VA/DoD suggest not using it for that.
- 5 min
Over-the-Counter Sleep Aids: Do They Work?
Not needing a prescription tells you how a product is regulated, not how safe it is. Here is what the guidelines say about what is in the box.
- 6 min
Do Natural Sleep Supplements Work?
An earlier version of this page ranked seven supplements. The evidence does not support a ranking, so here is what it does support.
Common questions
What is the safest sleeping pill?
Which sleep medications does the AASM recommend?
Which does it recommend against?
Why aren't drugs like mirtazapine and quetiapine on either list?
Should I stop taking my sleep medication?
References
- Sateia MJ, Buysse DJ, Krystal AD, Neubauer DN, Heald JL. Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults. Journal of Clinical Sleep Medicine. 2017;13(2):307-349.
- American Geriatrics Society. 2023 AGS Beers Criteria for Potentially Inappropriate Medication Use in Older Adults. J Am Geriatr Soc. 2023;71:2052-2081. doi:10.1111/jgs.18372
- Buysse DJ, et al. Combination treatment for chronic insomnia disorder in adults: an American Academy of Sleep Medicine clinical practice guideline. Journal of Clinical Sleep Medicine. 2026;22(1):56. doi:10.1007/s44470-025-00038-8.
- Melatonin: What You Need To Know. National Center for Complementary and Integrative Health.
- VA/DoD Clinical Practice Guideline for the Management of Chronic Insomnia Disorder and Obstructive Sleep Apnea. Version 3.0. US Department of Veterans Affairs and Department of Defense; 2025.