← Back to the library
Insomnia7 min read

When Sleep Won’t Come: A Guide to Insomnia Medications

A clear guide to common sleep medicines, how they differ, what to ask about benefits and risks, and why CBT-I is an important option for lasting insomnia relief.

Insomnia medications
In this article

When sleep stays out of reach, the next day can feel harder too. Insomnia medicines may help some people, but they are not one-size-fits-all: the right conversation depends on whether you have trouble falling asleep, staying asleep, another health condition, or medicines that may be affecting your rest. There are also effective nonmedication options. This guide can help you discuss a plan that fits your situation.

Start by understanding the sleep problem

Insomnia can mean difficulty falling asleep, waking often, or waking earlier than intended—and those patterns may call for different approaches. Stress, anxiety, depression, pain, medication effects, sleep apnea, restless legs, schedule changes, and other factors can all play a role. A clinician can help check for underlying causes rather than treating the symptom in isolation.¹

A short sleep diary can make that conversation more useful. For a couple of weeks, note your bedtime, estimated time to fall asleep, awakenings, wake time, naps, caffeine or alcohol, and how rested you feel. It can reveal patterns without requiring you to track every detail perfectly.⁶

CBT-I: a treatment that works beyond bedtime habits

For chronic insomnia in adults, cognitive behavioral therapy for insomnia (CBT-I) is a strongly recommended treatment and is often offered before medication. It combines practical strategies—such as stimulus control and sleep scheduling—with ways to reduce the worry and frustration that can build around sleep. It is structured and tailored, commonly delivered over several sessions, and can be provided in person, in groups, or through some digital programs.²,³

CBT-I is more than general sleep-hygiene tips. Sleep habits can support treatment, but when insomnia is persistent, a structured plan can address the patterns that keep it going. If access is difficult, ask about brief behavioral treatment, telehealth, group programs, or validated digital options.²

How common sleep medications differ

There are several prescription options, and they are not interchangeable. Some medicines are aimed more at falling asleep, others at staying asleep. Examples include Z-drugs such as zolpidem, zaleplon, and eszopiclone; benzodiazepines such as temazepam; orexin-receptor antagonists such as suvorexant, lemborexant, and daridorexant; the melatonin-receptor medicine ramelteon; and low-dose doxepin for sleep-maintenance insomnia. Which, if any, makes sense depends on the person and the pattern of symptoms.³,⁴,⁷⁻⁹

Some antidepressants—such as trazodone or mirtazapine—are sometimes prescribed off-label when a clinician sees a reason to consider them, for example alongside treatment for another condition. They are not interchangeable with medicines approved specifically for insomnia, and evidence and side effects differ by drug. A prescriber can explain the goal and alternatives rather than assuming that a sedating effect alone makes a medicine the best choice.³

Benefits, side effects, and safety conversations

A sleep medicine may offer relief while symptoms are especially disruptive or as one part of a broader plan. Before starting, it can help to agree on what improvement would look like, how soon to check in, how long a trial makes sense, and what the plan is if it does not help enough. Guidelines support shared decision-making about medication alongside behavioral treatment.³

Many sleep medicines can cause next-day drowsiness, dizziness, slowed reaction time, or impaired coordination. Alcohol and other sedating medicines can increase risk. Zolpidem, zaleplon, and eszopiclone carry an FDA boxed warning for rare but serious complex sleep behaviors—such as sleep-driving—while not fully awake. Anyone experiencing one should stop that medicine and contact the prescriber promptly.⁴

Benzodiazepines carry FDA boxed warnings about misuse, addiction, physical dependence, and withdrawal. If you have been taking one regularly, do not stop suddenly or change the dose without your prescriber; a gradual, individualized plan may be needed. Age, falls, breathing conditions, pregnancy, substance-use history, and other medicines can also affect which choices are safest.⁵,⁷

Build a plan with your care team

Bring your sleep diary and a complete list of prescription medicines, over-the-counter products, supplements, alcohol, and other substances you use. Ask whether any could be affecting sleep, and whether symptoms suggest another sleep or health condition that should be assessed.⁶

You can also ask about CBT-I access, whether medication is intended for short-term or ongoing use, what side effects should prompt a call, whether it is safe to drive the next morning, and how to adjust or stop treatment safely. A plan can change as sleep improves; a medicine is not your only route forward.

A note on personal experience

The original article’s author shared having tried several insomnia medicines while living with anxiety and depression. That experience can help readers feel less alone, but one person’s response cannot predict yours. If you have tried a sleep medicine, sharing what helped, what did not, and what felt difficult can give your clinician useful context.

Words worth knowing

Cognitive behavioral therapy (CBT)

A structured therapy that helps people notice patterns between thoughts, feelings, and actions, then practice more helpful responses.

Insomnia

A sleep disorder involving persistent difficulty falling asleep, staying asleep, or getting restorative sleep.

References

  1. [1] MedlinePlus. Insomnia: overview and treatment options.
  2. [2] American Academy of Sleep Medicine. Behavioral and psychological treatments for chronic insomnia disorder in adults: clinical practice guideline.
  3. [3] American College of Physicians. CBT-I as initial treatment for chronic insomnia; shared decision-making about medication.
  4. [4] U.S. Food and Drug Administration. Boxed warning for complex sleep behaviors with zolpidem, zaleplon, and eszopiclone.
  5. [5] U.S. Food and Drug Administration. Updated boxed warning for benzodiazepines: misuse, dependence, and withdrawal.
  6. [6] National Institute on Aging. Sleep and older adults: sleep diary and care discussions.
  7. [7] American Academy of Sleep Medicine. Pharmacologic treatment of chronic insomnia in adults: clinical practice guideline.
  8. [8] DailyMed. DAYVIGO (lemborexant): U.S. prescribing information.
  9. [9] DailyMed. QUVIVIQ (daridorexant): U.S. prescribing information.

Unlocking the secrets of insomnia medications

Watch on YouTube

Educational content—not medical advice.Find support resources →