Sleep Medications Compared
Sleep medications span multiple drug classes with very different mechanisms, safety profiles, and risks. From tightly controlled prescription sedatives to melatonin supplements available at any pharmacy, the options — and the tradeoffs — vary enormously. This guide covers every major category of sleep aid used in the United States, organized by how each drug works and what distinguishes it from the alternatives.
⚠ DRIVING & NEXT-DAY IMPAIRMENT: The FDA warns that sedative sleep medications — including zolpidem, eszopiclone, and benzodiazepines — can impair driving, reaction time, and judgment the morning after use. Do NOT drive or operate heavy machinery until you know how a medication affects you. Women clear zolpidem more slowly and face higher next-morning impairment risk. The FDA specifically advises against driving the day after taking Ambien CR or Lunesta 3 mg.
⚠ DEPENDENCE & WITHDRAWAL: Z-drugs (zolpidem, eszopiclone, zaleplon) and benzodiazepines (temazepam, triazolam, flurazepam, quazepam) are DEA Schedule IV controlled substances with real potential for physical and psychological dependence. Do not stop these medications abruptly without medical supervision — withdrawal can cause rebound insomnia, anxiety, and in severe cases, seizures. These medications are generally recommended for short-term use only.
Quick Reference: All Major Sleep Medications
| Brand Name | Generic Name | Drug Class | DEA Schedule | Onset | Duration | Dependence Risk | Rx Required |
|---|---|---|---|---|---|---|---|
| Ambien / Ambien CR | Zolpidem | Z-drug (non-BZD hypnotic) | Schedule IV | 15–30 min | 6–8 hr (CR: extended) | Moderate | Yes |
| Lunesta | Eszopiclone | Z-drug (non-BZD hypnotic) | Schedule IV | 15–30 min | 6–8 hr | Moderate | Yes |
| Sonata | Zaleplon | Z-drug (non-BZD hypnotic) | Schedule IV | 15–30 min | 4 hr | Moderate | Yes |
| Restoril | Temazepam | Benzodiazepine | Schedule IV | 30–60 min | 7–8 hr | High | Yes |
| Halcion | Triazolam | Benzodiazepine | Schedule IV | 15–30 min | 6–7 hr | High | Yes |
| Dalmane | Flurazepam | Benzodiazepine | Schedule IV | 15–30 min | Up to 100+ hr* | High | Yes |
| Doral | Quazepam | Benzodiazepine | Schedule IV | 20–45 min | Up to 120+ hr* | High | Yes |
| Belsomra | Suvorexant | Orexin receptor antagonist | Schedule IV | 30 min | 7–8 hr | Low–Moderate | Yes |
| Dayvigo | Lemborexant | Orexin receptor antagonist | Schedule IV | 30 min | 7–8 hr | Low–Moderate | Yes |
| Rozerem | Ramelteon | Melatonin receptor agonist | Not scheduled | 30 min | 5–6 hr | Very low | Yes |
| Desyrel / generic | Trazodone | Sedating antidepressant (SARI) | Not scheduled | 30–60 min | 6–8 hr | Low | Yes (off-label for sleep) |
| Silenor | Doxepin (low dose) | Sedating antidepressant (TCA) | Not scheduled | 30 min | 7–8 hr | Low | Yes |
| Remeron | Mirtazapine | Sedating antidepressant (NaSSA) | Not scheduled | 30 min | 8–12 hr | Low | Yes (off-label for sleep) |
| Benadryl / ZzzQuil | Diphenhydramine | Antihistamine (OTC) | Not scheduled | 30–60 min | 4–8 hr | Very low | No |
| Unisom SleepMelts | Doxylamine | Antihistamine (OTC) | Not scheduled | 30 min | 6–8 hr | Very low | No |
* Flurazepam and quazepam have extremely long-acting active metabolites — the sedative effect extends well beyond the night of use and accumulates with repeated dosing.
Z-Drugs (Non-Benzodiazepine Hypnotics)
Z-drugs are the most commonly prescribed prescription sleep medications in the United States. Despite not being chemically related to benzodiazepines, they work at the same receptor — the GABA-A receptor — but bind more selectively to the alpha-1 subunit, which is associated with sedation. This selectivity was intended to produce fewer side effects than traditional benzodiazepines, though in clinical practice the differences are more modest than originally hoped. All three are DEA Schedule IV controlled substances.
Zolpidem is the most prescribed sleep medication in the United States. It is available in three formulations: immediate-release tablets (Ambien), extended-release tablets (Ambien CR), and an oral spray (Zolpimist). Immediate-release zolpidem is designed for sleep onset — falling asleep — while the CR formulation has a two-layer design intended to help with both falling and staying asleep. Zolpimist delivers the same immediate-release dose as a sublingual-style spray for patients who have difficulty swallowing tablets.
In 2013 the FDA mandated lower recommended doses for women, who metabolize zolpidem more slowly than men. The FDA specifically warned that next-morning blood levels of zolpidem after taking Ambien CR can remain high enough to impair driving in many people, particularly women. Despite being positioned as safer than benzodiazepines, zolpidem carries significant risks including dependence, complex sleep behaviors (sleepwalking, sleep-driving), and memory impairment.
Lunesta (eszopiclone) is unique among Z-drugs in that it is FDA-approved without a specified limitation on duration of use — the FDA removed the "short-term use" restriction, making it the only hypnotic with an open-ended label for chronic insomnia. It is the active isomer of zopiclone, a related compound widely used outside the United States. Eszopiclone was among the first sleep drugs studied in long-term clinical trials, with data supporting efficacy over six months.
A notable and distinctive side effect of eszopiclone is a bitter or metallic taste that many patients experience and that can persist into the next day. The FDA also requires the label to warn against driving the day after taking the 3 mg strength due to residual morning impairment, particularly in women.
Zaleplon has the shortest half-life of any Z-drug — approximately one hour — which gives it a distinct profile. It is useful specifically for difficulty falling asleep (sleep-onset insomnia) rather than staying asleep. Because it is cleared so quickly, it can be taken in the middle of the night if a patient wakes and has at least four hours remaining before they need to be awake, without significant next-morning hangover. It is not appropriate for patients whose main complaint is waking up too early or staying asleep through the night.
The ultra-short action also means zaleplon's window for misuse is narrower compared to longer-acting drugs, though it remains Schedule IV. It is also approved to treat short-term insomnia and is available generically.
Prescription Benzodiazepines for Sleep
Benzodiazepines were the dominant prescription sleep medications before Z-drugs arrived in the 1990s and 2000s. They act broadly across GABA-A receptor subtypes, producing sedation, muscle relaxation, anxiolysis, and anticonvulsant effects simultaneously. For sleep, the sedation is the desired effect — but the broader receptor activity means more side effects and a higher dependence potential than Z-drugs in most clinical assessments. Several have extremely long-acting metabolites that accumulate with repeated dosing and produce prolonged next-day sedation, making them particularly risky in older adults. All are DEA Schedule IV.
Temazepam is the most commonly prescribed benzodiazepine for sleep in the United States. Unlike some other benzodiazepines used for insomnia, temazepam does not have long-acting active metabolites — it is metabolized directly to glucuronide conjugates, giving it a relatively intermediate half-life without significant accumulation over multiple nights. This makes it somewhat more favorable than flurazepam or quazepam for short-term sleep treatment, though next-morning sedation is still possible.
It is FDA-approved specifically for insomnia and remains on the market in generic form. Like all benzodiazepines, it is associated with physical dependence with regular use, rebound insomnia on discontinuation, and should be used for short periods only.
Triazolam is a short-acting benzodiazepine with a rapid onset and brief duration, making it suited for sleep-onset insomnia. Its short half-life (1.5–5.5 hours) means it is generally cleared before morning, reducing daytime sedation compared to longer-acting benzodiazepines. However, triazolam has a controversial history — it has been associated with rebound insomnia and anterograde amnesia (inability to form new memories) at higher doses, leading to restrictions or bans in several countries outside the United States. It remains available in the US at lower doses.
It carries the same dependence and withdrawal risks as other benzodiazepines, and abrupt discontinuation after extended use can cause significant rebound anxiety and insomnia.
Flurazepam is a long-acting benzodiazepine that produces several active metabolites, the most important being desalkylflurazepam, which has a half-life of 40–100 hours or more. This means sedative effects accumulate significantly with repeated nightly use — by the end of a week, daytime sedation can be substantial and progressive. The drug effectively has pharmacological activity continuing for two to four days or longer after the last dose.
Because of this accumulation and prolonged sedation, flurazepam is on the Beers Criteria — a list of medications considered potentially inappropriate for older adults — and is rarely a first-choice option today. It was once commonly used but has been largely replaced by shorter-acting alternatives with better daytime safety profiles. It remains available generically.
Quazepam is another long-acting benzodiazepine with active metabolites that persist for one to four days. It is selective for the BZ1 (omega-1) subtype of the GABA-A receptor — similar to Z-drugs — which was proposed to reduce muscle relaxant and amnestic effects compared to non-selective benzodiazepines. Despite this theoretical advantage, its extremely long-acting metabolites still pose significant accumulation and next-day impairment risks, particularly with repeated use.
Like flurazepam, quazepam is on the Beers Criteria and is not commonly used as a first-line hypnotic today. It remains available in a brand-name formulation. It is most prescribed when a prescriber specifically needs a long-acting effect for a particular patient's sleep pattern.
Orexin Receptor Antagonists (Dual ORA)
Orexin receptor antagonists represent a fundamentally different approach to treating insomnia. Instead of sedating the brain (as benzodiazepines and Z-drugs do), they block orexin — a neurotransmitter system that actively promotes wakefulness. The brain's wakefulness drive is quieted rather than the sleep drive being artificially amplified. This mechanism is thought to produce more natural-feeling sleep with a lower risk of dependence, though both are still DEA Schedule IV controlled substances.
Belsomra (suvorexant) was the first orexin receptor antagonist approved by the FDA, in 2014. It blocks both orexin-1 and orexin-2 receptors, preventing orexin from binding and promoting wakefulness. In clinical trials, suvorexant reduced the time to fall asleep and the time spent awake during the night compared to placebo, with improvements maintained over three months of study.
Because it works by quieting wakefulness signaling rather than broadly sedating the brain, suvorexant tends to produce a different subjective experience than Z-drugs — patients often describe sleep that feels more natural. Next-morning somnolence has been reported, and the FDA label warns about driving impairment the next day. Suvorexant also has an interaction risk with CYP3A4 inhibitors (such as some antifungals and HIV medications), which can significantly increase blood levels.
Dayvigo (lemborexant) is the second dual orexin receptor antagonist approved in the US, in 2019. Like suvorexant, it blocks both OX1R and OX2R receptors, but it has a shorter half-life (17–19 hours for lemborexant vs. ~12 hours for suvorexant — similar in practice). Clinical trials with lemborexant included a head-to-head comparison against zolpidem CR, in which lemborexant showed a statistically significant improvement in subjective sleep quality and residual next-morning effects.
Lemborexant may carry a slightly lower next-morning impairment risk at its lowest strength compared to the highest strength of suvorexant, based on driving simulation studies included in the FDA review. It is also available as 5 mg and 10 mg tablets, with the 5 mg being the starting recommendation for most patients.
Melatonin Receptor Agonist
Ramelteon is the only prescription sleep medication that works by mimicking melatonin — the body's natural sleep-onset hormone. It has no dependence potential, is not a controlled substance, and does not produce the sedation or impairment associated with GABA-targeting drugs. Its mechanism is narrow: it helps initiate sleep by signaling to the brain that it is nighttime, rather than directly sedating the nervous system.
Rozerem (ramelteon) is FDA-approved for insomnia characterized by difficulty with sleep onset. It is a selective agonist at melatonin MT1 and MT2 receptors — the same receptors activated by endogenous melatonin — which helps regulate the circadian sleep-wake cycle. By binding these receptors with much higher affinity than melatonin itself, ramelteon produces a stronger, more consistent sleep-onset effect than OTC melatonin supplements.
Ramelteon is the only prescription sleep aid with no DEA scheduling — the FDA determined it has no abuse potential. It does not cause the next-morning impairment, complex sleep behaviors, or dependence associated with GABA-acting sleep medications. It is particularly useful for patients who are at elevated risk for dependence, have a substance use history, or need a long-term solution without controlled substance concerns. It is not effective for sleep-maintenance insomnia (waking in the middle of the night).
Sedating Antidepressants (Off-Label for Sleep)
Several antidepressants have strong sedating properties due to their antihistamine, anti-serotonin, or noradrenergic effects, and are widely prescribed off-label at low doses for insomnia. They are not controlled substances, carry minimal dependence risk compared to benzodiazepines and Z-drugs, and may be preferable for patients with comorbid depression or anxiety. Low-dose doxepin (Silenor) is the only antidepressant with an FDA approval specifically for sleep.
Trazodone is an antidepressant classified as a serotonin antagonist and reuptake inhibitor (SARI). At the low doses typically used for sleep — well below antidepressant doses — trazodone's sedating effects (mediated primarily through H1 antihistamine and alpha-1 adrenergic blockade) predominate over its antidepressant mechanism. It is one of the most frequently prescribed medications for insomnia in the United States, even though this use is off-label.
Trazodone's appeal for sleep includes the absence of dependence, no scheduling, low abuse potential, and low cost as a generic. However, it can cause next-morning grogginess, orthostatic hypotension (dizziness on standing), and — rarely — priapism (prolonged painful erection), which is a medical emergency. It should not be combined with other serotonergic drugs without medical supervision.
Silenor is a very low-dose formulation of doxepin — a tricyclic antidepressant — that is FDA-approved specifically for insomnia characterized by difficulty staying asleep (sleep-maintenance insomnia). At the 3 mg and 6 mg doses used in Silenor, the antidepressant and anticholinergic effects of doxepin are minimal; the predominant action is potent H1 antihistamine blockade, which produces sustained sleep-maintenance effects throughout the night. Generic doxepin at much higher antidepressant doses (25–150 mg) is also prescribed off-label for sleep, though it carries more anticholinergic side effects at those doses.
Low-dose doxepin (Silenor) is one of the few options FDA-approved for sleep maintenance without being a controlled substance, making it useful for patients who need long-term help staying asleep and for whom controlled substances are not appropriate.
Mirtazapine (Remeron) is a noradrenergic and specific serotonergic antidepressant (NaSSA) with powerful H1 antihistamine activity, particularly at lower doses. At antidepressant doses (15–45 mg), mirtazapine consistently produces strong sedation — and paradoxically, the 15 mg dose tends to be more sedating than 30 mg or 45 mg, because at higher doses the noradrenergic stimulation partially counteracts the antihistamine sedation. This dose-dependent paradox makes it unusual among sedating medications.
Mirtazapine is often prescribed off-label for insomnia, particularly in patients who also have depression, anxiety, or poor appetite (it stimulates appetite and can cause significant weight gain). It is not a controlled substance, carries low dependence risk, and is available generically at low cost. Because of its long half-life, next-morning sedation — particularly at lower doses — can be significant.
OTC Antihistamines for Sleep
Antihistamines are the active ingredient in nearly all over-the-counter sleep aids sold in the United States. They block H1 histamine receptors in the brain, which play a key role in maintaining wakefulness — blocking them induces drowsiness. While effective acutely, antihistamines lose effectiveness rapidly due to tolerance, often within just three to four nights of regular use. They also produce anticholinergic effects (dry mouth, urinary retention, constipation, blurred vision) and next-morning grogginess.
Diphenhydramine is the active ingredient in the majority of OTC nighttime sleep products sold in the US, including Benadryl (in nighttime formulations), ZzzQuil, and Unisom SleepTabs (the tablet form — not to be confused with Unisom SleepMelts, which contain doxylamine). It is a first-generation antihistamine with strong H1 blocking and significant anticholinergic activity. The sedation is a side effect of the antihistamine action, which is why the same drug is used both as an allergy medication and as a sleep aid.
Tolerance develops rapidly — within three to seven days of consecutive use — meaning it becomes markedly less effective as a sleep aid with regular use. It is generally recommended only for occasional use. In older adults, diphenhydramine is on the Beers Criteria due to heightened risks of cognitive impairment, urinary retention, falls, and delirium. It has no dependence potential in the traditional pharmacological sense, but some people develop habitual use due to its ready availability.
Doxylamine is a first-generation antihistamine similar to diphenhydramine but with a longer half-life (approximately 10 hours), which tends to produce more pronounced next-morning sedation. It is the active ingredient in Unisom SleepMelts and some Unisom tablet formulations. Doxylamine is also a component of Diclegis/Bonjesta, FDA-approved for nausea and vomiting of pregnancy, which attests to its safety during pregnancy — though this does not mean it is appropriate to use as a sleep aid during pregnancy without medical guidance.
Like diphenhydramine, doxylamine has anticholinergic activity, develops rapid tolerance, and is on the Beers Criteria for older adults. Its longer half-life compared to diphenhydramine means residual morning sedation tends to be greater.
Supplements (Not FDA-Regulated Drugs)
The following are widely used dietary supplements, not FDA-approved medications. They are not evaluated for efficacy or safety by the FDA in the same way as drugs, and quality and potency vary between products. Evidence for their effectiveness as sleep aids ranges from modest (melatonin) to very limited (valerian root). They are mentioned briefly here for completeness.
Melatonin is a hormone produced by the pineal gland that regulates the sleep-wake cycle. As a supplement, it has the strongest evidence among OTC sleep supplements, particularly for circadian rhythm disorders — jet lag, shift work sleep disorder, and delayed sleep phase syndrome. Evidence for general insomnia is more modest. Melatonin is widely used at doses 5–10x higher than the body naturally produces; some research suggests lower doses (0.5–1 mg) may be more physiologically appropriate for sleep timing rather than sedation.
Valerian root is an herbal supplement long promoted for sleep and anxiety. Clinical trial results have been inconsistent — some studies show modest benefit for sleep latency and quality, others show no difference from placebo. Valerian may interact weakly with GABA receptors and sedative medications. It is generally considered safe for short-term use, but quality control varies significantly between supplement manufacturers.
Magnesium glycinate is a form of magnesium bound to glycine — an amino acid with mild inhibitory neurotransmitter properties. Some evidence suggests magnesium supplementation may improve sleep quality, particularly in older adults or those with magnesium deficiency. The glycinate form is better tolerated gastrointestinally than magnesium oxide. Evidence is limited to small studies; it is generally safe at normal supplemental doses but should be used with caution in kidney disease.
How Each Class of Sleep Medication Works
Z-Drugs & Benzodiazepines — GABA-A Enhancement
GABA (gamma-aminobutyric acid) is the brain's main inhibitory neurotransmitter. When GABA binds to GABA-A receptors, it opens chloride ion channels that hyperpolarize neurons, reducing electrical activity throughout the brain. Z-drugs and benzodiazepines both bind to a specific site on the GABA-A receptor complex (the benzodiazepine binding site) and enhance GABA's inhibitory effect — the receptor becomes more responsive to GABA that is already present. This produces broad CNS depression including sedation, anxiolysis, muscle relaxation, and anticonvulsant activity. Z-drugs are more alpha-1 selective, which is associated more specifically with sedation.
Orexin Receptor Antagonists — Wakefulness Suppression
Orexin (also called hypocretin) is a neuropeptide produced in the hypothalamus that actively maintains wakefulness by stimulating arousal centers throughout the brain. People with narcolepsy lack orexin-producing neurons and cannot sustain wakefulness. Orexin receptor antagonists work in the opposite direction — by blocking orexin from binding its receptors, they remove the brain's wakefulness drive, allowing sleep to occur more naturally. This mechanism does not sedate the brain globally; it specifically disengages the wake signal. In theory, this produces a different quality of sleep and a lower risk of impaired respiration or abuse compared to GABA-acting drugs.
Ramelteon — Circadian Signaling
The MT1 and MT2 melatonin receptors in the suprachiasmatic nucleus (the brain's master clock) signal that it is nighttime and initiate the biological transition to sleep. Ramelteon binds these receptors with very high affinity — much higher than endogenous melatonin — and reinforces the circadian signal for sleep onset. Because it works with the body's normal timing system rather than broadly suppressing brain activity, it produces no rebound insomnia, dependence, or abuse potential. It does not help with sleep maintenance once sleep has begun.
Sedating Antidepressants — Histamine & Serotonin Blockade
Histamine (H1) receptors in the brain promote wakefulness — this is why antihistamines cause drowsiness. Trazodone, doxepin, and mirtazapine all have potent H1 receptor blocking activity that reduces wakefulness signaling. Trazodone additionally blocks the 5-HT2A serotonin receptor, which may contribute to improved sleep architecture (more time in restorative sleep stages). At the low doses used for sleep, these drugs act primarily through antihistamine blockade rather than through their antidepressant mechanisms.
OTC Antihistamines — H1 Blockade
Diphenhydramine and doxylamine cross the blood-brain barrier and block H1 histamine receptors, quieting the brain's histaminergic arousal system. The effect is nonspecific sedation rather than sleep promotion per se. Rapid tolerance develops as H1 receptors compensate for chronic blockade, explaining why these drugs lose effectiveness after just a few nights of use.
Which Sleep Aid for Which Situation?
This is a general educational guide, not a prescription recommendation. The appropriate choice of sleep medication depends on your specific type of insomnia, other medical conditions, medications you take, and your individual risk factors. Always work with a licensed healthcare provider to determine the right option for you.
- Trouble falling asleep (sleep-onset insomnia): Short-acting options like zaleplon (Sonata), zolpidem IR (Ambien), or ramelteon (Rozerem) are often preferred. Ramelteon avoids the controlled substance and dependence concerns.
- Trouble staying asleep (sleep-maintenance insomnia): Extended-release zolpidem (Ambien CR), eszopiclone (Lunesta), orexin antagonists (Belsomra, Dayvigo), or low-dose doxepin (Silenor) are designed for this pattern.
- Patients who cannot use controlled substances: Ramelteon, trazodone, low-dose doxepin (Silenor), and mirtazapine are not scheduled and have no significant abuse or dependence potential.
- Patients with a history of substance use disorder: Ramelteon is generally considered the safest prescription option. Trazodone and low-dose doxepin are also commonly chosen. Avoid benzodiazepines and Z-drugs.
- Older adults (≥65): Avoid long-acting benzodiazepines (flurazepam, quazepam) and OTC antihistamines (Beers Criteria). Ramelteon, low-dose doxepin, or orexin antagonists at the lowest strength are more commonly recommended by geriatric specialists.
- Comorbid depression and insomnia: Trazodone or mirtazapine may treat both conditions. A psychiatrist or prescriber should guide this decision.
- Jet lag or shift work: Melatonin or ramelteon address the circadian component more directly than sedating medications.
- Occasional, short-term use only: OTC antihistamines or melatonin can be appropriate for one to three nights. Not for chronic use.
Frequently Asked Questions
What is the difference between Z-drugs and benzodiazepines for sleep?
Z-drugs (zolpidem, eszopiclone, zaleplon) and benzodiazepines both work at GABA-A receptors, but Z-drugs are more selective for the alpha-1 subunit associated with sedation, while benzodiazepines act on multiple subunits, producing broader effects including muscle relaxation and anti-anxiety activity. Both carry dependence risk and are DEA Schedule IV. Z-drugs were developed with the goal of causing fewer hangover effects and less dependence than classic benzodiazepines — in practice these differences exist but are more modest than originally hoped. Benzodiazepines with long-acting active metabolites (flurazepam, quazepam) carry particularly high risks of next-day sedation and accumulation with repeated use.
Which sleep medication is least likely to cause dependence?
Ramelteon (Rozerem) is the only prescription sleep medication with no DEA schedule — it has no known dependence potential and is not a controlled substance. Orexin receptor antagonists (suvorexant/Belsomra, lemborexant/Dayvigo) are Schedule IV but are considered to carry lower dependence risk in practice than Z-drugs or benzodiazepines. Trazodone and low-dose doxepin (Silenor) are not controlled substances and carry minimal physical dependence risk. OTC antihistamines and melatonin supplements have no pharmacological dependence risk, though OTC antihistamines rapidly lose effectiveness due to tolerance.
Can sleep medications impair driving the next morning?
Yes — and the FDA has issued specific, explicit warnings about this. The FDA mandated new labeling for zolpidem warning that Ambien CR and Zolpimist can impair driving the day after use, and required lower recommended doses for women, who metabolize zolpidem more slowly. The FDA similarly warns that eszopiclone 3 mg (Lunesta) can impair next-morning driving. Benzodiazepines, orexin antagonists, and sedating antidepressants can also impair driving. Any patient starting a new sleep medication should not drive or operate heavy machinery until they know how the drug affects them the following morning. If you must drive the next day, discuss this with your prescriber before starting any sedative sleep medication.