Xanax (alprazolam) has an average half-life of about 11.2 hours in healthy adults, meaning it takes roughly 2 to 4 days for your body to fully eliminate it. But drug tests can detect traces for longer, and several personal factors can stretch that timeline significantly.
How Your Body Processes Xanax
Your liver breaks down Xanax using a specific enzyme system called CYP3A. With each half-life cycle, your body clears about half of the remaining drug. For a healthy adult, that half-life averages 11.2 hours but ranges anywhere from 6.3 to 26.9 hours. After about five half-life cycles, the drug is considered effectively eliminated. For most people, that works out to roughly 2 to 3 days, though it can take longer depending on your individual metabolism.
If you take the extended-release version (Xanax XR), the elimination timeline is similar. The half-life ranges from 10.7 to 15.8 hours. The extended-release tablet absorbs more slowly, which is why its effects last longer, but your body clears the drug at essentially the same rate once it’s absorbed.
Detection Windows by Test Type
Full elimination and test detectability are two different things. Drug tests look for both the drug itself and its breakdown products, which can linger after the active drug is gone.
- Urine: 1 to 5 days after last use. This is the most common screening method, and the window depends heavily on how frequently and how much you’ve been taking.
- Blood: Up to 4 to 5 days, even after the calming effects have worn off.
- Saliva: Up to about 2.5 days. A study of 25 people found that was the maximum detection time in oral fluid samples.
- Hair: Up to 90 days. Hair tests can pick up Xanax starting 1 to 7 days after use and provide a three-month history. This method is less common for routine screening but is used in some forensic and workplace testing.
Occasional users will generally fall toward the shorter end of these windows. People who take Xanax daily or at higher doses accumulate more of the drug and its metabolites in their tissues, pushing detection times toward the longer end.
Factors That Slow Elimination
The 11.2-hour average half-life comes from studies of healthy younger adults. Several factors can nearly double that number, or more.
Age
Older adults process Xanax more slowly. In studies of healthy elderly subjects, the average half-life rose to 16.3 hours, compared to 11 hours in younger adults. That difference alone can add an extra day or more to full clearance.
Body Weight
Xanax is fat-soluble, which means it gets stored in fatty tissue and released gradually. In a group of obese subjects, the average half-life was 21.8 hours, nearly double the 10.6 hours seen in healthy-weight subjects. The upper end of the range reached 40.4 hours, which would put full elimination closer to 8 or 9 days.
Liver Function
Since your liver does most of the work breaking down Xanax, any liver impairment slows the process considerably. In patients with alcoholic liver disease, the average half-life jumped to 19.7 hours, with a range stretching from 5.8 all the way to 65.3 hours. At that extreme, it could take over two weeks for the drug to fully clear.
Other Medications
Certain drugs block the same liver enzyme that processes Xanax, creating a bottleneck. Antifungal medications like ketoconazole can increase Xanax levels in the blood nearly fourfold. Itraconazole, another antifungal, increases levels about 2.7 times. Even more common medications have a meaningful effect: the antidepressant fluvoxamine roughly doubles Xanax concentrations, and the acid-reducer cimetidine decreases clearance by 42%. All of these interactions mean Xanax stays in your system longer and at higher levels than it otherwise would.
Occasional Use vs. Regular Use
A single dose of Xanax clears faster than repeated doses. When you take Xanax daily, the drug builds up to what pharmacologists call a steady-state concentration, where each new dose arrives before the previous one is fully gone. This accumulation means your body has more total drug to clear once you stop, and it takes longer to get below detectable levels. That’s why chronic users can test positive on urine screens for up to 5 days, while someone who took a single dose might clear it in 1 to 2 days.
Higher doses also extend the timeline. More drug simply means more work for your liver, and the clearance process takes proportionally longer.
How Long the Effects Last
The calming, anti-anxiety effects of Xanax typically peak within 1 to 2 hours and last about 4 to 6 hours for the immediate-release version. But the drug remains in your bloodstream well beyond the point where you stop feeling its effects. This gap is worth knowing: you may feel completely normal while still carrying detectable levels, and sedation-related impairment can linger after the peak effects fade, particularly with higher doses or if any of the slowing factors above apply to you.