Xanax XR 3mg is a prescription medication for treating anxiety disorder, or panic disorder. And, it is also helpful in treating depression. It is a schedule IV drug or comes under the Controlled substance act by the CSA. Also, it belongs to the class of benzodiazepine drugs.