3 days for abuse, abusing any pill it will clear your system within three days.
Some of the above answer is wrong . . .
Plan on waiting 3 full days between taking one Xanax and doing the test.
For some people, it takes longer, for others, less.
If you have used Xanax for a long time, plan on 3 to 4 weeks before doing the test. Be very careful, there is no set time for any drug to be out of your system in a certain time.
In the first answer, “the time span will be” is more, for sure!
Also, every ‘pill’ has a different time to leave your system, up to at least 4 weeks in some people on certain drugs.