Klonopin and Xanax are both prescription medication in a group of drugs called. They are often used for treating anxiety disorders and these medicines clam the brain and body by boosting the effects of a natural brain chemical GABA slows down nerve activity, which can anxiety, reduce muscle tension and help prevent serizures. Both medication can be addictive and should only be used under a doctor supervision ideally for short term treatment. Klonopin has a longer half life and slower onset, while xanax works quickly but wears off faster.