Find Information About:

Drugs & Supplements

Get information and reviews on prescription drugs, over-the-counter medications, vitamins, and supplements. Search by name or medical condition.

Pill Identifier

Pill Identifier

Having trouble identifying your pills?

Enter the shape, color, or imprint of your prescription or OTC drug. Our pill identification tool will display pictures that you can compare to your pill.

Get Started

My Medicine

Save your medicine, check interactions, sign up for FDA alerts, create family profiles and more.

Get Started

WebMD Health Experts and Community

Talk to health experts and other people like you in WebMD's Communities. It's a safe forum where you can create or participate in support groups and discussions about health topics that interest you.

  • Second Opinion

    Second Opinion

    Read expert perspectives on popular health topics.

  • Community


    Connect with people like you, and get expert guidance on living a healthy life.

Got a health question? Get answers provided by leading organizations, doctors, and experts.

Get Answers

Sign up to receive WebMD's award-winning content delivered to your inbox.

Sign Up

Font Size

Drugs to Treat Insomnia

In some cases, doctors will prescribe drugs for the treatment of insomnia. All insomnia medications should be taken shortly before bed. Do not attempt to drive or perform other activities that require concentration after taking an insomnia drug because it will make you sleepy. Medications should be used in combination with good sleep practices.

Listed below are some drugs that can be used to treat insomnia.

  • zolpidem ( Ambien , Intermezzo): These medicines work well at helping you get to sleep, but some people tended to wake up in the middle of the night. Zolpidem is now available in an extended release version, Ambien CR. This may help you go to sleep and stay asleep longer. You should not take zolpidem unless you are able to get a full night's sleep -- at least 7 to 8 hours. The FDA has approved a prescription oral spray called Zolpimist, which contains zolpidem, for the short-term treatment of insomnia brought on by difficulty falling asleep.
  • eszopiclone ( Lunesta ): Lunesta also helps you fall asleep quickly, and studies show people sleep an average of seven to eight hours. Don't take Lunesta unless you are able to get a full night's sleep as it could cause grogginess. Because of the risk of impairment the next day, the FDA recommends the starting dose of Lunesta be no more than 1 mg.
  • ramelteon ( Rozerem ): This is a sleep medication that works differently than the others. It works by targeting the sleep-wake cycle, not by depressing the central nervous system. It is prescribed for people who have difficulty falling asleep. Rozerem can be prescribed for long-term use, and the drug has shown no evidence of abuse or dependence.
  • zaleplon ( Sonata ): Of all the new sleeping pills, Sonata stays active in the body for the shortest amount of time. That means you can try to fall asleep on your own. Then, if you're still staring at the clock at 2 a.m., you can take it without feeling drowsy in the morning. However, if you tend to wake during the night, this might not be the best choice for you.
  • doxepine ( Silenor ): This sleep drug is approved for use in people who have trouble staying asleep. Silenor may help with sleep maintenance by blocking histamine receptors. Do not take this drug unless you are able to get a full seven or eight hours of sleep. Dosage is based on your health, age, and response to therapy.
  • Benzodiazepines: These older sleeping pills -- triazolam (Halcion), temazepam (Restoril), alprazolam (Xanax), and others -- may be useful when you want an insomnia medication that stays in the system longer. For instance, they have been effectively used to treat sleep problems such as sleepwalking and night terrors. However, these drugs may cause you to feel sleepy during the day and can also cause dependence, meaning you may always need to be on the drug to be able to sleep.
  • Antidepressants : Some antidepressant drugs, such as (trazodone (Desyrel) and (mirtazapine (Remeron), are particularly effective in treating sleeplessness and anxiety.
  • Over-the-Counter Sleep Aids: Most of these sleeping pills are antihistamines. They generally work well but can cause some drowsiness the next day. They're safe enough to be sold without a prescription. However, if you're taking other drugs that also contain antihistamines -- like cold or allergy medications -- you could inadvertently take too much.

Today on WebMD

fatigued senior woman
We’ve got 10 tips to show you how
Man snoring in bed
Know your myths from your facts.
Young woman sleeping
What do your dreams say about you?
woman eith hangover
It’s common, and really misunderstood.
Young woman sleeping
Cannot sleep
child sitting in bed
Woman with insomnia
nurse sleeping
Foods That Help Or Harm Your Sleep
Insomnia 20 Tips For Better Sleep
Pain at Night