Cocaine works by acting on the central nervous system, flooding the brain with dopamine when ingested, resulting in an intense but brief euphoric high.[1] Since the high goes away quickly, many people use it multiple times in a short time frame to maintain that state, ultimately putting themselves at a much higher risk for addiction and other medical problems.
The most common way cocaine is used is by snorting it in powder form, though it can also be dissolved and injected or processed into crack cocaine and smoked. Each method will create different timelines for how quickly the drug reaches the brain, how strongly its effects are felt, and how the body processes and eliminates it.
Understanding how long cocaine stays in the body is relevant both for drug testing purposes and for understanding the health consequences of ongoing use.
Cocaine is metabolized by the liver almost immediately after it enters the body, using enzymes (proteins found in the body that speed up chemical reactions) to break down the cocaine.[2] The half-life of cocaine, or the amount of time it takes for the body to metabolize half of the amount in the body, is approximately 0.5 to 1.5 hours, meaning that cocaine leaves the bloodstream relatively quickly.[3]
But although cocaine quickly leaves the bloodstream, it produces several metabolites, which are the substances made from the breakdown of cocaine, that will remain in the body long after the drug’s effects have worn off, including:
Because drug testing detects the metabolites created through the metabolism of cocaine instead of the cocaine itself, a person can test positive for cocaine long after the effects have worn off.
The effects of cocaine are much shorter than its detection window. When snorted, the high typically peaks within minutes and lasts about 15 to 30 minutes. When smoked or injected, the high is more intense but shorter, often lasting only 5 to 10 minutes.
This brief high is one reason people tend to use cocaine repeatedly in a single session. Repeated use raises the amount of benzoylecgonine in the body and extends how long a drug test can detect it. A person may feel completely sober while metabolites are still present in urine, saliva, or hair.
When cocaine and alcohol are used together, the liver produces an additional substance called cocaethylene. Cocaethylene is psychoactive and stays in the body longer than cocaine itself. Research also links it to a greater strain on the heart and liver than either substance alone.
Mixing the two can extend how long cocaine-related substances remain in the body and raises the risk of cardiovascular complications. Anyone who regularly combines cocaine and alcohol should speak with a medical professional, since this pattern often points to a need for integrated substance use treatment.
The length of time cocaine and its metabolites are detectable will vary from person to person, depending on several individual and behavioral factors. Some of the most common factors are listed below:
Urine testing is the most common method used to detect cocaine use.[4] For occasional users, benzoylecgonine will stay in the urine for 2–4 days after the last use. For heavier users or those using larger quantities, benzoylecgonine may be detected for one to two weeks or longer.
Urine testing has become the standard for identifying cocaine use in employment settings, court hearings, and substance use treatment centers because it is a practical way to get the best detection measure possible. A positive urine test means that cocaine has been used recently, but it does not provide specific time frames for when cocaine was consumed or how much was used.
Blood testing provides the shortest detection window. Cocaine itself is only detectable in blood for 4–6hours, while benzoylecgonine will be detectable for 24–48 hours after use. Blood testing is mostly used immediately after use to confirm recent consumption, in roadside testing, and in emergency healthcare settings following an overdose or acute health emergency.
For this reason, blood testing is very rarely used for routine drug screening compared to urine testing.
Saliva testing is not as commonly used as urine testing, but it is increasingly being used for roadside drug testing and in some employment situations. Cocaine and its active metabolites can generally be detected in saliva for 1–2 days after the last use, with some variation depending on the amount consumed and individual metabolic rate.
Saliva tests are generally a good indicator of recent drug use rather than historical patterns of cocaine use.
Hair testing provides the longest detection window of any testing method. When substances are used, the active metabolites become incorporated through the blood into hair follicles as hair grows, recording drug use history. The average person grows approximately half an inch of hair per month, so a standard hair sample of 1.5 inches in length can detect cocaine use for a period of up to 90 days.
Hair testing is not effective for detecting very recent cocaine use, as the metabolites need to be present in the hair follicle before they can be detected. Use within the last 7–10 days prior may not appear on a hair test. However, hair tests provide the longest detection window for identifying patterns of cocaine use over an extended period.
It should be noted that hair can become contaminated from external sources. Laboratories conducting hair testing will perform additional tests to identify metabolites from internal use versus environmental surroundings.
Drug tests do not detect every trace of cocaine. A result is positive only when the metabolite level is at or above a set cutoff concentration. Under the federal workplace testing guidelines published by the U.S. Department of Health and Human Services (HHS), the standard cutoffs for cocaine metabolites are:
| Test Type | Initial Screening Cutoff | Confirmatory Test Cutoff |
| Urine | 150 ng/mL | 100 ng/mL |
| Oral fluid (saliva) | 15 ng/mL | 8 ng/mL |
| Hair | 500 pg/mg | 50 pg/mg |
Employers and treatment programs may use different cutoffs than federal programs. A person whose metabolite levels fall below the cutoff may test negative even though trace amounts are still in the body. Initial screening results are usually confirmed with a more precise lab method such as GC-MS or LC-MS/MS.
False positives for cocaine are uncommon because the tests target benzoylecgonine, a metabolite specific to cocaine. The most commonly cited cause is coca leaf tea (sometimes sold as mate de coca), which contains trace alkaloids and can produce a positive result.
Over-the-counter medications and medical anesthetics are unlikely to cause a true false positive, but some topical anesthetics (such as cocaine-based formulations used in rare medical procedures) can. If you have a positive result you believe is incorrect, you can request a confirmatory test and share any medications or products you have used with the Medical Review Officer (MRO).
| Test Type | Estimated Detection Window |
| Urine | Occasional use: 2–4 days
Heavy use: Up to 2 weeks or longer |
| Blood | Metabolites: Up to 48 hours
Cocaine itself: 4–6 hours |
| Saliva | 1–2 days |
| Hair | Up to 90 days |
Cocaine withdrawal is mainly psychological and emotional rather than physically dangerous, but it can be intense. Symptoms typically begin within hours to a few days after the last use and may include:
The most acute symptoms often last one to two weeks, though cravings, low mood, and disrupted sleep can linger for weeks or months. Withdrawal-related depression can sometimes include thoughts of self-harm, so professional support is important. Medically supervised detox and a structured treatment plan reduce the risk of relapse during this period.
Knowing how long cocaine remains within the body is only one piece in a much larger puzzle. If someone finds themselves in a state where cocaine use is negatively impacting their health, their relationships, their job, or their ability to function on a daily basis, then it may indicate a need for assistance and support from professionals.
Cocaine dependency, formally referred to as stimulant use disorder, is a serious, although treatable disorder. Withdrawal symptoms from cocaine, including intense cravings, fatigue, depression, and insomnia, may not be life-threatening, but can be very difficult and uncomfortable to cope with without support.[5]
Treatment typically involves a medically supervised detoxification before developing a structured treatment plan based on the individual’s specific needs.
A positive test can be stressful, but it is also an opportunity to get help. Consider these steps:
Ikon Recovery offers confidential assessments and a full continuum of care. Call (844) 394-4566 or contact our admissions team to talk through your options.
At Ikon Recovery, we provide a full continuum of care for people struggling with cocaine dependency, including partial care, intensive outpatient programs, and long-term success through aftercare planning. If you or someone you love is suffering from a cocaine addiction and is ready to take the initial steps toward recovery, the staff at Ikon Recovery is here and ready to help you take that step.
Occasional cocaine users typically have positive urine tests for two to four days from the last known use. For heavy or chronic users, cocaine metabolites can remain detectable in urine for two weeks or longer. The primary metabolite tested for in urine drug screening is benzoylecgonine.
Hair tests can typically detect cocaine use for up to 90 days, as metabolites become incorporated into the hair follicle as it grows. However, hair tests are not reliable for detecting use that occurred within the past seven to ten days, as it takes time for the relevant section of hair to grow above the scalp.
Maintaining proper hydration does help improve kidney function and the excretion of metabolites through urine. However, there is no reliable method to significantly speed up the elimination of cocaine from the body, and attempting to dilute a urine sample can render the screening results rejected.
Both crack cocaine and powder cocaine produce the same metabolic byproducts, so detection times are broadly similar. The major difference is that crack cocaine is smoked, which allows for a much faster absorption rate than powdered cocaine, which is usually used through the nasal cavity. This affects the intensity and duration of the high more than it affects overall metabolite detection windows.
If you are concerned about someone you care about, try to be understanding and compassionate rather than accusatory. Reaching out to a treatment center for guidance on how to support a loved one is a good starting point. Professional interventions, family therapy, and addiction treatment programs can all play a role in helping someone begin the recovery process.
Cocaine itself is detectable in blood for about 4 to 6 hours after use. Its metabolite, benzoylecgonine, can be detected for up to 24 to 48 hours. Blood tests are used mostly in emergencies, roadside testing, and medical settings rather than routine screening.
Yes. Cocaine (tested as its metabolite benzoylecgonine) is included in standard 5-panel and 10-panel urine drug tests, which are the most common screens used by employers and treatment programs.
Cocaine and its metabolites are typically detectable in saliva for 1 to 2 days after the last use. Saliva tests are better at identifying recent use than long-term patterns.
Daily or heavy use causes metabolites to build up in the body, including in fatty tissue. In urine, benzoylecgonine may be detectable for one to two weeks or longer after the last use, depending on dose, frequency, metabolism, and liver function.
Yes. Combining cocaine and alcohol creates cocaethylene, a substance that stays in the body longer than cocaine and puts extra strain on the heart and liver. This can extend how long cocaine-related substances are present and increases health risks.
It can, but not reliably. Hair tests are better at detecting repeated or regular use over about 90 days. A single, low-dose use may fall below the cutoff, and use within the last 7 to 10 days may not appear yet because the hair needs time to grow out of the scalp.
It is very unlikely. Labs use cutoff levels and washing procedures for hair tests to distinguish internal use from environmental contamination. If a result is disputed, a confirmatory test can be requested.
The most intense symptoms, such as fatigue, low mood, and cravings, usually peak within the first week and ease over one to two weeks. Cravings and mood changes can continue for weeks or months, which is why ongoing treatment and aftercare support recovery.
Cocaine withdrawal is not usually life-threatening, but it can cause severe depression, anxiety, and intense cravings that raise the risk of relapse or self-harm. Medically supervised detox and a structured treatment plan provide safer and more effective support.
Treatment typically includes medically supervised detox followed by programs such as partial care, intensive outpatient treatment, behavioral therapies like CBT and motivational interviewing, and aftercare planning. The right level of care depends on the severity of use and any co-occurring mental health conditions.
[1] [2] [5] National Institute on Drug Abuse. (2024). Cocaine drug facts. https://nida.nih.gov/publications/drugfacts/cocaine
[3] National Center for Biotechnology Information. (2023). Cocaine. In StatPearls. https://www.ncbi.nlm.nih.gov/books/NBK430769/
[4] National Institute on Drug Abuse (NIDA). (2023, November 21). Drug testing. National Institute on Drug Abuse. https://nida.nih.gov/research-topics/drug-testing