Quick answer
Opiates / opioids (heroin, morphine, codeine) is typically detectable in urine for ~1–2 days (6-MAM vanishes within ~8–22 hours; total morphine window 1–3 days) after heroin; 1–3 days after codeine_morphine; up to 4 days chronic after heavy use. It is screened on standard 5-panel, 10-panel, 12-panel, DOT drug tests.
Screened on: 5-panel 10-panel 12-panel DOT
Typical cutoff: Urine: 2,000 ng/mL morphine/codeine initial; 2,000 confirm. Heroin's unique marker 6-MAM confirms at 10 ng/mL.
Detection window by test type
| urine | |
|---|---|
| heroin | ~1–2 days (6-MAM vanishes within ~8–22 hours; total morphine window 1–3 days) |
| codeine_morphine | 1–3 days |
| Heavy use | up to 4 days chronic |
| saliva | |
| Any use | 1–2 days |
| hair | |
| Any use | up to 90 days |
| blood | |
| Any use | ~12–24 hours |
Ranges reflect typical published detection windows and vary with dose, frequency, body composition, hydration and the assay used.
Key details
The federal opiate panel targets morphine and codeine at a deliberately high 2,000 ng/mL cutoff — set precisely so poppy-seed breakfasts don't trigger careers-ending positives — plus heroin-specific 6-MAM confirmation.
Heroin metabolizes within minutes to 6-MAM then morphine; finding 6-MAM proves heroin specifically, since poppy seeds never contain it.
'Lean'/purple drank relies on codeine syrup: standard opiate detection applies (1–3 days urine).
Modern semi-synthetic opioids (oxycodone, hydrocodone, fentanyl, tramadol, methadone, buprenorphine) sit OUTSIDE the classic opiate strip — they need their own expanded-panel slots.
False positives & cross-reactivity
- Poppy seeds: documented true morphine/codeine positives; EU-source rolls are worst. Cutoff raise to 2,000 ng/mL (2000 confirm) mitigates.
- Quinine, dextromethorphan, diphenhydramine, ofloxacin/levofloxacin, rifampin: historical screen-only false positives, resolved by confirmation.
Frequently asked questions
How long does opiates / opioids (heroin, morphine, codeine) stay in your system?
In urine, typical detection is ~1–2 days (6-MAM vanishes within ~8–22 hours; total morphine window 1–3 days) (heroin); 1–3 days (codeine_morphine); up to 4 days chronic (heavy use). Hair can detect use for up to 90 days and saliva/blood windows are usually shorter.
Will opiates / opioids (heroin, morphine, codeine) show up on a standard drug test?
Yes — Opiates / opioids (heroin, morphine, codeine) is screened on standard panels (5-panel, 10-panel, 12-panel, DOT).
Can anything cause a false positive for opiates / opioids (heroin, morphine, codeine)?
Poppy seeds: documented true morphine/codeine positives; EU-source rolls are worst. Cutoff raise to 2,000 ng/mL (2000 confirm) mitigates. Quinine, dextromethorphan, diphenhydramine, ofloxacin/levofloxacin, rifampin: historical screen-only false positives, resolved by confirmation.
How accurate are these detection windows?
They are typical ranges from published literature and assay documentation, not guarantees. Clearance depends on dose, frequency, metabolism and the specific test cutoff used.
Related substances
Cite this page
DrugPanels. “Opiates / opioids (heroin, morphine, codeine) Detection Time.” https://drugpanels.com/detection/opioids/. Accessed 2026-09-10.
Sources
- Brahm NC et al., Commonly prescribed medications and potential false-positive drug test results, Mayo Clinic Proceedings 2008 — Mayo Clinic Proceedings — pubmed.ncbi.nlm.nih.gov
- SAMHSA Mandatory Guidelines for Federal Workplace Drug Testing Programs — Substance Abuse and Mental Health Services Administration — samhsa.gov
Detection windows describe typical ranges from the published literature and assay documentation; individual results vary. See our methodology.