how long does opium stay in your system

The half-life for opiates can range from 1-9 hours, depending on how much you take and which type. For instance, the half-life of morphine is 1.5-6.5 hours, the half-life of codeine is 1-4 hours, and the half-life of hydrocodone is 3.5-9 hours The amount of time that opiates can be detected in your system relies on the type of test.

Urine tests can detect codeine for up to 48 hours. Morphine can be detected for 48-72 hours. Hydrocodone can be detected for up to 3 days.
Blood tests can detect morphine for up to 6-8 hours in your blood. Codeine can be detected for 12 hours. Hydrocodone can be detected for up to 24 hours.
Hair tests can detect opiates within 7-10 days after use and for up to 90 days.
Saliva tests can detect opiates within 5-10 minutes of use and for up to 24-36 hours

We should note that eating a great deal of poppy seed baked goods can cause morphine to be excreted in urine 6-12 hours after ingestion — even though, due to first-pass metabolism, you don’t receive any of the side effects of morphine. If you’re due for a urine screening, choose a blueberry muffin or plain bagel instead.