How Long Does It Take to Get Drugs Out of Urine?

Most drugs clear from urine within one to four days after a single use, but the real answer depends heavily on which substance, how often you used it, and your own body’s metabolism. Cannabis is the famous outlier: a one-time joint might be undetectable in two or three days, while a daily habit can leave traces for weeks. Cocaine metabolites typically wash out faster, and amphetamines fall somewhere in between. The picture gets more complicated once you factor in body composition, age, hydration, and even the pH of your urine.

General Detection Windows by Substance

A broad review of detection times across substances found that a single dose of most drugs of abuse is detectable in urine for roughly one and a half to four days, while chronic users may test positive for about a week after their last use, with cocaine and cannabis users sometimes testing positive even longer than that.1PubMed. Detection times of drugs of abuse in blood, urine, and oral fluid Those ranges are averages, though, and individual drugs behave quite differently. Here is a rough breakdown of what to expect:

  • Cannabis (THC): 1–3 days for occasional use; up to two weeks or longer for heavy, chronic use.
  • Cocaine: 2–4 days for typical recreational use; potentially over a week for heavy or binge use.
  • Amphetamines/methamphetamine: 2–4 days, though urine pH can shift this range significantly.
  • Opioids: 1–3 days for short-acting opioids like heroin or morphine; longer for extended-release formulations.
  • Benzodiazepines: Varies widely by specific drug. A single dose of lorazepam was detectable for over 144 hours (six days) in one controlled study.2PubMed. Windows of detection of lorazepam in urine, oral fluid and hair, with a special focus on drug-facilitated crimes Long-acting benzodiazepines like diazepam can linger considerably longer.
  • Alcohol (ethanol): Ethanol itself disappears from urine within hours, but its metabolites EtG and EtS can be picked up for one to three days depending on how much you drank.

These windows assume a standard immunoassay screening test with typical laboratory cutoff levels. Lower cutoffs extend the detection window; higher cutoffs shrink it. The numbers also assume you are a generally healthy adult with normal kidney function.

Cannabis Is the Slowest to Leave

THC stands apart from other drugs because its main metabolite, THC-COOH, is fat-soluble and gets stored in body fat. When you stop using, those stores slowly release THC-COOH back into the bloodstream, where the kidneys filter it into urine. This is why heavy cannabis users face the longest detection windows of any common recreational drug.

A monitored-abstinence study sorted participants by how much THC-COOH was in their initial urine samples. The lightest-use group averaged fewer than five days to their last positive specimen at the standard 50 ng/mL cutoff, the moderate group averaged about ten days, and the heaviest group averaged over fifteen days.3PubMed Central. Urinary Elimination of 11-Nor-9-carboxy-Δ9-tetrahydrocannabinol in Cannabis Users During Continuously Monitored Abstinence But those are averages. A separate study that looked at chronic users under a more sensitive laboratory cutoff found that one participant excreted detectable THC in urine for nearly 25 days, even though her specimen collection was tightly controlled and there was no question of re-use.4PubMed Central. Extended Urinary Delta9-Tetrahydrocannabinol Excretion in Chronic Cannabis Users Precludes Use as a Biomarker of New Drug Exposure

If you used cannabis once at a party, you are probably clear within three to four days for a standard workplace test. If you have been smoking daily for months, plan for at least two weeks of abstinence and possibly longer. People with higher body fat percentages tend to store more THC-COOH and release it over a longer period, which brings us to the body composition factor discussed later in this article.

Cocaine and Its Metabolites

Cocaine itself has a short half-life and disappears from blood quickly. What urine tests actually detect is benzoylecgonine (BZE), the primary metabolite the liver produces when it breaks cocaine down. In a controlled study, the half-life of BZE excretion in urine averaged about four and a half hours, and subjects excreted roughly 14–17% of the total cocaine dose as BZE.5PubMed. Urinary excretion of cocaine, benzoylecgonine, and ecgonine methyl ester in humans For a typical single use, that translates to a detection window of two to four days.

