copyright, a controlled drug, commonly known as Xanax , is mainly prescribed for anxiety disorders and panic disorders . It functions by influencing brain chemicals that may be unbalanced, leading to anxiety. Typical dosages vary considerably based upon individual factors and the certain condition being treated , but generally range from 0.25 mg to