The Z-drugs are not without disadvantages, and all three compounds are notable for producing side effects such as pronounced
amnesia and more rarely
hallucinations, especially when used in large doses. On rare occasions, these drugs can produce a
fugue state, wherein the patient sleepwalks and may perform relatively complex actions, including cooking meals or driving cars, while effectively unconscious and with no recollection of the events upon awakening. While this effect is rare (and has also been reported to occur with some of the older sedative drugs such as
temazepam and
secobarbital), it can be potentially hazardous, and so further development of this class of drugs has continued in an effort to find new compounds with further improved profiles. Daytime withdrawal-related anxiety can also occur from chronic nightly nonbenzodiazepine hypnotic usage such as with
zopiclone. Side effects can differ within the drug class due to differences in metabolism and pharmacology. For example, long-acting benzodiazepines have problems of drug accumulation especially in the elderly or those with liver disease, and shorter-acting benzodiazepines have a higher risk of more severe withdrawal symptoms. In the case of the nonbenzodiazepines,
zaleplon may be the safest in terms of next-day sedation, and − unlike
zolpidem and
zopiclone − zaleplon has been found to have no association with increased
motor vehicle accidents even when taken for
middle-of-the-night insomnia due to its ultrashort
elimination half-life.
Increased risk of depression It has been claimed that insomnia causes
depression and hypothesized that insomnia medications may help to treat depression. However, an analysis of data of clinical trials submitted to the
Food and Drug Administration (FDA) concerning the drugs
zolpidem,
zaleplon, and
eszopiclone found that these sedative hypnotic drugs more than doubled the risks of developing depression compared to those taking placebo pills. Hypnotic drugs, therefore, may be contraindicated in patients with or at risk of depression. Hypnotics were found to be more likely to cause depression than to help it. Studies have found that long-term users of sedative hypnotic drugs have a markedly raised suicide risk as well as an overall increased
mortality risk.
Cognitive-behavioral therapy (CBT) for insomnia, on the other hand, has been found to both improve sleep quality as well as general mental health. In older people this family of medications increases the risk of
fractures and falls. The 2023
Beers criteria lists all three Z-drugs approved in the US (zolpidem, zaleplon, eszolpiclon) as unsuitable for older people. The Z-drug
zaleplon may have fewer side effects compared to benzodiazepines. Much like benzodiazepines, Z-drugs are associated with an increased incidence of dementia. There is overall a 20% increase in dementia risk after adjusting for confounding factors. The effect is more profound in women. ==Dependence and withdrawal management==