Zopiclone pills are used to treat insomnia. This medication can be used to treat sleep onset insomnia, which happens when a patient has difficulty sleeping at the beginning of the night. In addition, it is effective at preventing frequent awakenings during the night so a patient can benefit from restorative sleep. Additionally, it can treat anxiety due to the sedative and calming effects it possesses.