Skip to main content

How do I use prescription sleeping pills safely?

By Melody L. Berg PharmD, BCPS, MPH

Medically reviewed by Carmen Pope, BPharm. Last updated on March 12, 2025.

Almost everyone has trouble sleeping at some point in their lives, and it is particularly common in older adults. You may feel at some point that you need help falling or staying asleep. Here are a few things to know before talking to your doctor or pharmacist about prescription sleeping pills.

Keep a sleep diary

A sleep diary (sleep journal or sleep log) is a record of key information about your sleep and lifestyle factors that may affect your sleep. Below is a list of common information included in a sleep diary. This information will help your doctor make the best decision about choosing a prescription sleeping pill for you.

Ideally, start recording this information before seeing your doctor and bring your sleep diary with you to your appointment.

Prescription sleeping pills

Prescription medications used to treat sleeping issues have different actions. For example, some medications help you fall asleep such as zaleplon (Sonata) or ramelteon (Rozerem). Others may help you stay asleep such as doxepin (Silenor).

Some may help you to fall asleep and stay asleep such as zolpidem (Ambien, Ambien CR), eszopiclone (Lunesta), and suvorexant (Belsomra). Zolpidem may be used during the night if you wake up and have difficulty returning to sleep.

For older adults, your doctor may first try melatonin (OTC) or doxepin before prescribing other medications for sleep. An antidepressant, trazodone, is prescribed by some doctors off-label (a use not approved by the FDA) to treat insomnia because it causes drowsiness. In some small studies it has shown improvement in sleep for a few weeks. Your doctor will work with you to choose a sleeping pill that works best for your symptoms, age, and other medical conditions.

Related questions

What do I need to know about prescription sleeping pills?

Keep in mind the following if you are taking or considering taking a prescription sleep medication:

Summary

Before you ask your doctor or pharmacist about prescription sleeping pills, be prepared to share your sleep diary and answer questions about your insomnia symptoms. It is important to work with your health care provider to find a medication that is right for you and to tell your doctor or pharmacist right away if you experience any side effects.

See also:

Related medical questions

Related support groups

ASHP logo

AHFS® Patient Medication Information is used with permission. ©2025, the American Society of Health-System Pharmacists, Inc. (ASHP). The ASHP Data is a part of the AHFS Drug Information®️; ASHP is not responsible for the accuracy of transpositions from the original context.