Zopiclone is a sedative-hypnotic medication primarily used to treat insomnia (difficulty sleeping). It belongs to a class of drugs known as non-benzodiazepine hypnotics , but it has similar effects to benzodiazepines in that it helps to induce sleep and improve the quality of rest.