How long it takes to pass a drug test depends on the substance, how often you’ve used it, and what type of test you’re facing. For most drugs, a standard urine test will come back clean within 2 to 4 days of last use. Marijuana is the major exception: occasional users typically clear it in about a week, while daily users can test positive for 30 days or longer.
Marijuana Takes the Longest to Clear
Marijuana stands apart from every other commonly tested substance because its active compounds dissolve in fat and release slowly over time. For someone who smoked once, the metabolite that urine tests look for stays above detectable levels for roughly 80 to 100 hours, or about 3 to 4 days. A person who uses a few times a week can expect that window to stretch to about 7 days.
Daily or heavy users face a much longer wait. Research shows detection times of up to 30 days under laboratory-grade testing, and in some chronic users, positive results have been documented at 67 and even 93 days after the last use. The standard federal screening threshold for marijuana metabolites is 50 nanograms per milliliter on the initial test, with a confirmatory cutoff of 15 ng/mL. A lower cutoff means a longer detection window, which is why lab-confirmed tests catch use further back than a basic screening.
Body fat percentage plays a real role here. THC metabolites store in fat tissue and gradually re-enter the bloodstream. Someone with more body fat can release those metabolites for weeks after their last use, even without any new exposure.
Cocaine, Amphetamines, and Other Stimulants
Stimulants clear the body far faster than marijuana. Cocaine and its metabolites are typically detectable in urine for 2 to 3 days after use. The federal screening cutoff for cocaine’s metabolite is 150 ng/mL initially, dropping to 100 ng/mL on confirmation.
Amphetamines and methamphetamine follow a similar timeline: 2 to 3 days for a standard urine test. MDMA (ecstasy) runs slightly longer at 2 to 4 days. In oral fluid (saliva) testing, amphetamines can be detected for 20 to 50 hours after a single dose, making saliva tests effective at catching very recent use but less useful for anything beyond a couple of days.
Opioids and Prescription Painkillers
Most opioids leave the body relatively quickly. Codeine and morphine are detectable in urine for 1 to 2 days. Oxycodone has an even shorter window of roughly 1 to 1.5 days. Heroin itself metabolizes rapidly, but it converts to morphine and other markers that show up for 1 to 3 days.
Fentanyl is now part of federal workplace testing panels, with a very low screening cutoff of just 1 ng/mL on confirmation. This low threshold reflects fentanyl’s potency at tiny doses, but the detection window is still relatively short for occasional exposure.
One important note: standard opiate immunoassay tests often miss oxycodone entirely. If your employer or testing program specifically screens for oxycodone, they need to run a separate targeted test. Hydrocodone and hydromorphone are screened at a 300 ng/mL initial cutoff, with confirmation at 100 ng/mL.
Benzodiazepines and Barbiturates
Short-acting benzodiazepines like those prescribed for occasional anxiety typically clear urine in 1 to 4 days. Long-acting benzodiazepines used heavily can remain detectable for up to 6 weeks, a range that surprises many people. The difference comes down to how long the drug and its breakdown products linger in your system, which varies significantly between specific medications in this class.
Barbiturates have a similarly wide range: 1 to 3 weeks depending on the specific drug and pattern of use. Both classes store in body tissue to some degree, which extends their detection in heavy or long-term users.
How the Type of Test Changes the Timeline
Urine testing is by far the most common method for employment and legal screening, and the timelines above all refer to urine. But other test types have very different windows.
Saliva (oral fluid) tests detect recent use, generally within the past 24 to 48 hours for most substances. Federal oral fluid cutoffs are much lower than urine cutoffs. For marijuana, the saliva threshold is just 4 ng/mL initially and 2 ng/mL on confirmation, compared to 50 ng/mL for urine. Saliva testing is increasingly used for roadside and workplace screening because it captures what you’ve used in the last day or two rather than the last week.
Blood tests have the shortest window of all, typically detecting most drugs for only hours to a day or two. They’re mainly used in medical settings or accident investigations where recent impairment is the question.
Hair testing works on a completely different scale. A standard hair test covers approximately 90 days of use, based on the rate of hair growth. However, a drug won’t appear in a hair sample until 1 to 2 weeks after exposure, because it takes that long for the hair containing the drug’s metabolites to grow above the scalp. This means hair tests miss very recent use but catch patterns of use over the past three months.
What Affects How Fast You Clear a Drug
The timelines above are averages, and several biological factors push your personal clearance time higher or lower. Frequency and amount of use matter most. A single exposure clears far faster than repeated use, because repeated dosing builds up drug levels in your tissues faster than your body can eliminate them.
Body composition plays a meaningful role for fat-soluble drugs like THC. Higher body fat means more storage capacity for these compounds and a longer release period. For drugs cleared primarily through the kidneys, people with higher BMIs may actually filter drugs slightly faster due to increased kidney filtration rates, though the effect varies by substance and isn’t consistent enough to predict.
Hydration affects urine concentration but not how fast your body actually processes a drug. Drinking large amounts of water before a test dilutes the sample, which can push drug metabolite levels below the screening cutoff. Labs check for this by measuring creatinine levels and specific gravity in the urine sample. If these markers are abnormally low, the sample gets flagged as dilute and you’ll likely be asked to retest. Extremely dilute samples may be treated as a refusal.
Age and metabolism also contribute. Younger people with faster metabolic rates generally clear drugs more quickly, and liver function, which naturally declines with age, is the primary engine for breaking down most substances.
Medications That Cause False Positives
Some common over-the-counter and prescription medications can trigger a positive result on an initial screening even if you haven’t used any illicit drug. The initial immunoassay test works by detecting chemical structures similar to the target drug, and several legal medications share enough structural similarity to set it off.
- Amphetamines: Pseudoephedrine (found in many cold medicines), bupropion (an antidepressant and smoking cessation aid), phentermine (a weight loss medication), and methylphenidate (used for ADHD) can all trigger false positives.
- Marijuana: Ibuprofen, naproxen, and certain baby wash products have been reported to cause false positives for cannabinoids on initial screening.
- Opioids: Poppy seeds are the classic culprit, but dextromethorphan (a cough suppressant), diphenhydramine (an antihistamine found in many sleep aids), and certain antibiotics can also trigger a positive.
If you’re taking any of these and face a drug test, a confirmatory test using more precise laboratory methods will almost always distinguish a false positive from actual drug use. The confirmatory test looks for the specific metabolite of the illicit drug rather than a general chemical structure, so false positives rarely survive this second step. Disclosing your medications to the testing facility or medical review officer before the test is the simplest way to avoid complications.

