https://somnussleepclinic.com/xanax-for-anxiety/ Xanax is recommended for the treatment of anxiety disorders and for the temporary alleviation of anxiety symptoms. Additionally, Xanax can be used to treat panic disorder, whether or not the patient has an agoraphobia, or fear of locations and situations that could make them feel powerless or embarrassed.