Outpatient Xanax rehab is when you go in for treatment and head home afterwards. In contrast, inpatient Xanax rehab is when you stay at a facility throughout treatment. While both have merits, inpatient Xanax rehab is usually more successful because it provides a sanctuary from potential triggers, around-the-clock access to medical professionals and a more comprehensive therapy and aftercare programme.