Xanax is a tranquilizer used in the short-term relief of symptoms of anxiety or the treatment of anxiety disorders. Anxiety disorder is marked by unrealistic worry or excessive fears and concerns. Anxiety associated with depression is also responsive to Xanax.
Xanax and the extended-release formulation, Xanax XR, are also used in the treatment of panic disorder, which appears as unexpected panic attacks and may be accompanied by a fear of open or public places called agoraphobia. Only your doctor can diagnose panic disorder and best advise you about treatment.