Xanax contains the active ingredient alprazolam. It belongs to a group of medicines called benzodiazepines (anxiety-relieving medicines). Xanax is used in adults for treatment of anxiety symptoms which are severe, disabling or causing the patient great distress.