Cocaine metabolites typically clear urine in 2 to 4 days after a single dose, but detection windows stretch from about 24 hours in saliva to roughly 90 days in hair. The exact window depends on the test matrix, dose, frequency of use, and individual metabolism. Benzoylecgonine, the main metabolite, is what most immunoassays actually detect, and its half-life of about 6 hours sets the floor for urine detection. No single number applies to every person or every test.

The mechanism: why cocaine clears fast but metabolites linger

Cocaine itself has a plasma half-life of roughly 1 hour. The liver hydrolyzes most of it into benzoylecgonine, and lesser fractions become ecgonine methyl ester and norcocaine. Benzoylecgonine has a half-life near 6 hours, so it outlasts the parent drug by several-fold in blood and urine.

The pharmacology matters because detection follows metabolite concentration, not the drug's subjective effect. A person stops feeling high within an hour, yet benzoylecgonine remains measurable for days. This gap between intoxication and detectability is the single most misunderstood fact in cocaine testing.

Hair testing works differently. Cocaine and its metabolites deposit into the keratin matrix as the follicle grows. That means hair captures a historical record rather than a snapshot. The detection mechanism is anatomical, not metabolic, which is why hair windows are measured in months rather than hours.

Roughly 1 to 5 percent of a cocaine dose appears in urine as unchanged drug, while benzoylecgonine accounts for the largest share. Immunoassays are calibrated to that metabolite. Confirmatory testing uses gas or liquid chromatography with mass spectrometry, which identifies the specific molecule rather than a cross-reactive signal.

Plainly: the high fades in an hour, but the chemical fingerprint sits in urine for days and in hair for months.

Quantified context: detection windows by test type

The table below reconciles the ranges most clinical and forensic sources report for typical use. Values are approximate and shift with dose, frequency, hydration, and body composition.

Test type Typical detection window What it detects Key limitation
Urine 2–4 days (single dose); up to 2 weeks (chronic) Benzoylecgonine Hydration and pH alter concentration
Blood 12–24 hours Cocaine and metabolites Invasive; narrow window
Saliva 12–24 hours (cocaine); up to 2–3 days (metabolites) Parent drug and metabolites Collection timing and volume matter
Hair Up to 90 days (about 1 cm per month) Historical deposition Environmental contamination risk
Sweat patch 1–7 days (worn over days) Cocaine and metabolites Patch adherence affects results

A single recreational dose usually clears urine within 72 hours. Chronic, high-frequency use can push urine detection toward 10 to 14 days because metabolite pools accumulate. That upper bound is a rough ceiling, not a guarantee.

Blood and saliva windows are short because they reflect circulating or recently secreted drug. Hair is the outlier: a 3.9 cm segment of hair corresponds to roughly 90 days of growth at the standard 1 cm per month rate. Laboratories analyze segments rather than whole strands to estimate timing.

Timeline: what happens after a dose

Time since use Blood Urine Saliva
0–1 hour Detectable, peak approaching Detectable Detectable
1–4 hours Detectable Detectable Detectable
4–12 hours Declining Detectable Detectable
12–24 hours Often below cutoff Detectable Cocaine fading, metabolites remain
24–48 hours Usually clear Detectable Metabolites may persist
48–72 hours Clear Detectable in most single-dose cases Usually clear
3–14 days Clear Detectable with heavy use Clear

The cutoff concentration is decisive. Urine immunoassays commonly use a 150 ng/mL screening cutoff for benzoylecgonine, though 300 ng/mL is also standard. A result below cutoff reads negative even if the drug was used. That threshold, not biology alone, determines the reported answer.

Edge cases: frequency, body composition, and cutoffs

Chronic use is the biggest variable. Repeated exposure saturates tissue compartments and slows elimination, so a daily user may test positive for 10 to 14 days after stopping. A one-time user may clear in 48 to 72 hours.

Body fat matters because cocaine is lipophilic. Adipose tissue can act as a reservoir, and mobilization during stress or weight loss may transiently raise metabolite levels. The effect is modest but real, and it complicates any single-number prediction.

Liver and kidney function alter clearance. Hepatic impairment slows metabolism of cocaine to benzoylecgonine. Renal impairment slows excretion of the metabolite. Neither changes the route so much as the speed, stretching windows at the margins.

Passive exposure is a genuine confounder. Environmental cocaine smoke or handling can produce low-level positives, especially in hair and saliva. Confirmatory mass spectrometry and metabolite ratios help laboratories distinguish exposure from use, which is why screening results are presumptive, not final.

A counterintuitive caveat from forensic practice: a positive urine result does not establish when use occurred. Benzoylecgonine concentration rises and falls, but the test is qualitative at cutoff. Only serial quantitative testing or hair segmentation can estimate timing.

Misconceptions that distort the numbers

The first myth is that cocaine is gone once the high ends. Effects last under an hour, but benzoylecgonine persists for days. Feeling sober and testing negative are different events.

The second is that water, exercise, or detox drinks reliably beat a urine test. Dilution can lower concentration below cutoff, but laboratories flag dilute specimens using creatinine and specific gravity. Dilution is detectable as an abnormality, not a clean pass.

The third is that hair tests only catch heavy users. A single use can deposit detectable cocaine in hair, though the signal is weaker. Hair also risks false positives from contamination, which is why washing protocols and segment analysis exist.

The fourth is that all tests are equivalent. A saliva test at 24 hours and a hair test at 24 hours measure entirely different things. Asking "how long" without naming the matrix produces a meaningless answer.

The fifth is that cutoff values are universal. Employers, courts, and clinical labs set different thresholds. A 150 ng/mL cutoff and a 300 ng/mL cutoff can yield opposite results from the same sample.

Practical actions and reconciliation of thresholds

If the goal is understanding a test window rather than evading one, the useful steps are diagnostic and informational.

Identify the exact matrix: urine, blood, saliva, hair, or sweat. The window changes by an order of magnitude between blood and hair. Ask for the cutoff concentration, typically 150 or 300 ng/mL for urine benzoylecgonine. The cutoff defines the reported result. Note the time since last use and the frequency of use. Single-dose and chronic-use windows differ by up to 10 days. Treat screening immunoassays as presumptive. Confirmatory chromatography-mass spectrometry is the standard for a definitive result. Recognize that dilution and masking attempts are themselves detectable through specimen-validity markers. Do not interpret a positive result as proof of impairment or of use timing.

Reconciling the thresholds is straightforward once the matrix and cutoff are fixed. For urine at a 150 ng/mL cutoff, a single dose is usually negative by 72 hours and a heavy user by 10 to 14 days. For hair, the window is about 90 days regardless of dose frequency, bounded by hair growth rate. For blood and saliva, the window is under 48 hours in nearly all cases.

Limits of what the numbers can tell you

Every range above is a population estimate, not an individual prediction. Dose is rarely known precisely, and street cocaine purity varies widely. Hydration, urine pH, body fat, liver function, and cutoff all move the result.

Hair analysis carries a specific limitation: environmental contamination can produce a positive without ingestion. Laboratories mitigate this with wash steps and metabolite ratios, but the method is not infallible. Cosmetic treatments can also damage or strip analytes from hair.

No test establishes impairment at the time of collection. Cocaine's psychoactive effect is short, while metabolite detection is long. A positive result answers whether exposure occurred, not whether the person was intoxicated.

Finally, detection windows are not treatment guidance. Anyone concerned about cocaine use should speak with a clinician or a certified laboratory rather than rely on a timeline from a general explainer. The science supports a range; it does not support a promise.