Our admissions team is available now, 24/7
Heroin Guide · How Long It Stays

How long heroin stays in the body and drug testing

Reviewed by: Dr. Mahmoud El-Sawy Last updated: September 28, 2026 7-minute read
The short answer

Heroin itself breaks down within minutes, but its byproducts last longer: they are usually detectable in urine for one to three days, in blood for hours, in saliva for about one to two days, and in hair for up to about 90 days. These times vary with the amount, how often the person uses, liver and kidney function, and the type of test.

  • These are approximate windows that vary between laboratories and testing methods.
  • The purpose of this page is medical education and understanding results, not hiding drug use.

How does heroin change inside the body?

Once it enters the body, heroin is converted within minutes into an intermediate substance called 6-monoacetylmorphine (6-MAM), and then into morphine. This is why tests usually do not look for heroin itself, but for these two byproducts:

6-MAM

A byproduct specific to heroin alone. Its presence confirms heroin use specifically, but it disappears quickly, within hours.

Morphine

It lasts longer, but it can also come from medications such as codeine and morphine, so it does not confirm heroin on its own.

Why does heroin disappear from the blood so quickly?

Heroin has a very short half-life of no more than a few minutes, meaning that half of the amount in the blood is converted into other substances within minutes. This is why heroin itself is rarely detected, and tests rely on its byproducts, which stay longer. It also explains why the effect comes on fast and wears off fast, so the person goes back to the drug within hours.

How long heroin stays, by type of test

Urine

1-3 daysThe most commonly used, and the time may be longer with chronic use and large amounts

Blood

Up to about 12 hoursOften used in emergencies to assess recent use

Saliva

1-2 daysEasy to collect and detects recent use

Hair

Up to about 90 daysReveals the pattern of use over the previous months, not recent use
Infographic of how long heroin stays in the body by type of test: blood up to 12 hours, saliva 1 to 2 days, urine 1 to 3 days, hair up to 90 days, with heroin converting to 6-MAM and then morphine
Heroin detection windows in blood, saliva, urine and hair

These times are approximate and vary with the sensitivity of the test and the laboratory. For an accurate interpretation of a specific result, consult a doctor or the laboratory.

Factors that affect how long heroin stays

  • How often and how long the person has used: Chronic use lengthens the detection time compared with a single use.
  • Amount and purity: Larger amounts take longer to clear.
  • Liver and kidney function: weakness in either slows the clearing of metabolites.
  • Age and metabolism: Elimination usually slows with age.
  • General health and the body's fluid levels.

Screening test and confirmatory test

The initial test

Quick and inexpensive, it detects opioids in general, but it can give a false positive result and does not distinguish heroin from other opioids.

Confirmatory test

Performed in a specialized laboratory with precise equipment, it identifies the specific substance and its amount, and it is requested after any positive preliminary result.

Does a heroin test detect other opioids?

The usual opioid test is designed to detect morphine, codeine and heroin byproducts, but it does not always detect synthetic opioids such as tramadol, methadone and fentanyl, which need their own tests. This is why the doctor chooses the type of test according to the case and the suspected substance.

Which sample is used, and when?

Choosing the type of sample by purpose
PurposeThe most suitable sample, usually
Assessing an emergency or loss of consciousnessBlood or urine
Regular monitoring during treatmentUrine, and sometimes saliva
Learning the pattern of use over the previous monthsHair
Confirming a positive preliminary resultThe same sample, sent to a specialized laboratory for a confirmatory test

The doctor or laboratory chooses the sample type and the test according to the question that needs answering, not just according to how easy the procedure is.

Can a result be positive without heroin use?

Yes. Morphine may show up in a urine test after taking medications that contain codeine or morphine, or even after eating a quantity of poppy seeds. This is why a positive preliminary result needs a confirmatory test in a specialized laboratory, and testing for 6-MAM can help distinguish heroin from other sources.

What can a test not tell you?

A test is an important tool, but it has limits that families should know before basing a decision on it:

  • It does not determine the amount accurately in the preliminary test: It only shows whether opioids are present or absent, and the confirmatory test gives more detail.
  • It does not determine exactly when the drug was used: It gives an approximate window that varies from person to person.
  • It does not measure how affected the person is or how severe the addiction is: That is determined by a comprehensive medical and psychological assessment.
  • A negative result does not rule out a problem: The detection window may have passed, or the substance used may be a synthetic opioid that the usual test does not detect.

Are quick home tests enough?

Quick test strips are available for use at home, and they are preliminary tests like those done in laboratories. They may be useful as an initial indication, but any positive result needs laboratory confirmation, and it is best to consult a doctor before using them and in interpreting the result. Using them as a way of monitoring and checking up can also damage trust within the family, and it is better for testing to be part of an agreed treatment plan.

When are heroin tests requested?

  • In emergencies, when an overdose or unexplained loss of consciousness is suspected.
  • When starting an addiction treatment program, and during it to follow adherence.
  • In some job, licensing, or legal procedures.

How are tests used within a treatment program?

In addiction treatment programs, testing is not a tool for punishment but a way of monitoring that the treatment team agrees on with the patient from the start. It helps confirm that the body is free of the substance before starting certain medications, follow adherence during treatment, and detect relapse early so the team can step in before it gets worse.

When a positive result appears during treatment, the team treats it as information that calls for reviewing the plan and discussing what happened, not as a reason to expel or condemn the patient. This approach encourages the patient to be honest, which is the foundation of any real recovery.

What does a test result mean for the family?

A positive result is useful for starting treatment, but it is not a verdict on the person or the end of the road. A negative result does not rule out a problem if the signs are clear, because the detection window is short. More important than the test is a calm conversation and a specialist assessment that looks at the whole picture.

Frequently asked questions

Frequently asked questions about how long heroin stays in the body and testing

Didn’t find your answer?

Ask an advisor directly. The reply is confidential and carries no commitment.

Ask on WhatsApp
How many days does heroin stay in urine?

It is usually detected from one to three days after last use, and the time may be longer with chronic use and large amounts.

How long does heroin stay in the blood?

Heroin itself disappears within minutes, and its byproducts are detectable in the blood for hours, up to about 12 hours.

Does heroin show up in a hair test?

Yes. A hair test can detect use over roughly the previous three months.

Does poppy show up in a drug test?

Eating a quantity of poppy seeds can cause morphine to appear in the preliminary test, which is why positive results need a confirmatory test.

Can tramadol show up in a heroin test?

It usually does not show up in the standard opioid test and needs its own test, and the reverse is also true.

Does the time heroin stays in the body differ from person to person?

Yes, depending on how often and how long the person has used, the amount, liver and kidney function, and age, which is why the times given are approximate.

Does a test determine when heroin was used or how much?

The preliminary test only detects the presence of opioids, and the confirmatory test gives more detail, but neither can determine the exact time of use, only an approximate window.

Are home drug tests accurate?

They are preliminary tests that may give wrong results, and any positive result needs confirmation in a specialized laboratory along with a doctor's advice.

Medical reviewDr. Mahmoud El-Sawy, Consultant Psychiatrist and Addiction Specialist

This page was written by the Eradah editorial team and reviewed by a specialist physician under the medical review policy. Last medically reviewed: September 28, 2026. The content is for education and does not replace consulting a doctor.

Need help with heroin?

Your information is confidential and is not shared with anyone

Call WhatsApp Consultation