"Although, your health condition may impact your everyday life, do not let it define who you are." XANAX (alprazolam) is used to treat anxiety disorders and panic disorder (sudden, unexpected attacks of extreme fear and worry about these attacks). Alprazolam is in a class of medications called benzo-diazepines. It works by decreasing abnormal excitement in the brain. XANAX (alprazolam) is also sometimes used to treat depression, fear of open spaces...