Xanax (alprazolam) is a benzodiazepine, Alprazolam affects chemicals in the brain that may be unbalanced in people with anxiety. Xanax is used to treat anxiety disorders, panic disorders, and anxiety caused by depression. Xanax may also be used for purposes not listed in this medication guide.