How Long Do Opioids Stay in Your System?

DetoxWater Editorial Team•Published November 5, 2026

Opioids can be detectable in urine for 1–2 days for morphine or 2–11 days for methadone, depending on the drug, test, dose, frequency of use and individual metabolism. These are reference ranges, not guarantees of a positive or negative result. For broader information about stopping substances safely, see substance detox.

How long are opioids detectable by test type?

The urine ranges below come from the Substance Abuse and Mental Health Services Administration’s treatment guidance, TIP 63. They are general estimates, not separate predictions for a single dose and repeated use. A laboratory’s test and reporting cutoff can change the result.

Test typeOccasional or single useFrequent or long-term use
UrineGeneral reference ranges are 1–2 days for morphine and 2–11 days for methadone. These are not single-dose guarantees.The same general references are a starting point, but repeated use can prolong detection. There is no reliable fixed extension for all opioids.
BloodOften has a shorter detection window than urine; ask the laboratory about the specific test.Timing varies by opioid and use pattern; a blood result cannot reliably establish how long repeated use will remain detectable.
Oral fluidThe window depends on the opioid and the test.Repeated use and the test method can change the window; there is no single reliable estimate.
HairCan show exposure farther in the past than urine, but may miss very recent use.Can provide a longer history of exposure, but results cannot reliably establish exact dates or frequency of use.

A routine opiate screen may detect morphine or codeine but miss other opioids. Fentanyl, methadone and buprenorphine generally require tests designed to detect them; oxycodone may also require a specific test. Ask the testing service which substances its panel includes.

An initial screen is not always definitive. If a result is unexpected or has important consequences, a laboratory can use a more specific confirmatory test.

What changes how long opioids stay detectable?

The particular opioid matters: opioids leave the body at different rates, and some produce metabolites that tests also detect. Dose and repeated use can affect how much drug or metabolite is present and how long a test can find it.

Kidney and liver function, other medications and individual differences in metabolism can also change the timing. The specimen matters too: a urine result measures what is in urine, while blood, oral fluid and hair tests look at different samples and time periods.

Finally, tests use different reporting cutoffs. A result may be negative when the amount is below a test’s cutoff, even if some opioid or metabolite remains in the body.

How does half-life relate to detection?

A drug’s half-life is the time it takes for its concentration in the body to fall by about half. After another half-life, it falls by about half again. The rate can vary between people and may change with repeated dosing or impaired liver or kidney function.

Half-life is not the same as a detection window. A test may detect metabolites as well as the original drug, and its sensitivity and cutoff affect when the result becomes negative. A half-life calculation alone cannot tell you whether an opioid test will be positive.

Can you calculate when opioids will no longer show up?

You can calculate the time since the last dose, but you cannot use that number to guarantee a test result. For example, a urine sample collected Tuesday morning after a dose taken Monday morning is collected about 1 day later. That falls within the general 1–2 day morphine reference range, but the sample could still be positive or negative depending on the circumstances.

For a more useful estimate, tell the laboratory or clinician the exact opioid, the time of the last dose, your use pattern and any prescribed medicines. Do not change a prescribed dose to prepare for a test without speaking to the prescriber.

Drinking water supports normal hydration, but drinking extra water cannot reliably clear opioids faster and can be dangerous.

Who should be careful, and when should you get help?

Get emergency help immediately if someone is difficult to wake, has slow or stopped breathing, or has blue or gray lips. Call emergency services, give naloxone if available, follow the dispatcher’s instructions and stay with the person; emergency care is still needed even if they wake up.

Alcohol, benzodiazepines and other sedating medicines can increase the risk of dangerous breathing problems with opioids. People who are pregnant, children, and people with liver or kidney disease should seek individualized medical advice about opioid exposure or prescribed treatment.

Do not stop prescribed opioids suddenly without medical advice. Stopping after regular use can cause withdrawal, and returning to a previously tolerated dose after a break can increase overdose risk. See the opioids withdrawal timeline for what to discuss with a clinician.

Frequently asked questions

Can an opioid test show whether someone is impaired?

Not reliably. A positive result can indicate exposure, but it does not by itself establish current impairment or the exact amount taken.

Does naloxone make an opioid drug test negative?

Naloxone can reverse opioid overdose effects, but it does not reliably remove opioids from the body or make a test negative. Emergency care is needed after naloxone is given.