How Long Does Cocaine Stay in Your System? Full Timeline
Key Points
- Cocaine has a short half-life of approximately one hour, but its metabolites can remain in the body well past that, often long enough to test positive for cocaine use for several days or up to weeks after the last use.
- The most likely metabolite to test positive for cocaine is benzoylecgonine, which remains in the body longer than cocaine itself.
- The length of time cocaine can be detected depends on the type of drug test performed. A hair test can show cocaine use for as long as 90 days.
- Some factors that can affect cocaine detection time include how often a person uses cocaine, how fast their metabolism is, how hydrated they are, and how well their liver works.
- There are some differing detection timelines for crack cocaine and for cocaine metabolized through other methods.
- Cocaine addiction can be treated, and there are effective options available for people who are ready for help.
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.
How the Body Processes Cocaine
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:
- Benzoylecgonine is the primary metabolite that is routinely tested through drug testing. The liver creates this metabolite when it breaks down cocaine, and it can stay in the body for an extended period of time compared to cocaine itself.
- Ecgonine methyl ester is another metabolite produced during cocaine metabolism, but benzoylecgonine is the most commonly tested metabolite when urine tests and other screening methods are performed.
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.
Factors That Affect Cocaine Detection Times
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:
- Frequency of use. Most people who use cocaine occasionally will metabolize it much more quickly than someone who uses it frequently. Heavy users accumulate metabolite concentrations in fatty tissues, and those metabolites will take longer to clear from the body.
- Amount of cocaine used. More cocaine causes the body to create more metabolites, and higher concentrations of metabolites, the longer it will take to fall below detectable levels. The amount used in a single session is one of the largest factors affecting how long cocaine and its metabolites stay detectable.
- Metabolic rate. People with higher metabolic rates are able to metabolize and excrete substances much more quickly than those with lower metabolic rates. Age, body composition, physical activity, and overall health all play a role in determining metabolic rate.
- Hydration. Staying hydrated helps the kidneys function properly and contributes to eliminating metabolite concentrations through urine. When dehydrated, it takes longer to eliminate metabolites, which may slightly extend the period during which cocaine can be detected through urine testing.
- Liver function. The liver is responsible for metabolizing cocaine, and people with compromised liver function metabolize it much more slowly than those with normal liver function, resulting in longer detection windows.
- Method of ingestion. When cocaine is snorted, it takes longer to absorb into the bloodstream than when it is smoked or injected, since smoking or injecting delivers cocaine to the brain instantaneously. These variations in ingestion method may also affect the rate at which metabolites are produced and eliminated.
How Long Does Cocaine Stay in Urine?
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.
How Long Does Cocaine Stay in Blood?
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.
How Long Does Cocaine Stay in Saliva?
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.
How Long Does Cocaine Stay in Hair?
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.
Cocaine Detection Times at a Glance
| 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 Addiction and Treatment
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.
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.
Frequently Asked Questions
How long does cocaine stay in your urine?
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.
Can cocaine be detected in a hair test after 90 days?
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.
Does drinking water help flush cocaine out of your system faster?
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.
What is the difference between cocaine and crack cocaine in terms of detection?
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.
What should I do if I think a loved one is using cocaine?
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.
Sources
[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







