EducationJuly 23, 2026by Chase438 reads

How Long Do Drugs Stay in Your System? Complete Detection Times by Substance

The amount of time a drug remains detectable depends on the substance, the test type, your metabolism, frequency of use, and a host of other factors. We compiled the most up-to-date detection windows from peer-reviewed toxicology literature, organized by substance and test method.

How Detection Windows Work

Drug detection windows are not fixed numbers, they depend on:

  • Half-life of the drug: How quickly your body metabolizes and eliminates it
  • Fat solubility: Drugs stored in fat tissue (THC, benzodiazepines) linger longer than water-soluble drugs
  • Frequency of use: Chronic use builds up tissue stores that take longer to clear
  • Individual metabolism: Liver function, body fat percentage, hydration, age
  • Test cutoff concentration: Lower cutoff = longer detection window

The detection windows below represent the typical range for most people based on peer-reviewed toxicology studies. They are not guarantees.

Complete Detection Times Reference Table

SubstanceUrineBloodSalivaHairHalf-Life
Alcohol12-48 hours6-12 hours6-12 hoursUp to 90 days4-5 hours
THC (single use)3-5 days2-24 hours1-3 daysUp to 90 days20-36 hours
THC (chronic)14-45 days3-7 days1-29 daysUp to 90 days20-36 hours
THC (daily heavy)30-77 days7-14 daysUp to 30 daysUp to 90 days20-36 hours
Cocaine2-4 days12-24 hours12-48 hoursUp to 90 days~1 hour
Cocaine (chronic)5-10 days1-2 days1-3 daysUp to 90 days~1 hour
Heroin1-3 days6-12 hours6-24 hoursUp to 90 days2-6 minutes
Codeine2-4 days24 hours12-36 hoursUp to 90 days2-4 hours
Morphine2-4 days6-24 hours12-24 hoursUp to 90 days2-3 hours
Fentanyl24-72 hours6-12 hours6-24 hoursUp to 90 days3-7 hours
Methamphetamine3-6 days12-24 hours12-72 hoursUp to 90 days9-24 hours
Amphetamine2-4 days12-24 hours12-48 hoursUp to 90 days9-14 hours
MDMA2-4 days12-24 hours12-24 hoursUp to 90 days6-9 hours
LSD2-4 days6-12 hours2-6 hoursUp to 90 days3-5 hours
Psilocybin15-24 hours6-12 hours6-12 hoursUp to 90 days~2 hours
Ketamine2-5 days6-24 hours12-24 hoursUp to 90 days2-3 hours
GHB6-12 hours4-6 hours4-6 hoursUp to 90 days30-50 minutes
Benzodiazepines (short)3-5 days12-24 hours1-3 daysUp to 90 days6-24 hours
Benzodiazepines (long)14-30 days3-7 days3-7 daysUp to 90 days20-100 hours
Xylazine2-4 days12-24 hours12-24 hoursUp to 90 days6-8 hours

Key Takeaways by Drug Class

Cannabis (THC)

THC is the most detectable drug because it is fat-soluble. It accumulates in adipose tissue and is released slowly over time. Occasional users may test positive for 3-7 days. Daily heavy users can test positive for 30-77 days after cessation, one study found detectable THC-COOH (the primary metabolite) for up to 77 days after last use.

Important: CBD products that contain trace THC (up to 0.3% in federally legal hemp) generally do NOT produce positive drug tests. However, full-spectrum CBD products with higher THC levels can cause positives, especially with daily use.

Opioids

Heroin has the shortest detection window of any opioid, its half-life is measured in minutes. However, its metabolite (6-MAM) and further metabolites (morphine, codeine) are detectable for 1-3 days in urine.

Fentanyl is detectable for 24-72 hours in urine. Standard opioid immunoassay tests may NOT detect fentanyl, it requires a specific fentanyl test strip or a customized GC-MS method. This is why many overdose deaths involve fentanyl-positive users who screened negative on a standard opioid test.

