​Clonazepam belongs to a class of medications known as benzodiazepines.It can be used for short-term treatment of insomnia (difficulty sleeping), anxiety or panic.It may also be used for other conditions such as epilepsy (fits). Check with your healthcare professional if you are unsure why you are given this medication.