Heavy or binge use changes the math considerably. A study using a sensitive assay found that patients who had used cocaine heavily showed detectable BZE in urine for 11 to 17 days, with a slow, steady decline in concentration that confirmed no re-use was occurring.6PubMed Central. A sensitive assay for the urinary cocaine metabolite benzoylecgonine The researchers noted that the excretion pattern did not follow a simple, predictable curve; instead, BZE elimination half-life varied wildly within the same person at different time points, ranging from 11 to 140 hours. If you have been using cocaine frequently or at high doses, a week may not be enough to test clean.

One interesting data point involves a completely different route of exposure. When cocaine eye drops were used for a diagnostic eye procedure, 70% of patients still tested positive on a urine screen at 24 hours, and one person tested positive at 48 hours, though no one was positive at 72 hours.7PubMed. Duration of positive urine for cocaine metabolite after ophthalmic administration: implications for testing patients with suspected Horner syndrome using ophthalmic cocaine The dose from eye drops is far smaller than a recreational dose, which helps illustrate how detection windows scale with the amount that enters your body.

Amphetamines and the Urine pH Effect

Amphetamines and methamphetamine have a quirk that most other drugs do not share to the same degree: how acidic or alkaline your urine is can dramatically change how fast you excrete them. Amphetamine is a weak base, which means it stays dissolved in acidic urine and gets flushed out efficiently. In alkaline urine, the drug is reabsorbed back into the bloodstream through the kidney tubules instead of being excreted, so it sticks around longer.

A classic pharmacokinetic study confirmed this by giving amphetamine to healthy subjects under conditions of both urine acidification and alkalinization, finding that the drug was eliminated much more rapidly when urine was acidic.8PubMed. Kinetics, salivary excretion of amphetamine isomers, and effect of urinary pH Mechanistic modeling work has further demonstrated that urine pH reliably predicts how much amphetamine and methamphetamine end up in urine versus staying in the blood.9PubMed Central. Mechanistic PBPK Modeling of Urine pH Effect on Renal and Systemic Disposition of Methamphetamine and Amphetamine

In practical terms, someone on a diet high in meat and cranberry juice (which acidifies urine) might clear amphetamines faster, while someone eating a heavily plant-based diet or taking antacids could retain them longer. The general detection window of two to four days assumes typical urine pH. Extremes in either direction can meaningfully shift that range.

Alcohol Metabolites Are Trickier Than You Think

Alcohol itself metabolizes quickly, with most healthy adults clearing roughly one standard drink per hour. Ethanol is usually undetectable in urine within 12 hours of a moderate drinking session. But modern tests often look for ethyl glucuronide (EtG) and ethyl sulfate (EtS), which are minor metabolites that linger far longer than ethanol itself.

In a dose-ranging study, EtG at the commonly used 100 ng/mL cutoff was detectable in every single participant at 12 hours after finishing drinking, regardless of how much they consumed. At 24 hours, detection rates for moderate and heavy doses were still above 80% at that cutoff. Even at 48 hours, up to 40% of participants who had consumed medium or heavy doses still tested positive.10PubMed Central. Ethylglucuronide and Ethyl Sulfate Assays in Clinical Trials, Interpretation and Limitations: Results of a Dose Ranging Alcohol Challenge Study and Two Clinical Trials Light drinkers, by contrast, were negative at all cutoffs by the 48-hour mark.

Heavy drinkers face an even wider window. A study of patients in alcohol detoxification found that EtG remained detectable for a median of about 78 hours (roughly three days) after their last drink, with some individuals staying positive for over 130 hours, which is more than five days.11Alcohol and Alcoholism. Detection times for urinary ethyl glucuronide and ethyl sulfate in heavy drinkers during alcohol detoxification If you are in a monitoring program that uses EtG testing, a weekend binge could still be visible on a Tuesday or Wednesday urine sample.

Why Your Body Matters as Much as the Drug

Detection windows published in reference tables are population averages. Your personal window depends on several physiological factors that can push it shorter or longer.

Body fat is one of the biggest variables, especially for fat-soluble drugs like THC. But the principle extends broadly. A study comparing drug elimination in people with obesity versus lean controls found that the volume of distribution for drugs increased across the board in people with higher body fat, and for fat-soluble drugs specifically, the increase in elimination half-life was disproportionately larger.12PubMed. Effect of lipophilicity on drug distribution and elimination: Influence of obesity In plain terms, more body fat gives fat-soluble drugs more places to hide, and it takes longer for the body to pull them out and excrete them.

