How Long Does Xanax Stay in Your System: Half-Life and Detection

Xanax (alprazolam) stays in your system for roughly two to three days after a single dose, though drug tests can pick it up for longer depending on the type of test. The drug has an average half-life of about 11.2 hours, meaning your body eliminates half of it in that time. After five to six half-lives, the drug is essentially cleared, which works out to roughly 56 to 67 hours for most healthy adults.

That said, “in your system” means different things depending on whether you’re talking about feeling the effects, passing a drug test, or waiting out withdrawal. Here’s what to expect on each front.

How Quickly Xanax Works and Wears Off

Xanax reaches its peak concentration in your blood within one to two hours after you take it. Most people feel the calming effects within 15 to 30 minutes, and those effects typically fade within four to six hours. That’s why it’s prescribed for short-term relief of anxiety or panic rather than around-the-clock coverage.

But just because the effects wear off doesn’t mean the drug is gone. Xanax and its breakdown products linger in your body well after you stop noticing its effects, which is what matters for drug testing.

Half-Life and Total Clearance Time

The FDA puts the average elimination half-life at 11.2 hours, but the range is wide: anywhere from 6.3 to 26.9 hours in healthy adults. That variation matters. Someone on the faster end might clear the drug in about 35 hours, while someone on the slower end could take nearly a week.

Your liver breaks down Xanax using a specific enzyme system called CYP3A4. This enzyme converts Xanax into two main byproducts that are less active and eventually get filtered out through your kidneys. How efficiently your liver runs this process is the single biggest factor in how long Xanax stays with you.

Detection Windows by Test Type

Different drug tests look for Xanax (or its byproducts) in different biological samples, and each has its own detection window.

  • Urine: Up to 5 days after last use. This is the most common test type. However, not all standard urine drug screens specifically identify Xanax. Many panel tests screen for benzodiazepines as a class, and some can miss alprazolam entirely depending on the assay used.
  • Blood: Roughly 1 to 2 days. Blood tests are more precise but have a shorter detection window, so they’re typically used in medical or legal settings where recent use matters.
  • Saliva: Approximately 1 to 2.5 days. Oral fluid tests are becoming more common in workplace screening but are still less standard than urine.
  • Hair: Up to 90 days. Hair follicle tests can detect Xanax starting about 1 to 7 days after use and provide a three-month history. These tests are less common and generally reserved for situations where a longer look-back period is needed.

If you’ve been taking Xanax regularly for weeks or months, expect the urine detection window to stretch toward the longer end. The drug accumulates in body tissues over time, and it takes longer to fully wash out.

What Makes It Stay Longer

Several factors push the clearance time in one direction or another.

Age is one of the most significant. Liver enzyme activity slows with age, so older adults metabolize Xanax more slowly. The FDA label notes that the half-life tends to be longer in elderly populations compared to younger, healthy adults.

Liver function plays a direct role since the liver does nearly all of the work breaking Xanax down. Anyone with reduced liver function, whether from alcohol use, hepatitis, or other conditions, will clear the drug more slowly.

Other medications can dramatically extend Xanax’s stay. Because Xanax depends on the CYP3A4 enzyme for metabolism, anything that blocks or slows that enzyme keeps Xanax circulating longer. In one study cited in the Pfizer labeling, the HIV medication ritonavir more than doubled Xanax’s half-life, pushing it from about 13 hours to 30 hours. Strong CYP3A4 inhibitors, a category that includes certain antifungal medications and some antibiotics, are actually contraindicated with Xanax for this reason.

Dose and duration of use also matter. Higher doses mean more drug to metabolize, and long-term use allows Xanax to build up in fatty tissue, creating a reservoir that takes extra time to deplete.

When Withdrawal Can Start

Because Xanax has a relatively short half-life compared to other benzodiazepines, withdrawal symptoms can appear quickly. Early symptoms often begin within 6 to 24 hours after the last dose, which catches many people off guard. These typically include rebound anxiety, restlessness, and difficulty sleeping.

Withdrawal symptoms can last anywhere from a few days to several weeks, depending on how long you’ve been taking the drug and at what dose. The short half-life is actually what makes Xanax withdrawal more intense compared to longer-acting benzodiazepines. Your body notices the drop in drug levels faster, so the adjustment period hits harder and sooner. This is one reason doctors often taper the dose gradually rather than stopping abruptly.

Occasional Use vs. Regular Use

If you took Xanax once or a handful of times, you can generally expect it to be undetectable in urine within three to four days. Your body hasn’t had time to accumulate the drug in tissues, so clearance tracks fairly closely with the half-life math.

Regular users are in a different situation. Weeks or months of daily use allows Xanax to saturate fat stores throughout the body. Even after you stop, those stores slowly release the drug back into your bloodstream for elimination. This can push urine detection out toward or beyond the five-day mark, and it’s the main reason two people who took their last dose on the same day can test differently.