Klonopin and Xanax are both benzodiazepines, a class of drugs that are commonly used to treat anxiety disorders, panic attacks, and other similar conditions. Xanax is a popular medication that is often used to treat anxiety and panic disorders. People take Xanax to manage symptoms of anxiety and panic disorders. Taking benzos like Ativan and Xanax, even as directed with medical advice, can result in uncomfortable side effects. It's even easier to overdose by accident when you're mixing Ativan and Xanax. Ativan and Xanax aren't the only drugs you should avoid mixing with alcohol, barbiturates, or opioids.