Substance guides

How long does Xanax stay in your system?

Published January 5, 2026 · 7 min read · Updated April 2026
Reviewed for accuracy by licensed clinical professionals.

Xanax (alprazolam) has an intermediate half-life of 6-12 hours, but its metabolite alpha-hydroxyalprazolam remains detectable longer. Understanding detection windows helps with treatment planning and employment concerns.

Detection by test type

Urine testing detects benzodiazepines including Xanax for 5-7 days after occasional use and up to 2-4 weeks for chronic heavy use. Standard drug panels include benzodiazepines. Blood testing detects Xanax for 1-2 days. Saliva testing detects it for 1-3 days. Hair follicle testing can detect use for up to 90 days.

Why chronic use extends detection

Xanax accumulates in fatty tissue with repeated dosing. Long-term daily users build a reservoir that releases slowly during abstinence, extending detection well beyond what single-dose pharmacokinetics would predict. Body fat percentage, liver function, age, and metabolic rate all affect clearance speed.

Treatment implications

If you are concerned about how long Xanax stays in your system because you need to stop taking it, do not quit abruptly. Xanax withdrawal can cause seizures. A gradual medical taper is required for safe discontinuation.

Authoritative sources

This article references guidelines from: NIDA · SAMHSA · CDC

Frequently asked questions

How long does Xanax stay in urine?
5-7 days for occasional use, up to 2-4 weeks for chronic daily use.
Does Xanax show up on a standard drug test?
Yes. Benzodiazepines including Xanax are included on all standard drug panels.
Can you flush Xanax out faster?
No reliable method exists to speed clearance. Time and abstinence are the only proven approaches.

Disclaimer: Informational only. Not medical advice. SAMHSA: 1-800-662-4357.