The symptoms of anxiety and panic disorders are lessened with the anti-anxiety medication Xanax. Additionally, it is used as a sedative or hypnotic, a headache remedy, a tension-related symptom reliever linked with alcohol withdrawal, and as an adjuvant to anaesthesia. There are tablet strengths of 2 mg, 3 mg, and 4 mg for Xanax.