Prescription sleeping pills: What's right for you?

Sleeping pills may help when stress, travel or other disruptions keep you awake. For long-term insomnia, behavior changes learned in behavioral therapy is usually the best treatment.

By Mayo Clinic Staff

If you're regularly having trouble either falling or staying asleep (insomnia), make an appointment with your doctor. Treatment depends on what's causing your insomnia. Sometimes, an underlying cause, such as a medical condition or sleep disorder, can be found and treated — a much more effective approach than just treating the symptom of insomnia itself.

Behavior changes learned through cognitive behavioral therapy are generally the best treatment for persistent insomnia. Sleeping on a regular schedule, exercising regularly, avoiding caffeine and daytime naps, and keeping stress in check also are likely to help. But there are times when the addition of prescription sleeping pills may help you get some much needed rest.

All prescription sleeping pills have risks, especially for people with certain medical conditions, including liver or kidney disease. Always talk with your doctor before trying a new treatment for insomnia.

Here's information on some of the most common types of prescription sleeping pills used today.

Types of prescription sleeping pills

Prescription sleeping pills may help you fall asleep easier or stay asleep longer — or both. The risks and benefits of various prescription sleeping pills can differ. To find the right prescription medication to help you sleep, your doctor generally should:

  • Ask questions to get a clear picture of your sleep patterns
  • Order tests to rule out any underlying conditions that may be causing difficulty sleeping
  • Discuss options for taking prescription sleeping medication, including how often and when to take it and in what form, such as pills, oral spray or dissolving tablets
  • Prescribe a sleeping pill for a limited period of time to determine the benefits and side effects for you
  • Have you try a different prescription sleeping pill if the first medication you take doesn't work after the full prescribed course
  • Help you determine whether there is a generic version, which is typically less expensive than brand-name drugs

Insurance companies may have restrictions on which sleeping pills are covered, and they may require that you try other approaches to your insomnia first.

Prescription sleep medication options include the following.

Sleep medication Helps you fall asleep Helps you stay asleep Can lead to dependence
Doxepin (Silenor)
Estazolam
Eszopiclone (Lunesta)
Ramelteon (Rozerem)
Temazepam (Restoril)
Triazolam (Halcion)
Zaleplon (Sonata)
Zolpidem (Ambien, Edluar, Intermezzo, Zolpimist)
Zolpidem extended release (Ambien CR)
Suvorexant (Belsomra)

Side effects of prescription sleeping pills

Always ask your doctor about potential side effects before deciding which sleeping pills to consider taking. Depending on the type, prescription sleeping pills may include side effects such as:

  • Dizziness or lightheadedness, which may lead to falls
  • Headache
  • Gastrointestinal problems, such as diarrhea and nausea
  • Prolonged drowsiness, more so with drugs that help you stay asleep
  • Severe allergic reaction
  • Sleep-related behaviors, such as driving or eating when not fully awake
  • Daytime memory and performance problems

Antidepressants with a sedating effect

Sometimes prescription drugs used mainly to treat depression may ease insomnia when taken in lower doses. Although widely used, these are not approved by the Food and Drug Administration for insomnia. When insomnia is secondary to depression or anxiety, antidepressants may improve both conditions at the same time.

Examples include:

  • Amitriptyline
  • Mirtazapine (Remeron)
  • Trazodone

Side effects of antidepressants with a sedating effect

Antidepressants that have a sedating effect may include side effects such as:

  • Dizziness and lightheadedness
  • Headache
  • Prolonged drowsiness
  • Dry mouth
  • Nausea
  • Irregular heartbeat
  • Weight gain
  • Daytime memory and performance problems
  • Constipation

Safety considerations

Prescription sleeping pills (and even some nonprescription sleeping pills) as well as certain antidepressants may not be safe if you are pregnant, breast-feeding or an older adult. Sleeping pill use may increase the risk of nighttime falls and injury in older adults. If you're an older adult, your doctor may prescribe a lower dose of medication to reduce your risk of problems.

Some health conditions — for example, kidney disease, low blood pressure, heart rhythm problems (arrhythmias) or a history of seizures — may limit your options. Also, prescription drugs and over-the-counter sleep aids may interact with other medications. And taking certain prescription sleeping pills can lead to drug abuse or drug dependence, so it's important to follow your doctor's advice.

Taking sleeping pills

If your best attempts to get a good night's sleep have failed, prescription sleeping pills may be an option. Here's some advice on how to use them safely.

  • Get a medical evaluation. Before you take sleeping pills, see your doctor for a thorough exam. Often your doctor may be able to find specific causes for your insomnia. If you're taking sleeping pills for more than a few weeks, talk to your doctor about an appropriate follow-up schedule to discuss your medications.
  • Read the medication guide. Read the medication guide for patients so that you understand how and when to take your medication and what the major potential side effects are. If you have any questions, ask your pharmacist or your doctor.
  • Never take a sleeping pill until you're going to bed. Sleeping pills can make you less aware of what you're doing, increasing the risk of dangerous situations. Wait to take your sleeping pill until you've completed all of your evening activities, immediately before you plan on sleeping.
  • Take your sleeping pill when you can get a full night's sleep. Only take a sleeping pill when you know you can get a full night's sleep of at least seven to eight hours. A few short-acting sleeping pills are intended for middle of the night awakenings, so you may take them when you can stay in bed for at least four hours.
  • Watch for side effects. If you feel sleepy or dizzy during the day or if you experience any other significant side effects, talk to your doctor about changing your dose or weaning off your pills. Don't take a new sleeping pill the night before an important appointment or activity because you won't know how it affects you.
  • Avoid alcohol. Never mix alcohol and sleeping pills. Alcohol increases the sedative effects of the pills. Even a small amount of alcohol combined with sleeping pills can make you feel dizzy, confused or faint. Combining alcohol with certain sleeping pills can lead to dangerously slowed breathing or unresponsiveness. And alcohol can actually cause insomnia.
  • Take sleeping pills strictly as prescribed by your doctor. Some prescription sleeping pills are for short-term use only. Be sure to contact your doctor for advice. Also, don't take a higher dose than prescribed. If the initial dose doesn't produce the intended effect on sleep, don't take more pills without first talking to your doctor.
  • Quit carefully. When you're ready to stop taking sleeping pills, follow your doctor's or pharmacist's instructions or the directions on the label. Some medications must be stopped gradually. Also, be aware that you may have some short-term rebound insomnia for a few days after you stop taking sleeping pills.

