If you may be in danger, call or text 988. Call 911 for emergencies. More crisis resources
For education, not medical advice. Always talk with your own doctor or prescriber about your treatment.

Sleep medications ranked

Every prescription sleep medication compared: Z-drugs, benzodiazepines, DORAs (Belsomra, Dayvigo, Quviviq), doxepin, ramelteon, mirtazapine, trazodone. Which to choose for sleep initiation vs maintenance, safety in older adults, and dependence risk.

Ranked by class

DORAs (Dual Orexin Receptor Antagonists):

  • Suvorexant (Belsomra): first in class, 2014
  • Lemborexant (Dayvigo): 2019
  • Daridorexant (Quviviq): 2022

Mechanism: block orexin (hypocretin) signaling that maintains wakefulness. Non-GABAergic, non-monoaminergic. Advantages: less next-day sedation, low dependence, minimal cognitive impairment. Effective for both sleep initiation and maintenance. Schedule IV. Cost is significant.

Low-dose doxepin (Silenor 3 to 6 mg): FDA-approved specifically for sleep maintenance. At these doses, primarily H1 antagonism (like a targeted antihistamine). Preserves next-day function. Non-controlled. Approved in older adults where higher-dose TCAs are avoided. Good for maintenance insomnia (waking up too early).

Ramelteon (Rozerem): Melatonin receptor agonist. Non-controlled, no dependence risk, no cognitive impairment. Modest effect (roughly 7 minutes improvement in sleep latency). Best for older adults or for sleep initiation problems specifically.

Trazodone (off-label): Serotonin modulator plus H1 antagonism. Widely used off-label at 25 to 100 mg. Sedating without dependence. Priapism warning in men (see our priapism page). Orthostasis and next-day sedation possible. Not FDA-approved for insomnia despite widespread use.

Mirtazapine (off-label at 7.5 to 15 mg): H1 antagonism plus 5-HT2A antagonism plus alpha-2 antagonism. Sedating especially at low doses. Antidepressant at higher doses. Weight gain and appetite stimulation may be desirable in elderly. Off-label for insomnia.

Z-drugs (non-benzodiazepine hypnotics):

  • Zolpidem (Ambien): 5 to 10 mg for sleep initiation
  • Eszopiclone (Lunesta): 1 to 3 mg for initiation and maintenance
  • Zaleplon (Sonata): 5 to 10 mg for initiation (very short half-life)

Bind GABA-A benzodiazepine site but selective for alpha-1 subunit. Effective but parasomnia risk (sleepwalking, sleep-eating, sleep-driving) has led to boxed warnings. Beers Criteria in older adults. Dependence and cognitive effects with chronic use.

Benzodiazepines for sleep:

  • Temazepam (Restoril): 7.5 to 30 mg for sleep maintenance
  • Triazolam (Halcion): 0.125 to 0.25 mg for initiation only
  • Estazolam (ProSom): rarely used

Effective but dependence, tolerance, next-day cognitive effects. Beers Criteria in older adults. Generally not first-line for chronic insomnia.

Melatonin (over-the-counter): Modest effect, useful for jet lag and delayed sleep phase, less for standard insomnia. Non-prescription. See OTC and natural sleep aids.

Choosing by problem type

Sleep initiation problems (trouble falling asleep):

  • Ramelteon (mild)
  • Zaleplon (short-acting Z-drug)
  • Suvorexant or lemborexant (DORAs, also help maintenance)
  • Triazolam (short-acting benzo, dependence risk)

Sleep maintenance problems (waking up too early or during the night):

  • Low-dose doxepin (Silenor 3 to 6 mg) - specifically FDA approved for this
  • DORAs
  • Eszopiclone
  • Temazepam
  • Mirtazapine

Both initiation and maintenance:

  • DORAs
  • Eszopiclone
  • Trazodone
  • Mirtazapine

With comorbid depression:

  • Mirtazapine (treats both)
  • Trazodone at low dose plus SSRI
  • Doxepin

