Alprazolam, probably better known by its trade name Xanax, is a short-acting drug. The drug is used to treat people with anxiety disorders and panic attacks. Alprazolam is the most commonly misused benzodiazepine (the drug's class) in the United States; but the majority of prescribed users do not develop a substance-use disorder. Alprazolam is a prescription drug in the United States.