Clonazepam belongs to a class called benzodiazepines and is an anticonvulsant or antiepileptic drug. It works by calming your brain and nerves.