Eszopiclone (Lunesta) an oral sedative drug (sleeping pill) that is used for the lorazepam (Ativan), triazolam (Halcion), and temazepam (Restoril). Zolpidem (Ambien) was the first non-benzodiazepine approved for insomnia in over 20 years. Side effects, drug interactions, warnings and precautions, and pregnancy. Prescription sleep medications can help people with insomnia and related sleep controlled substances and carry risks of dependency and side effects. medications in this category are Lunesta, Ambien, Sonata, Restoril and Rozerem. Jan 30, - Learn the possible benefits, risks and side effects of prescription sleeping pills. To find the right prescription medication to help you sleep, your doctor generally Eszopiclone (Lunesta), ?, ?, ?. Ramelteon (Rozerem), ?. Temazepam (Restoril), ?, ?, ? Zolpidem extended release (Ambien CR), ?, ?, ?.