If you continue to have trouble sleeping, ask your doctor for additional help.

Jan. 30, 2018 See more In-depth

See also

  1. 6 surprising signs you may have obstructive sleep apnea
  2. Ambien: Is dependence a concern?
  3. Anorexia nervosa
  4. Antidepressant withdrawal: Is there such a thing?
  5. Antidepressants and alcohol: What's the concern?
  6. Antidepressants and weight gain: What causes it?
  7. Antidepressants: Can they stop working?
  8. Antidepressants for children and teens
  9. Antidepressants: Side effects
  10. Antidepressants: Selecting one that's right for you
  11. Antidepressants: Which cause the fewest sexual side effects?
  12. Atypical antidepressants
  13. Bedtime routines: Not just for babies
  14. Biofeedback
  15. Caffeine and depression: Is there a link?
  16. Can't sleep? Try daytime exercise
  17. Sleep apnea, central
  18. Chase away the winter blues
  19. CJD - Creutzfeldt-Jakob Disease
  20. Clinical depression: What does that mean?
  21. Coffee after dinner? Make it decaf
  22. Cognitive behavioral therapy
  23. CPAP machines: Tips for avoiding 10 common problems
  24. Creutzfeldt-Jakob disease
  25. Depression and anxiety: Can I have both?
  26. Depression, anxiety and exercise
  27. Depression: Diagnosis is key
  28. Depression in women: Understanding the gender gap
  29. Depression (major depressive disorder)
  30. Depression: Provide support, encouragement
  31. Depression: Supporting a family member or friend
  32. Does obstructive sleep apnea increase my risk for Alzheimer's disease?
  33. Drug addiction (substance use disorder)
  34. Sleep and psoriatic arthritis
  35. Fatigue
  36. Fish oil and depression
  37. Foods and sleep
  38. Global Bridges
  39. Headaches and stress
  40. Sleep guidelines
  41. How opioid addiction occurs
  42. How to get used to positive airway pressure (PAP) therapy
  43. How to tell if a loved one is abusing opioids
  44. How to use opioids safely
  45. Huntington's disease
  46. Improve obstructive sleep apnea with physical activity
  47. Insomnia
  48. Insomnia: How do I stay asleep?
  49. Insomnia treatment: Cognitive behavioral therapy instead of sleeping pills
  50. Jet lag disorder
  51. Depression and diet
  52. Kratom for opioid withdrawal
  53. Lack of sleep: Can it make you sick?
  54. Late-day exercise
  55. Lexapro side effects: Is breast tenderness common?
  56. Light therapy
  57. Living better with obstructive sleep apnea
  58. Making sense of obstructive sleep apnea treatments
  59. Male depression: Understanding the issues
  60. MAOIs and diet: Is it necessary to restrict tyramine?
  61. Marijuana and depression
  62. Mayo Clinic Minute: What you should know about bats and rabies
  63. Melatonin side effects
  64. Mild depression: Are antidepressants effective?
  65. Monoamine oxidase inhibitors (MAOIs)
  66. Napping do's and don'ts
  67. Natural remedies for depression: Are they effective?
  68. Nervous breakdown: What does it mean?
  69. Nicotine dependence
  70. Not tired? Don't go to bed
  71. Sleep apnea, obstructive
  72. Obstructive Sleep Apnea
  73. Obstructive sleep apnea: How quickly will I see results from treatment?
  74. Opioids and other drugs: What to watch for
  75. Pain and depression: Is there a link?
  76. Pinworm infection
  77. Polysomnography (sleep study)
  78. Porphyria
  79. Post-concussion syndrome
  80. Postpartum depression
  81. Postpartum thyroiditis
  82. Premenstrual dysphoric disorder
  83. Premenstrual syndrome (PMS)
  84. Prescription drug abuse
  85. Pulmonary edema
  86. Rabies
  87. Seasonal affective disorder (SAD)
  88. Choosing a light box
  89. Selective serotonin reuptake inhibitors (SSRIs)
  90. Serotonin and norepinephrine reuptake inhibitors (SNRIs)
  91. Shift work and daytime sleep
  92. Skip booze for better sleep
  93. Antihistamines for insomnia
  94. OTC sleep aids
  95. Sleep and weight gain: What's the connection?
  96. Sleep apnea
  97. Sleep apnea and caffeine: Any connection?
  98. Sleep tips
  99. CPAP masks
  100. Smoking and rheumatoid arthritis: What's the risk?
  101. Stress symptoms
  102. Take headache relief into your own hands
  103. Tapering off opioids: When and how
  104. Teen depression
  105. Tension headache
  106. Relieving tension-type headaches
  107. Treating pain: When is an opioid the right choice?
  108. Treatment-resistant depression
  109. Tricyclic antidepressants and tetracyclic antidepressants
  110. Valerian: A safe and effective herbal sleep aid?
  111. CPAP: How it works
  112. Obstructive sleep apnea: What happens?
  113. Vitamin B-12 and depression
  114. What are opioids and why are they dangerous?
  115. What is reflexology?