Xanax is the brand name for a formulation of alprazolam, which is a drug used to help mitigate the symptoms of conditions like anxiety and panic disorders. Xanax is a type of drug called a benzodiazepine and works on the user's brain chemistry to ease their nerves and help them lead more normal lives.