All conditions

Condition guide

Insomnia

Insomnia means trouble falling asleep, staying asleep, or waking too early, along with feeling unrested during the day. The most effective long-term treatment isn't a pill — it's cognitive behavioral therapy for insomnia (CBT-I). Sleep medicines can help for short stretches, but many are habit-forming and can leave you groggy the next day.

Medicines covered on KnowYourPills

This isn't a complete list of treatments — your doctor may recommend others, and the right choice depends on you.

Prescription sleep medicines

Often prescribed off-label

Over the counter

Newer sleep medicines like suvorexant (Belsomra) aren't covered here yet.

Besides medicine

  • Going to bed and waking at the same times every day, even on weekends
  • Getting out of bed if you can't fall asleep after about 20 minutes
  • Limiting caffeine after noon and alcohol in the evening
  • Keeping the bedroom cool and dark, and screens out of bed

When to get help

  • Doing things while not fully awake on a sleep medicine — driving, cooking, walking — stop it and call your doctor
  • Loud snoring, gasping, or pauses in breathing during sleep — ask about sleep apnea
  • Insomnia lasting more than a few weeks, or with low mood — see your doctor

Sources

Last updated October 20, 2026. Not yet reviewed by a pharmacist or physician — how our guides are made.

Educational only. This summary is drawn from public FDA labeling, MedlinePlus, and major clinical guidelines, and simplified for readability. Your prescription label and your pharmacist always come first — doses and instructions vary from person to person.