What Actually Works for Sleep? A Patient’s Guide to Insomnia Medications
It is 2 a.m., you are wide awake, and you are doing the thing everyone does eventually: searching for the best sleeping pill, whether Ambien is safe, or natural sleep aids that actually work. The options are dizzying, from prescription pills to over-the-counter tablets, melatonin gummies, and brand-new medications you have seen advertised, and the advice online is all over the place.
Here is the most important thing to know before any medication: the most effective long-term treatment for chronic insomnia is not a pill at all. It is cognitive behavioral therapy for insomnia (CBT-I). Every major professional guideline recommends CBT-I as the first-line treatment because it works as well as medication in the short term and, unlike medication, keeps working after treatment ends. Medications have a real and useful role, especially for short-term or situational sleeplessness, but they work best alongside good sleep habits, not as a permanent substitute for them.
This guide walks through the main medication families used for insomnia, what each does, and its common side effects, so you can have an informed, personalized conversation with your prescriber. A few themes apply across the board:
- Lowest dose, shortest time. Most sleep medications are meant to be used at the lowest effective dose for the shortest necessary duration, particularly the older sedative-hypnotics.
- Match the drug to the problem. Trouble falling asleep, trouble staying asleep, or both point toward different medications.
- Older adults need extra caution. Many of these drugs appear on the Beers list of medications to avoid in adults 65 and older because of fall, fracture, and memory risks.
Dual Orexin Receptor Antagonists (DORAs): The Newer Approach
This is the newest class and the one many patients are now asking about by brand name. Instead of sedating the whole brain, these drugs block orexin, the brain’s own stay-awake signal, so they quiet wakefulness rather than forcing sedation. All three are FDA-approved for trouble falling asleep, staying asleep, or both, produce less next-day cognitive impairment than older sleeping pills, have low potential for abuse or physical dependence, and are contraindicated in people with narcolepsy.
- Suvorexant (Belsomra): The first DORA approved, with an approximate half-life of 12 hours. Its longer action makes it useful for staying asleep, but that same duration can contribute to next-morning grogginess in some people.
- Lemborexant (Dayvigo): Longest-acting of the three, with a half-life around 18 hours. Effective for both falling and staying asleep; the longer half-life can mean more next-day drowsiness for some.
- Daridorexant (Quviviq): Shortest-acting DORA, with a half-life around 8 hours, designed to cover the night while minimizing next-day residual effects.
Common side effects for the class: daytime drowsiness, fatigue, headache, dizziness, abnormal or vivid dreams, and, less often, sleep paralysis and complex sleep behaviors.
“Z-Drugs” (Non-Benzodiazepine Hypnotics): The Familiar Names
These are probably the sleeping pills you have heard of most. They act on the same GABA-A receptor system as benzodiazepines but bind more selectively, targeting sedation more than anxiety relief. All three carry an FDA boxed warning for complex sleep behaviors, including sleepwalking, sleep-driving, and sleep-eating with no memory of it, plus risks of dependence, next-day impairment, and falls, especially in older adults.
- Zolpidem (Ambien; low-dose sublingual Intermezzo): Short half-life around 2.5 hours; helps with both falling and staying asleep. The very-low-dose sublingual form is designed for middle-of-the-night awakenings when at least 4 hours of bed time remain.
- Eszopiclone (Lunesta): Longer-acting, with a half-life around 6 hours, making it particularly suited to sleep maintenance. A distinctive metallic or bitter taste is a common, harmless side effect.
- Zaleplon (Sonata): Very short-acting, with a half-life around 1 hour; best for trouble falling asleep and can sometimes be dosed for middle-of-the-night waking. Its effect size for insomnia is the smallest of the three.
Common side effects for the class: next-day drowsiness, dizziness, headache; at higher doses, memory gaps, impaired coordination, and, rarely, hallucinations.
Benzodiazepines: Effective but Higher-Risk
Older sedatives that broadly calm the nervous system through the GABA system. Several are FDA-approved for insomnia, including temazepam (Restoril), triazolam (Halcion), estazolam, flurazepam, and quazepam.
- What they are good for: They reliably improve sleep and can be useful short-term, particularly when significant anxiety accompanies the insomnia.
- Why they are used cautiously: They carry meaningful risks of tolerance, physical dependence, and withdrawal, plus daytime sedation, falls and fractures in older adults, memory problems, and dangerous suppression of breathing if combined with alcohol or opioids. Many guidelines now steer away from them for chronic insomnia for these reasons.
Sedating Antidepressants: Common Off-Label Choices
Used at doses far lower than for depression, these are popular because they do not carry the same dependence risk as controlled sleeping pills, though the evidence for most is limited.
- Trazodone: One of the most widely prescribed sleep aids in the U.S., usually 25 to 100 mg at night. Used off-label; evidence is inconsistent, but many patients and clinicians find it helpful. Side effects include morning grogginess, dizziness, orthostatic low blood pressure when standing up, and, rarely, priapism, a prolonged erection requiring emergency care.
- Doxepin (Silenor): A tricyclic that, at very low doses of 3 to 6 mg, is the one sedating antidepressant that is actually FDA-approved for insomnia. It specifically helps with staying asleep and has few side effects at these low doses.
- Mirtazapine (Remeron): A reasonable choice when insomnia coexists with depression or anxiety, but it can cause significant next-day sedation and weight gain.
Class cautions: possible next-day sedation, dry mouth, and effects on heart rhythm; the tricyclics carry anticholinergic effects worth watching in older adults.
Melatonin and Melatonin Receptor Agonists: Gentle, Best for Sleep Onset
These work with the body’s natural sleep-timing system rather than sedating the brain, and are among the best tolerated options.
- Over-the-counter melatonin: Best suited to problems falling asleep and to circadian issues like jet lag or shift work; it does not help much with staying asleep. Generally well tolerated, with mild drowsiness, headache, or dizziness, but because it is sold as a supplement in the U.S., the actual dose in a product can vary from the label.
- Ramelteon (Rozerem): A prescription melatonin-receptor agonist FDA-approved for trouble falling asleep. Not a controlled substance and low potential for abuse; side effects are usually mild, including drowsiness, dizziness, and fatigue.
- Tasimelteon: Used mainly for a specific circadian disorder rather than general insomnia.
The honest limitation: effect sizes for melatonin and ramelteon are small, and they are not effective for sleep maintenance.
Over-the-Counter Antihistamines: Common but Not Ideal Long-Term
The active ingredient in most OTC “PM” and nighttime sleep products. They cause drowsiness by blocking histamine, but evidence for treating insomnia is limited, tolerance to the sedating effect develops quickly, and they carry anticholinergic side effects.
- Diphenhydramine (Benadryl, ZzzQuil): Half-life around 6 hours. Common side effects include next-day grogginess, dry mouth, constipation, and urinary retention.
- Doxylamine (Unisom): Half-life around 10 hours, longer than diphenhydramine, so next-morning grogginess can be more pronounced. Same anticholinergic side-effect profile.
The bottom line: regular use is discouraged, especially in older adults, because of links to falls and dementia risk from cumulative anticholinergic exposure.
Off-Label Options for Specific Situations
Not first-line for insomnia alone, but sometimes chosen when another condition is also present:
- Gabapentin and pregabalin: May help when chronic pain, restless legs, or anxiety coexist with insomnia; evidence specifically for insomnia is sparse. Side effects include drowsiness, dizziness, and swelling.
- Quetiapine (Seroquel): Often used off-label at low doses for sleep, with a half-life around 6 hours, but evidence in insomnia is limited and it carries metabolic risks including weight gain and blood sugar and cholesterol changes. Generally reserved for people who also have a psychiatric condition that warrants it.
- Olanzapine (Zyprexa): Longer-acting, with a half-life around 30 hours, and sedating, but with the same limited insomnia evidence and significant metabolic and weight-gain concerns, so it is not a routine sleep aid.
How Your Provider Chooses (and Why It Is Personalized)
There is no single best sleeping pill. The right choice depends on your specific sleep problem, your other health conditions, your age, and your risk factors. Your prescriber weighs:
- The pattern of your insomnia. Trouble falling asleep may point toward a short-acting agent or ramelteon; trouble staying asleep toward a longer-acting DORA or low-dose doxepin; both toward zolpidem, eszopiclone, or a DORA.
- Dependence risk and duration of use. For ongoing needs, options with little dependence risk, such as DORAs, low-dose doxepin, and ramelteon, are often favored over benzodiazepines and Z-drugs.
- Other conditions and medications. Depression, anxiety, chronic pain, sleep apnea, and interactions with alcohol or opioids all shape the safest choice.
- Your age. Many of these drugs require extra caution, or avoidance, in adults over 65.
Above all, medication works best when paired with CBT-I and healthy sleep habits, and many people can eventually taper off with the right plan.
Lying awake night after night is exhausting, and you do not have to sort through the options alone or settle for whatever you can grab off a pharmacy shelf. Effective, personalized help is available, and often the best plan combines the right short-term support with strategies that retrain your sleep for the long run.
Ready to finally sleep?
Alice Tran, PMHNP-BC, provides psychiatric evaluations, medication management, and supportive therapy, in person in Fairfax and via telehealth across Virginia, in English and Vietnamese. No referral needed.
Schedule a ConsultationSee Also
Sources
- Perlis ML, Posner D, Riemann D, et al. Insomnia. Lancet. 2022;400(10357):1047-1060. View
- 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. Annals of Internal Medicine. 2016;165(2):125-33. View
- Mysliwiec V, Martin JL, Ulmer CS, et al. The Management of Chronic Insomnia Disorder and Obstructive Sleep Apnea: Synopsis of the 2019 VA and DoD Clinical Practice Guidelines. Annals of Internal Medicine. 2020;172(5):325-336. View
- Morin CM, Buysse DJ. Management of Insomnia. The New England Journal of Medicine. 2024;391(3):247-258. View
- Porwal A, Yadav YC, Pathak K, Yadav R. An Update on Assessment, Therapeutic Management, and Patents on Insomnia. BioMed Research International. 2021;2021:6068952. View
- Winkelman JW. Insomnia Disorder. The New England Journal of Medicine. 2015;373(15):1437-44. View
- Atkin T, Comai S, Gobbi G. Drugs for Insomnia Beyond Benzodiazepines: Pharmacology, Clinical Applications, and Discovery. Pharmacological Reviews. 2018;70(2):197-245. View
- Kishi T, Ikuta T, Citrome L, et al. Comparative Efficacy and Safety of Daridorexant, Lemborexant, and Suvorexant for Insomnia: A Systematic Review and Network Meta-Analysis. Translational Psychiatry. 2025;15(1):211. View
Medical Disclaimer
The information in this article is for educational purposes only and does not constitute medical advice. It is not a recommendation for any specific medication. Sleep medications, including over-the-counter products and supplements like melatonin, should be used only with guidance from a licensed clinician, as some carry risks of dependence, complex sleep behaviors, dangerous interactions, and next-day impairment. Only a licensed professional can accurately diagnose and treat insomnia and its underlying causes.
Anh Tran (Alice), PMHNP-BC, FNP-BC
Dual Board-Certified Family and Psychiatric Nurse Practitioner
Alice is a dual board-certified PMHNP and FNP licensed in Virginia, trained under psychiatrist Dr. Errol Segall, MD (50+ years of experience). She treats ADHD, anxiety, depression, and more, in person in Fairfax and via telehealth across Virginia, in English and Vietnamese. Learn more →