Stimulants

Methamphetamine remains detectable longer than amphetamine due to its slightly longer half-life and higher fat solubility. Both can be detected in urine for 3-6 days after moderate use.

MDMA is detectable for 2-4 days. It can cause false positives for amphetamine on some immunoassay screens due to structural similarity, GC-MS confirmation is required for definitive identification.

Psychedelics

Psilocybin (magic mushrooms) has one of the shortest detection windows, typically under 24 hours in urine. The body converts psilocybin to psilocin, which is rapidly eliminated.

LSD is detectable for only 2-4 days in urine and 6-12 hours in blood. Most standard drug panels do NOT test for LSD, but specialized tests exist for probation, military, and certain employment contexts.

Benzodiazepines

Detection windows vary enormously by half-life:

  • Short-acting (alprazolam/Xanax, triazolam): 3-5 days in urine
  • Long-acting (diazepam/Valium, chlordiazepoxide): 14-30 days in urine

The metabolites of long-acting benzodiazepines accumulate with regular use and can persist for weeks after the last dose.

Factors That Extend Detection Windows

  • Body fat percentage: Higher body fat = longer detection for fat-soluble drugs (THC, benzodiazepines)
  • Frequency of use: Regular/chronic use leads to tissue accumulation
  • Liver function: Impaired liver function slows metabolism
  • Kidney function: Impaired kidney function slows elimination
  • Hydration: Dehydration concentrates urine and may increase detection likelihood
  • Age: Older adults metabolize drugs more slowly
Sponsored
Sponsored — Surfshark VPN

Protect your connection while traveling

Factors That Shorten Detection Windows

  • Hydration: Well-hydrated individuals produce more dilute urine (but excessive water intake before a test can trigger a "dilute" result, which may be treated as a positive by some programs)
  • Exercise: Increases metabolism and fat mobilization, but may temporarily increase THC metabolite levels as stored THC is released from fat cells
  • Metabolic rate: Faster metabolism = faster clearance

Common Drug Testing Panels

PanelDrugs TestedTypical Use
5-PanelTHC, Cocaine, Opiates, PCP, AmphetaminesEmployment (standard)
8-PanelSame + MDMA, Benzodiazepines, BarbituratesSafety-sensitive positions
10-PanelSame + Methadone, Propoxyphene, QuaaludesClinical, probation
12-PanelSame + Buprenorphine, OxycodonePain management
16-PanelExtended opiate panel including fentanylOpioid treatment programs
Note: This article is for educational purposes only. We are not medical professionals. Detection windows vary by individual. Always consult a qualified healthcare provider for specific advice about drug testing.
detection timesdrug testingurine testblood testhair testhalf-lifetoxicology
Share this

Ready to Test Safely?

All reagents, test strips, and testing accessories mentioned in this guide are available in our catalog — shipped discreetly worldwide.

Browse Catalog

Keep Reading

The Harm Reduction Letter

New testing guides, supply alerts, and one honest product pick per week. No spam, no sharing your address.

T
Testsubstances.com

Supporting global harm reduction efforts since 2020. We curate, evaluate, and provide analytical tools for testing kits to verify substance integrity and protect communities.

Connect With Us

Follow our channels for educational guides, laboratory breakdowns, and safety alerts.

Affiliated Merchant

All chemical products showcased are directly fulfilled and dispatched by our verified partner, Test Kit Plus.

Visit Test Kit Plus →

CRITICAL HEALTH & SAFETY NOTICE: Testsubstances.com harm reduction test kits are strictly qualitative screening reagents intended solely for analytical identification. Reagent tests do not guarantee absolute purity, and cannot screen for all potential active cutting agents, lethal impurities, or adulterants. No substance consumption is ever 100% safe. Always practice extreme caution and consult qualified medical professionals.

© 2020–2026 Testsubstances.com. All rights reserved.