Nimetazepam was widely prescribed in the 1980s and 1990s, particularly in Japan, Malaysia, Brunei, the Philippines, Thailand, Indonesia, Hong Kong and Singapore. Prescriptions for the drug have decreased dramatically since 2005 due to rampant misuse and addiction. It is primarily used as an anticonvulsant in . It is also still used in the most severe and debilitating cases of insomnia in an inpatient setting or in short term outpatient treatment. Hypnotic benzodiazepines estazolam and nitrazepam are used more frequently than nimetazepam for this purpose. Antidepressants such as trazodone and mirtazapine or Z-drugs like zopiclone and zolpidem are first line treatment for insomnia.