Insomnia Medication Classes: An Overview

Cognitive behavioral therapy for insomnia (CBT-I) is the recommended first treatment for chronic insomnia in adults. Medicines are sometimes used as well. This overview lists the main classes, with examples and how the 2017 AASM pharmacologic guideline addressed them. It covers classes only, not doses, and is not advice to start, stop or change any medicine.

ClassExamples (US)How it worksNotes
Nonbenzodiazepine receptor agonists ("Z-drugs")Zolpidem, eszopiclone, zaleplonEnhance GABA, the brain's main calming signal, at the benzodiazepine receptor siteFDA boxed warning (2019) about complex sleep behaviors such as sleepwalking and sleep driving
BenzodiazepinesTemazepam, triazolamEnhance GABA activityRisk of dependence, next day sedation and falls; FDA boxed warning on abuse, dependence and withdrawal
Orexin receptor antagonistsSuvorexant, lemborexant, daridorexantBlock orexin, a brain signal that promotes wakefulnessNewer class; next day drowsiness possible; not for people with narcolepsy
Melatonin receptor agonistRamelteonActs on melatonin receptorsAASM suggested for sleep onset insomnia
Low dose doxepinDoxepin (low dose formulation)Blocks histamine H1 receptorsAASM suggested for sleep maintenance insomnia
Sedating antidepressants used off labelTrazodoneSeveral receptor actions including histamine and serotoninAASM suggested not using trazodone for insomnia, citing weak evidence
Over the counter antihistaminesDiphenhydramine, doxylamineBlock histamine H1 receptorsAASM suggested against diphenhydramine; anticholinergic side effects, especially in older adults
Dietary supplementsMelatonin, valerianVariableAASM suggested against melatonin and valerian for chronic insomnia; supplements are not FDA approved drugs

Notes

  • The AASM recommendations were graded weak and based on limited evidence; individual choices depend on the person, other conditions and other medicines.
  • Combining sleep medicines with alcohol, opioids or other sedatives is dangerous.
  • Older adults are at higher risk of falls and confusion with many sleep medicines.

Frequently asked questions

Should I take sleeping pills for insomnia?

CBT-I is the recommended first line treatment for chronic insomnia and has longer lasting benefits. A clinician may add medicine in some cases, usually short term, after weighing risks.

Is melatonin good for insomnia?

The 2017 AASM guideline suggested against melatonin for chronic insomnia in adults because of weak evidence. Melatonin has better evidence for some circadian rhythm problems.

Are over the counter sleep aids safe?

Most contain sedating antihistamines, which can cause next day grogginess, confusion, constipation and urinary problems, particularly in older adults. Ask a pharmacist or clinician.

Sources

More reference tables

Have a sleep question we did not cover?

Ask it in your own words and get a clear answer in seconds, free.

Ask a sleep question