Age is another factor. Kidney function peaks in early adulthood and then gradually declines. A review of age-related pharmacokinetic changes found that both renal and liver clearance decrease with age, and the volume of distribution for fat-soluble drugs increases, all of which prolong how long a drug stays in the body.13PubMed Central. Age-related changes in pharmacokinetics and pharmacodynamics: basic principles and practical applications An older adult may test positive a day or two longer than a younger person using the same dose of the same drug. The same age-related decline in renal clearance has been noted in more recent reviews as well, with the implication that renally excreted drugs often require dose adjustments in older adults specifically because they linger longer.14Current Pharmacology Reports. Absorption to Excretion: The Aging Body’s Take on Drugs – A Review of Pharmacokinetic Changes and their Impact on Medication Management

Hydration matters too, though not quite in the way people hope. Drinking large amounts of water dilutes the concentration of drug metabolites in your urine, which can push a result below the test’s cutoff. But labs check for this by measuring creatinine concentration. If your urine creatinine falls below about 20 mg/dL, the sample is flagged as dilute and is typically rejected. Research has shown that ingesting creatine supplements can raise urinary creatinine enough to mask extreme dilution.15PubMed. The effect of creatine ingestion on urinary creatinine concentration: Does supplementation mask a heavy dilution? When dilute specimens were tested with lower screening cutoffs in one large dataset, nearly 19% of them confirmed positive for one or more drugs, suggesting that dilution was hiding real drug use in a meaningful fraction of samples.16PubMed. Impact of lowering the screening and confirmation cutoff values for urine drug testing based on dilution indicators

The underlying biology of renal clearance involves three processes: filtration at the kidney’s filter, active secretion from blood into urine by transport proteins in the kidney tubules, and reabsorption back into blood. The balance of these three processes varies by drug.17PubMed. Mechanisms and clinical implications of renal drug excretion Drugs that are heavily reabsorbed (like amphetamines in alkaline urine) stay in your system longer. Drugs that are actively secreted get cleared faster. This is why generalizing across substances is so unreliable.

Detox Products and Adulteration

A thriving market of “detox drinks,” synthetic urine kits, and urine additives promises to help people pass drug tests. The science on these products is mixed at best, and labs have gotten better at catching them.

Common household adulterants like bleach, table salt, and laundry detergent can interfere with some screening tests, but most of them alter the specimen’s pH, specific gravity, or temperature enough to be caught by routine integrity checks.18PubMed. The effects of adulterants and selected ingested compounds on drugs-of-abuse testing in urine Commercial products are trickier. Some contain oxidizing agents that can actually destroy drug metabolites in the sample. A review of adulterant chemistry noted that oxidants like pyridinium chlorochromate and potassium nitrite can render drugs and their metabolites undetectable, and that their effect applies regardless of which testing technology is used downstream.19PubMed. Adulterants in Urine Drug Testing

However, labs are catching up. A 2022 study evaluated several commercially available adulterants and synthetic urines by sending prepared samples to five forensic drug testing laboratories. One adulterant containing iodate reduced THC-COOH concentrations by about 65%, but both that product and another containing nitrite were flagged by oxidant screens. Meanwhile, synthetic urine products were harder to detect: none of the ten synthetic urines tested were identified through standard specimen validity testing.20PubMed. Update on Urine Adulterants and Synthetic Urine Samples to Subvert Urine Drug Testing Observed collections, where someone watches you provide the sample, largely neutralize the synthetic urine strategy but do not stop additives concealed in small containers.

False Positives from Everyday Medications

Before you panic about a positive result, it is worth knowing that urine immunoassays are screening tools, not definitive answers. They work by detecting molecules that are structurally similar to target drugs, which means some perfectly legal medications can trigger a positive result. A review of false-positive cases identified 19 common medications that had produced incorrect results, including over-the-counter drugs like ibuprofen, diphenhydramine (Benadryl), dextromethorphan (found in many cough syrups), and naproxen. The most commonly reported false positives were for amphetamines and methamphetamine.21PubMed. Commonly prescribed medications and potential false-positive urine drug screens

