Xanax is used to treat anxiety disorders and panic attacks which manifest symptoms such as restlessness, flushing, shortness of breath, trembling, sweating, palpitations, and insomnia. It may also be used for other conditions as determined by your doctor. This drug is used to manage anxiety disorders or panic disorder. It can be used for the short-term relief of symptoms of anxiety, or anxiety linked with depression. Anxiety or tension caused by the stress of everyday life usually doesn’t need to be treated with this drug. This drug may be used as part of a combination therapy. This means you may need to take it with other medications. Read more below