... detox in a inpatient rehab. was clean and sober for 110 days. Then relapsed. In three days I took 140 Xanax bars. 4.0 mg. Now I am back to 6 days soober and clean. My question is. I took a drug test today and passed. Now that it is out of my urine how long till my brain gets strait. I know I already did this but didnt only go in for detox of xanax I was also on opiets. This time I have detoxed myself with no medication