A broader literature review confirmed that false-positive interferences have been documented across all major drug classes tested by immunoassay, including opiates, benzodiazepines, cannabinoids, phencyclidine, barbiturates, and LSD.22PubMed. False-positive interferences of common urine drug screen immunoassays: a review This is why any positive screening result should be confirmed by a more specific method, typically mass spectrometry, before being treated as definitive. If you are taking a prescription antidepressant, antipsychotic, or even a common antihistamine, mention it before or immediately after any drug screening so the testing lab can interpret results in context.

Can Passive Exposure Cause a Positive Test?

The “I was just in the room” defense is one of the most debated topics in drug testing. For cannabis, the answer is yes, extreme secondhand smoke exposure can produce a positive urine test, but the conditions have to be fairly extreme. A controlled study that exposed non-smokers to heavy cannabis smoke in an unventilated room found that some did produce positive urine results at standard cutoff concentrations. The researchers concluded, however, that these results were limited to the hours immediately after exposure and would only occur in environmental circumstances so obvious that the exposure itself would be hard to deny.23PubMed Central. Non-Smoker Exposure to Secondhand Cannabis Smoke. I. Urine Screening and Confirmation Results

Earlier research also detected cannabinoids in urine after passive inhalation, though the concentrations were generally low. The study authors themselves cautioned that the presence of cannabinoids in blood or urine does not serve as unequivocal proof of active smoking.24Journal of Forensic Sciences. Cannabinoids in Blood and Urine after Passive Inhalation of Cannabis Smoke Simulation modeling has attempted to predict how much metabolite builds up from passive exposure in various room conditions, but the practical takeaway is the same: casual secondhand exposure in a ventilated space is extremely unlikely to trigger a positive test at the cutoff levels used by most laboratories.25Journal of Forensic Sciences. An Indoor Air Quality-Pharmacokinetic Simulation of Passive Inhalation of Marijuana Smoke and the Resultant Buildup of 11-Nor-Delta-9-Tetrahydrocannabinol-9-Carboxylic Acid in Urine

How Urine Compares to Other Test Types

Urine is the most common drug testing specimen for workplace and legal purposes, but it is not the only option, and each specimen type has a different detection window. Blood and plasma detect most drugs for only one to two days because they reflect what is actively circulating right now.1PubMed. Detection times of drugs of abuse in blood, urine, and oral fluid Oral fluid (saliva) typically has a window of five to 48 hours, making it useful for detecting very recent use but not much else. Hair testing goes in the opposite direction, with a detection window that can stretch back 90 days or more because drug molecules get incorporated into the hair shaft as it grows.

Each specimen type has trade-offs. Urine is inexpensive and relatively easy to collect, and its longer detection window compared to blood makes it better at catching use within the past few days. For lorazepam, for instance, urine was the best specimen for documenting exposure because the drug was detectable for over six days, while oral fluid went negative after just eight hours and hair was unable to detect a single dose at all.2PubMed. Windows of detection of lorazepam in urine, oral fluid and hair, with a special focus on drug-facilitated crimes On the other hand, urine is easier to adulterate or substitute than blood or hair, which is one reason observed collections exist.

Sample Storage and Pre-Analytical Stability

Once a urine sample is collected, it is not frozen in time. Drug concentrations in stored urine can change depending on temperature, pH shifts, and even the material of the collection container. A systematic review of pre-analytical stability found that elevated temperatures can degrade both the drugs themselves and the creatinine used to validate the sample. Chemical transformations and adhesion of certain compounds to container walls (cannabis metabolites are particularly prone to this) can lower measured drug concentrations and potentially flip a positive result to a negative one over time.26Journal of Analytical Toxicology. Pre-analytical stability of drugs of abuse in urine for confirmatory testing: a systematic review This matters most in legal or forensic contexts where there may be a delay between collection and analysis. Laboratories that are aware of these issues adjust their storage and transport protocols accordingly, but it is worth knowing that a delayed test is not always equivalent to a timely one.