How Long Does Cocaine Stay In Your Urine?

Medically Reviewed by Johnelle Smith, M.D.

Updated on June 3, 2026

Cocaine is an illicit drug that can be detected in the body through urine drug tests. Urine drug screenings may be required as a condition of employment, hiring, or other mandates through the legal or criminal justice system.

Looking for Addiction or Mental Health Treatment?

AddictionResource.net is an advertising-supported site. Ads on this site are from companies that compensate us and are always clearly identified. This compensation does not influence our facility rankings, resource guides, or other editorially-independent information published on this site.

Learn More About Our Advertisers

At Recovery Guide, our mission is to connect as many individuals struggling with mental health and substance abuse disorders to reputable treatment facilities.

To achieve this goal, we set strict guidelines for our editorial team to follow when writing about facilities and utilize behavioral healthcare experts to review medical content for accuracy.

While we receive compensation in the form of paid advertisements, these advertisements have absolutely no impact on our content due to our editorial independence policy.

Cocaine is a highly addictive stimulant that can be detected in urine long after its effects have worn off. While the high from cocaine typically lasts anywhere from 15 to 90 minutes depending on how it’s taken, the metabolites it leaves behind in the body can be picked up by a urine test for up to four days after the last use, and in some cases longer for heavy or chronic users.

Learning about cocaine detection times and what affects that detection window is useful information for anyone who may be subject to drug testing or is trying to understand their own substance use.

Cocaine Detection Time In Urine

Urine tests for cocaine generally screen for benzoylecgonine, a cocaine metabolite. This metabolite can be detected in the urine for a longer period of time than cocaine.

The detection time for a drug refers to the length of time drug use can be detected in the urine and therefore caught by a drug test. The detection window for identifying cocaine in the urine is between one to four days on average.

What Factors Can Affect Detection Time?

Cocaine can stay in the system or leave the system faster in some people compared to others. The amount of time cocaine stays in the system can be influenced by a wide range of factors.

Factors that can affect how long cocaine stays in the system:

  • age
  • genetics
  • hydration level
  • body composition (e.g. weight, body fat, height)
  • history of drug use
  • polydrug/polysubstance abuse
  • drug dependence and addiction
  • mental health disorders

Chronic use of cocaine may affect how long the drug stays in the system. Chronic cocaine use is a sign of cocaine addiction, which can drastically alter mood, behavior, and health.

What Are Drug Tests Used For?

Drug testing is a common practice in certain settings, particularly in workplaces. Drug screenings are generally used to detect the presence of drugs in the body.

Ad
Get Support
If you or someone you love is struggling with addiction, getting help is just a phone call away, or consider trying therapy online with BetterHelp.
Exclusive offer: 20% Off BetterHelp*
Try Therapy Online With BetterHelp
As a BetterHelp affiliate, we receive commissions if you purchase through the BetterHelp links above.
*Get 20% off your first month of BetterHelp. This offer is only available to users who have never received therapy with BetterHelp.

They can also be ordered by doctors to monitor health concerns in patients who are taking certain prescription drugs.

Drug testing may be used for:

  • pre-employment screening
  • drug-free workplace initiatives
  • sports organizations
  • legal or forensic purposes
  • monitoring opioid use

Healthcare providers may also order drug screenings for people who are showing signs of drug abuse or addiction.

Why Do Workplaces Conduct Drug Screens?

Certain workplaces may require one-time or recurring drug screenings as a condition of employment. This includes settings such as schools, hospitals, and rehab centers. Drug-free workplace programs are often implemented in order to reduce the risk for issues associated with substance use.

These issues may include:

  • decreased productivity
  • high turnover rate
  • high healthcare costs
  • workplace accidents
  • chronic behavioral health problems
  • absences
  • theft

Cocaine use can be a sign of drug abuse and drug addiction. Cocaine addiction can be treated through detox, inpatient rehab, and outpatient treatment services such as counseling, medication, and support groups.

Signs Of Cocaine Use

Cocaine is a dangerous drug of abuse that can lead to chronic issues with health, employment, relationships, and psychological well-being when misused.

Common signs of cocaine use include:

  • runny nose
  • track marks
  • dramatic weight loss
  • extreme talkativeness
  • paranoia
  • depression
  • irritability
  • fast heart rate
  • increased blood pressure
  • high body temperature

Cocaine is highly addictive. Taking it even once can cause disruptions in the brain that can cause cravings to use more. Chronic use of cocaine can cause frequent crashes, drug dependence, withdrawal, and heightened risk of overdose.

Treatment Options For Cocaine Addiction

Cocaine addiction is a serious condition, but it responds well to treatment when the right support is in place. If you or someone you care about is facing cocaine use, there are effective treatment options available.

Treatment services often include:

  • Medical Detox: While cocaine withdrawal is rarely life-threatening, the psychological symptoms such as intense cravings, depression, fatigue, and irritability can be difficult to manage alone. A medically supervised detox provides a safe, supported environment during the acute withdrawal phase.
  • Residential Treatment: Around-the-clock care in a structured setting removes clients from the triggers and environments driving their cocaine use and allows them to focus entirely on recovery.
  • Outpatient Programs: Day treatment and intensive outpatient options provide support on a flexible schedule for people who can’t commit to a residential stay, or as a step-down after completing inpatient treatment.
  • Behavioral Therapy: Cognitive behavioral therapy (CBT) and contingency management are the most evidence-based approaches for cocaine use disorder, helping clients identify triggers, change thought patterns, and build lasting coping strategies.
  • Dual Diagnosis Treatment: Many people who use cocaine also have underlying anxiety, depression, or trauma that needs to be addressed alongside the addiction for treatment to be effective.
  • Support Groups: Cocaine Anonymous and Narcotics Anonymous provide free, ongoing peer support that complements formal treatment and helps people stay connected to recovery after completing a program.

Browse our directory or reach out to the Substance Abuse and Mental Health Services Administration (SAMHSA) for more helpful information about cocaine addiction treatment programs.

This page does not provide medical advice. See more

Addiction Resource aims to provide only the most current, accurate information in regards to addiction and addiction treatment, which means we only reference the most credible sources available.

These include peer-reviewed journals, government entities and academic institutions, and leaders in addiction healthcare and advocacy. Learn more about how we safeguard our content by viewing our editorial policy.

  • Was this Helpful?
  • YesNo