Alprazolam is in a group of drugs called benzodiazepines ( ben-zoe-dye-AZE-eh-peens) . It affects chemicals in the brain that may become unbalanced and cause anxiety. alprazolam is used to treat anxiety disorders, panic disorders, and anxiety caused by depression. alprazolam may also be used for other purposes not listed in this medication guide