
Codeine is partly converted in the liver into morphine, so both substances may appear on the test.
01Detection window by sample type

| Sample | Approximate window |
|---|---|
| Urine | Usually 1–3 days |
| Blood | About a day |
| Saliva | About a day |
| Hair | Up to about 90 days |
Times are approximate and vary from person to person; lab confirmation is the reference.
02Does it show on a standard test?
Yes, it shows on the opioid panel. A prescription for a cough medicine or painkiller containing codeine explains the result, so keep it.
03What makes the window longer or shorter?
- Dose, frequency and length of use.
- Liver and kidney function.
- Age, weight and body fat.
- The type and sensitivity of the test.
There is no magic method
Detox drinks and drinking huge amounts of water don't speed up clearance and can be dangerous. Read about drug cleanse myths.
Read about codeine symptoms, its withdrawal, its harms, medicines that give a positive result.
؟Frequently asked questions
I took cough syrup and have a test. What should I do?
Tell the lab about the medicine and keep the prescription or box. A confirmation test identifies the substance accurately.
Does cough medicine show up on a test?
Yes, if it contains codeine, so tell the lab.
Can the test tell codeine from heroin?
A confirmation test can, because heroin has its own specific by-product.
Sources and references
- Opioids — research topic — National Institute on Drug Abuse (NIDA)
- Drug Testing — U.S. National Library of Medicine — MedlinePlus
A psychiatrist specialising in addiction and mental illness in adults and adolescents, with a focus on dual diagnosis.
For awareness only — not a substitute for medical advice. Editorial policy · View profile


