Xanax is a category of medicine. It belongs to a class of drugs also known as alprazolam called benzodiazepine used to treat anxiety and panic disorder. It helps to work by balancing out chemicals in our body. It calms your nervous system. Do not take more than often. Take this medicine directed by mouth. Xanax is available in 1mg,2mg,3mg, 0.5mg, and 0.25mg.