Xanax is the brand name for the drug Alprazolam, which is a benzodiazepine. The prescription drug is usually used for anxiety and sleeping issues. It's also used before surgery and medical ...