How Long Do Opioids Stay in Your System?

Opioid detection windows vary by specific drug and test type.

Detection Windows by Opioid (Urine)

  • Heroin: 2–3 days
  • Codeine: 2–4 days
  • Morphine: 2–4 days
  • Oxycodone: 3–4 days
  • Hydrocodone: 3–4 days
  • Fentanyl: 1–3 days
  • Methadone: 3–14 days

Hair Testing

  • All opioids: up to 90 days

Important Notes

  • Poppy seeds can cause false positive for codeine/morphine
  • Confirmatory GC-MS distinguishes heroin from prescription opioids
  • Chronic use extends detection window
Source: SAMHSA, NIDA, Mayo Clinic.

Ratings summarize government-reported measures — they don't capture your personal needs. Visit the facility, ask about staffing and services, and use CMS checklists. This profile is informational only and is not a recommendation.

Compare lab testing options near you ↗ (affiliate link)