Our Services
Medical Information
Helpful Resources
Published on: 5/6/2026
Z-drugs such as Lunesta, Ambien and Sonata can sometimes trigger parasomnias like sleepwalking, sleep eating or even sleep driving that put you and others at risk. That is why your doctor routinely asks about any unusual nighttime behaviors before prescribing or refilling these medications.
There are several important factors your doctor will evaluate to personalize your treatment plan and keep you safe, so see below for more details.
Z-drugs such as Lunesta (eszopiclone), Ambien (zolpidem) and Sonata (zaleplon) are popular prescriptions for people struggling with insomnia. They act quickly to help you fall asleep and, in many cases, improve overall sleep quality. However, in some individuals these medications can trigger unexpected "parasomnias" or unusual behaviors performed while not fully awake—most famously sleep walking on Lunesta. Because these behaviors may put you or others at risk, your doctor will routinely ask about them before prescribing or refilling any Z-drug.
"Parasomnia" is the medical term for abnormal actions or experiences that happen during transitions between sleep and wakefulness. While many parasomnias (like sleep talking) are harmless, some can pose serious dangers:
These behaviors often occur without any conscious memory—leaving you confused about how you ended up in another room, kitchen, or even on the road.
Z-drugs work by enhancing the brain's GABA system, the same neurotransmitter network that natural sleeping aids (like alcohol) use. In most people this translates to fast, deeper sleep. Yet in susceptible individuals, the same mechanism may:
As a result, a person might partially wake enough to perform complex tasks—like walking or cooking—yet remain largely unconscious.
Although all Z-drugs carry a warning for parasomnias, Lunesta (eszopiclone) has been specifically associated with sleep walking in post-marketing reports. Key facts:
Not everyone taking Lunesta or other Z-drugs will develop these behaviors. Your doctor will ask about:
By identifying these risk factors, your physician can decide whether to:
Family members or bed partners are often the first to notice parasomnias. If you or someone else observes:
—bring this to your doctor's attention immediately. Early detection lets you adjust treatment before a serious accident or injury occurs.
Occasional sleep talking or very mild sleep walking may happen with no drug involvement. But if you take Lunesta (or any Z-drug), be especially alert to:
Your doctor may also evaluate you for other sleep disorders. For example, if you're experiencing vivid dreams with physical movements or acting out dream scenarios, you may want to check if your symptoms align with Rapid Eye Movement (REM) Sleep Behavior Disorder using a free online assessment tool to help guide your conversation with your doctor.
If you're worried about parasomnias, your doctor might suggest:
Open communication with your physician ensures you find the safest, most effective strategy for good sleep.
Z-drugs can be very effective for short-term relief of insomnia, improving daytime function and quality of life. However, the possibility of dangerous sleep behaviors means:
Remember, your doctor's goal isn't to scare you away from necessary treatment, but to keep you—and those around you—safe.
Some sleep behaviors can have life-threatening consequences. Contact your physician or emergency services if you experience:
Your doctor checks for dangerous sleep behaviors on Z-drugs to ensure your insomnia treatment helps you—not harms you. If you notice any signs of sleep walking on Lunesta or other worrisome night-time activities, track them carefully and speak up. Taking a few minutes to complete a free symptom assessment for Rapid Eye Movement (REM) Sleep Behavior Disorder can help you better understand your symptoms and prepare important questions before your next doctor's visit.
Always discuss any concerns—especially anything life-threatening or serious—with your healthcare provider. They are your partner in sleep health, ready to tailor your treatment to your unique needs.
Please speak to a doctor about any symptoms that could be life threatening or serious.
(References)
* pubmed.ncbi.nlm.nih.gov/22864619/
* pubmed.ncbi.nlm.nih.gov/29088688/
* pubmed.ncbi.nlm.nih.gov/19223126/
* pubmed.ncbi.nlm.nih.gov/21805562/
* pubmed.ncbi.nlm.nih.gov/22026197/
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.