With comorbid anxiety:

  • Mirtazapine
  • Trazodone
  • Low-dose gabapentin sometimes off-label

Older adults:

  • Low-dose doxepin (Silenor) - preferred over Z-drugs and benzos
  • Ramelteon
  • DORAs at lower doses
  • Avoid Z-drugs, benzos, diphenhydramine per Beers

What to avoid or use cautiously

Diphenhydramine (Benadryl, Tylenol PM, ZzzQuil): Beers Criteria. High anticholinergic burden. Avoid regular use, especially in older adults.

Quetiapine at low dose for insomnia: Sometimes prescribed off-label. Metabolic risk, sedation, dependence-like patterns. Not a great fit for the drug.

Chronic benzodiazepine use: Tolerance, dependence, cognitive impairment, fall risk. Time-limited use appropriate; chronic use rarely warranted.

Chronic Z-drug use: Similar concerns to benzos. FDA boxed warnings for parasomnia.

CBT-I first

CBT-I outperforms all medications for chronic insomnia in head-to-head trials. Includes stimulus control, sleep restriction, cognitive restructuring, relaxation training, sleep hygiene. Digital CBT-I programs (Sleepio, Somryst) are available and effective.

Common questions

Which sleep medication is safest for older adults? Low-dose doxepin (Silenor 3 to 6 mg), ramelteon, and DORAs at lower doses. Avoid Z-drugs, benzos, and diphenhydramine.

Is trazodone safe long-term? Widely used long-term with reasonable safety. Not FDA-approved for insomnia. Priapism warning. Orthostatic hypotension and next-day sedation possible.

Are DORAs better than Ambien? Different profile. DORAs cause less next-day sedation and have less dependence potential. Ambien has stronger sleep initiation effect. Cost differs substantially.

Do sleep medications cause dementia? Long-term benzo, Z-drug, and diphenhydramine use has been associated with elevated dementia risk in some studies. DORAs, doxepin at low dose, and ramelteon have less concern.

Can I take melatonin? Yes, low harm. Modest effect for sleep initiation, better for jet lag and delayed sleep phase. Start with 0.5 to 3 mg 30 to 60 minutes before bedtime.

Is Ambien addictive? Physical dependence and tolerance can develop with regular use. Discontinuation can cause rebound insomnia and withdrawal symptoms. FDA boxed warning for parasomnia (sleepwalking, sleep-driving).

Sources

  • Qaseem A, Kansagara D, Forciea MA, Cooke M, Denberg TD. 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.
  • Sateia MJ, Buysse DJ, Krystal AD, Neubauer DN, Heald JL. Clinical practice guideline for the pharmacologic treatment of chronic insomnia in adults. J Clin Sleep Med. 2017;13(2):307-349.
  • American Geriatrics Society 2023 Updated AGS Beers Criteria.
  • FDA prescribing information for individual drugs.

THE KNOWLEDGE PATH

Walk this topic outward.

  1. GUIDE Sleep medications ranked (current)
  2. CLASS SSRIs
  3. MEDICATION Sertraline (Zoloft)
  4. CONDITION Major Depressive Disorder (on Shrinkopedia)
  5. CARE Consider depression evaluation at shrinkMD

The Knowledge Path is a curated walk. Every step is one decision away from the next.

Your next step in The Shrink Network

You are here: PsychiatryRx, the medication education layer of The Shrink Network.

Part of The Shrink Journey: medication understanding is one connected step. From here, follow the reader's next likely need.

Consider medication management at shrinkMD

shrinkMD is the network's independent telepsychiatry practice, founded by our medical editor. It's one option among many. PsychiatryRx runs no ads, sells nothing, and earns no referral fees.

Want to understand more first?

Managing a medication needs a prescriber

Any psychiatric medication has to be started and adjusted by a clinician who can follow you over time. If you don't have a prescriber, our guides section explains the options, including in-person care and telepsychiatry, and how to choose between them.