How Long Does Cocaine Stay in Your System?
See approximate detection windows for cocaine across urine, blood, saliva, and hair tests, and the factors that change them. Powder cocaine and crack are the same drug and show the same detection times.
Need support now? Call or text 988 for the Suicide & Crisis Lifeline, or call 1-800-662-HELP for the SAMHSA National Helpline. Free and confidential, 24/7.
Cocaine plus alcohol makes a third drug. Your liver combines them into cocaethylene, which lasts about twice as long as cocaine and is more toxic to the heart and liver than either substance alone. It is linked to a sharply higher risk of sudden cardiac death. It also stretches how long you test positive.
Cocaine is now routinely cut with fentanyl. A cocaine test will not detect it, and people with no opioid tolerance are the ones most likely to die from it. Fentanyl test strips and naloxone are worth carrying even if you never touch opioids on purpose.
Urine vs blood vs saliva vs hair, on the same scale
The solid bar is the shorter end of the range. The faded section shows how much further it can stretch.
How long a cocaine high lasts, by route
How cocaine is taken changes how fast the high arrives and how long it lasts. It does not change the detection windows above, which are set by dose and frequency.
Smoking and injecting hit hardest and fade fastest, which is what drives repeat dosing, and it is the redosing, not the route, that stretches a urine window toward two weeks. Crack and powder are the same drug and show identically on every test.
What affects how long cocaine stays in your system
- How much was taken, and how often. Bingeing pushes the urine window toward two weeks.
- Alcohol taken alongside it, which forms the longer-lasting metabolite cocaethylene.
- Your metabolism, age, and liver and kidney health. Cocaine is broken down by liver enzymes.
- Urine pH and hydration, which shift how fast benzoylecgonine is excreted.
- The lab cutoff. A 150 ng/mL confirmation catches more than a 300 ng/mL screen.
If you are trying to stop using cocaine
Wanting cocaine out of your system is often the first quiet sign you are ready for something to change, and you do not have to do it alone. See what to expect with our withdrawal timeline generator, read about cocaine addiction and medically supervised detox, or take a private self-assessment.
Checking a different substance? Compare detection windows for 34 substances with our full substance detection time calculator.
These windows are general estimates drawn from clinical and forensic toxicology references, not a guarantee for any individual or test. They are not medical or legal advice. If results matter for your health, employment, or a legal situation, talk with a qualified professional or the testing laboratory.
Detection Time Calculators
Every substance has its own window, its own metabolite, and its own way of slipping past a drug test. Pick one to see the detail.
- All substances
- Alcohol
- Cannabis
- Cocaine
- Codeine
- Crystal meth
- Fentanyl
- Gabapentin
- Heroin
- Hydrocodone
- Ketamine
- Klonopin
- Kratom
- LSD
- MDMA
- Methadone
- Opiates
- Ritalin
- Tramadol
- Valium
- Xanax
All windows are estimates. Detection times vary widely from person to person, and no calculator can tell you when a test will be clear.

