How Long Does Heroin Stay in Your System?

Heroin itself clears within hours, but the markers it leaves behind linger—urine typically stays positive for 2 to 3 days, longer with heavy use, and hair for up to about 90 days. Routine tests read only as morphine, so confirming heroin takes a specific test.
Jessica Miller is the Content Manager of Addiction HelpWritten by
Kent S. Hoffman, D.O. is a founder of Addiction HelpMedically reviewed by Kent S. Hoffman, D.O.
Last updated

Battling addiction & ready for help?

Find Treatment Now

Heroin leaves the bloodstream almost as fast as it arrives. The drug itself survives only minutes before the body converts it, first into a marker called 6-monoacetylmorphine and then into morphine[1]. What a drug test actually looks for is that trail of breakdown products, and how long the trail lasts depends entirely on which test is used and how heavily someone has been using.

If you are reading this because a test is coming, or because your own use has started to worry you, the direct answer to “how long” comes with a more useful one underneath it. Heroin addiction is treatable, and the same body that clears the drug can heal once the using stops. You can find help today.

An opioid overdose is a breathing emergency. Call 911 and give naloxone (Narcan) right away. Street heroin is often mixed with fentanyl. | Call or text 988 for emotional crisis.
If someone has used heroin and their breathing slows or stops, their lips or fingertips turn blue or gray, they cannot be woken, or their pupils are pinpoint, treat it as an overdose and act now. For thoughts of suicide or a mental health crisis, call or text 988 any time.

What to do in an opioid overdose:

  • Call 911 first. Say where you are and that someone is not breathing or will not wake up. Most states have Good Samaritan laws that protect the person who calls for help.
  • Give naloxone (Narcan) if it is nearby. It reverses an opioid overdose within minutes and cannot harm someone who does not need it. Spray one dose, and give another after 2 to 3 minutes if there is no response.
  • Start rescue breathing and stay with them. Roll the person on their side once they are breathing so they do not choke.
  • Know the supply is unpredictable. Illicitly made fentanyl now contaminates much of the street opioid supply, which sharply raises overdose risk, and fentanyl test strips can flag it before use[2].

One more danger worth naming. After any break from heroin, detox, jail, or a stretch of not using, tolerance falls fast, so going back to a previous dose can be fatal[3]. This is a large part of why medication for opioid use disorder saves more lives than detox alone[4]. Find opioid treatment near you →

AddictionHelp.com Fast Facts
  • Heroin itself vanishes in minutes. Its terminal half-life is only about 7.6 minutes, so the drug is gone almost immediately and is rarely what a test finds[1].
  • 6-MAM is heroin’s fingerprint. The body breaks heroin down through 6-monoacetylmorphine, a marker no other opioid produces, so its presence is specific proof of heroin use[5].
  • Standard tests see “opiates,” not “heroin.” Heroin quickly becomes morphine, so a routine opiate screen reads as morphine and cannot tell heroin apart on its own[6].
  • Urine is the usual window. After use, morphine typically stays detectable in urine for about two to three days, longer with heavy or repeated use.
  • Hair reaches back months. Because opiates lock into growing hair, a hair test can reflect use across roughly the previous 90 days rather than recent hours.

Heroin Turns Into Morphine Almost Instantly

The single fact behind every detection window is that heroin is a delivery vehicle, not the substance a test detects. Chemically it is diacetylmorphine, and the body strips it apart within minutes of a dose reaching the blood[1].

That breakdown happens in a set order. Heroin is first converted into 6-monoacetylmorphine, usually shortened to 6-MAM, and then into morphine[7]. Morphine is the compound that lingers longest and the one most tests ultimately measure.

Heroin’s Half-Life Is Only Minutes

A drug’s half-life is how long the body takes to clear half a dose. For heroin, that window is extraordinarily short. In a controlled human study, the terminal half-lives of heroin and 6-acetylmorphine were about 7.6 and 21.8 minutes[1].

Why Heroin Is Hard to Catch DirectlyHeroin clears so fast that a blood or urine test taken even a few hours later usually finds only morphine, not heroin. Catching heroin itself takes a sample drawn very soon after use, which is why labs lean on its metabolites instead.

Because a substance takes several half-lives to clear, heroin itself is essentially gone within an hour of use, and 6-MAM follows not long after[1]. This is why heroin is almost never the thing a drug test catches. By the time a sample is collected, the drug and its short-lived marker have largely given way to morphine.

6-MAM Is the Marker Unique to Heroin

Morphine on its own does not prove heroin use. Prescription morphine, codeine, and even poppy seeds can all put morphine into a urine sample. What separates heroin from those sources is 6-MAM, a breakdown product that only heroin produces[5].

The catch is timing. 6-MAM appears specific proof of illegal heroin use, but it clears the body quickly, so it is present only for a short window after use[5]. In post-mortem work, its presence in blood signals a rapid death close to the time of intake, while cases where it had already disappeared reflected a longer gap[8]. The lesson for testing is the same: a positive 6-MAM result is a narrow, recent window, and missing it does not mean heroin was not used.

Adding 6-MAM to an opiate panel meaningfully sharpens it. When one laboratory included the marker in its analysis, it improved the identification of true heroin exposure that a morphine-only method would have missed[9].

Heroin Detection Windows by Test Type

How long heroin stays detectable depends heavily on the sample and on what the lab measures. Blood and saliva catch only very recent use, urine holds the morphine trail for days, and hair keeps a record for months. The ranges below are typical, not guarantees, and they shift with dose, purity, and the person.

Test type Typical detection window What it reflects
Blood Heroin and 6-MAM only hours; morphine up to about a day Very recent use; heroin itself is caught only if sampled soon after a dose[1]
Saliva (oral fluid) Roughly a day, sometimes into a second with heavy use Recent use; easy to collect and hard to fake[10]
Urine Morphine about 2 to 3 days after use; a week or more with heavy use. 6-MAM only hours The standard test; measures morphine, with 6-MAM confirming heroin[6]
Hair Up to about 90 days or longer A long-term history of use, not recent hours[11]
Half-life and markers Heroin about 7.6 minutes; 6-MAM about 21.8 minutes; morphine hours Heroin becomes 6-MAM, then morphine, the compound tests usually measure[1]

Urine Is the Most Common Heroin Test

Urine testing is the standard because morphine concentrates there and stays measurable for days after heroin use. In practice, a single use is usually detectable for about two to three days, and heavy or repeated use stretches that window past a week.

A routine urine screen uses an immunoassay that reacts to opiates as a group, so a heroin user typically shows up simply as morphine-positive[6]. To prove the morphine came from heroin rather than a prescription or poppy seeds, the lab runs a confirmatory test that can identify 6-MAM directly[10]. Because 6-MAM fades within hours, that confirmation only works when the sample is fresh.

Blood and Saliva Catch Only Recent Use

Blood and oral fluid tests have the shortest reach. Heroin’s few-minute half-life means the drug itself is detectable in blood only if the sample is drawn very soon after a dose, after which only morphine remains for a matter of hours[1].

Saliva testing trades a long window for a clear read of the present moment. Heroin and its markers appear in oral fluid soon after use, and because a sample is easy to collect and hard to tamper with, oral-fluid testing is common when recent use is the question[10]. A positive blood or saliva result points to use in the last day, not something from last week.

Hair Testing Reaches Back Months

Hair testing works on the opposite principle. As hair grows, opiates lock into the strand and leave a record that can span roughly the previous 90 days or longer, depending on hair length[11]. It is a history rather than a snapshot.

Because it looks so far back, a hair test rarely reflects a single recent use the way urine does. It is better at revealing a pattern of use across months than at answering whether someone used in the last few days.

What Changes How Long Heroin Stays in Your System

No single timeline fits everyone, because several things push the window shorter or longer. The same amount can clear in a couple of days for one person and linger past a week in another. The main drivers are how much and how often someone uses, the purity of the supply, and how well the body clears the drug.

Dose Purity and How Often You Use

Amount and frequency matter most. A single small amount clears near the short end of every window, while frequent or heavy use lets morphine accumulate and stretches urine detection past a week. Street heroin also varies wildly in purity and is often cut with other substances, so two doses that look identical can behave very differently in the body[2].

Heavy Use Stretches Every WindowThe clearest pattern is dose and frequency. With repeated use, morphine and its byproducts build up faster than the body clears them, so the leftover lingers well beyond the two to three days a single use would show.

That variability is not just a testing problem. It is a safety one. Because a user cannot see how strong a given batch is, or whether it contains fentanyl, the same behavior that lengthens a detection window also raises the risk of a fatal overdose.

Your Body Metabolism and Organ Health

The body doing the clearing is the other side of the equation. Liver enzymes break heroin down and the kidneys clear morphine, so age, body composition, hydration, and organ health each nudge the timeline. In studies of heroin pharmacokinetics, reduced kidney function in particular slowed clearance of the drug’s byproducts, which is why kidney health is monitored during medical heroin treatment abroad[7].

None of this changes the core fact. These factors move the window by hours or days, but the only thing that removes heroin is the body’s own clearance over time, which no product on a shelf speeds up.

Why Detox Drinks and Flushes Do Not Beat a Test

Search results are full of drinks and kits that promise to clear opioids fast. None of them do what they claim, because none speed up the one process that actually removes the drug. Knowing why saves money and false hope.

Only Time Clears HeroinDetox drinks, cranberry juice, vinegar, and water loading do not remove morphine any faster. They only dilute urine for a short stretch, and laboratories test for that dilution directly. Time is the one thing that works.

Most flush strategies rely on drinking large amounts of water to dilute the urine. That can briefly lower the concentration of morphine, but it removes nothing faster, and a watered-down sample shows a low creatinine level that flags the test as diluted and often triggers a retest. Detox kits and cleansing drinks are the same idea sold at a markup, and they do not change how fast the liver and kidneys clear the drug.

That leaves one reliable way to control what a test finds, and it is also the way out of the worry underneath the question. The only sure control is not using, and that is a goal within reach.

What a Positive Opiate Test Really Means

A first-pass opiate screen is fast, but it is not the final word, and it does not name heroin. Because heroin becomes morphine so quickly, a routine screen simply flags the opiate class, which prescription painkillers and even poppy seeds can also trigger[6].

That is why any positive screen is confirmed by a second, more exact test. Confirmation uses a precise method that identifies the exact molecules present, separating true heroin markers from look-alikes[10]. The one result that ties morphine specifically to heroin is 6-MAM, the marker no other opioid leaves behind[5]. Its presence is strong proof of heroin use, though its absence never rules heroin out, because it clears so fast.

The takeaway is simple. A positive opiate screen means a sample is worth a closer look, not proof of heroin on its own, and the confirmatory step is what turns a class-level flag into a specific answer.

The Bottom Line on Heroin and Getting Help

Here is the part that matters more than any number. People rarely research how long heroin stays in their system out of idle curiosity. The question usually comes from a real place of worry, and that worry deserves a straight answer and a way forward.

The Question Behind the QuestionWondering how long it lingers often means part of you is uneasy about the using itself. That instinct is worth trusting. You do not have to hit a bottom first, and reaching out early is a sign of strength.

If you are timing a test, dodging one, or just uneasy about the answer, heroin has already taken up more room than you want it to. That recognition is not a defeat. It is the exact moment things can start to turn, and it is far more common than most people realize.

Heroin addiction is a treatable medical condition, not a failure of willpower. The way out is well understood, and it is safer than it feels from the inside. Medically supervised detox eases withdrawal, and medication for opioid use disorder, such as methadone or buprenorphine, keeps people alive and steady far more reliably than trying to white-knuckle it alone[4]. That last point carries real weight, because tolerance drops during any break from use, and returning to an old dose is one of the most dangerous moments a person faces[3].

People leave heroin behind every day, and the path is clearer now than most fear. To understand the drug and what recovery involves, start with heroin and how addiction takes hold, then read about heroin withdrawal symptoms and how a supervised heroin detox works. To learn how the overdose-reversal medication works, see naloxone (Narcan).

Whenever you are ready to take the first real step, free and confidential help is waiting.

Get matched with treatment that fits your life →

Frequently asked questions

How Long Does Heroin Stay in Urine?

A urine test does not usually look for heroin itself, which is gone within an hour, but for morphine, the compound heroin becomes. After use, morphine is typically detectable in urine for about two to three days, and heavy or repeated use can stretch that window past a week. The heroin-specific marker 6-monoacetylmorphine can also be found, but only for a matter of hours, so a fresh sample is needed to confirm heroin specifically[6][5].

How Long Is Heroin Detectable in Blood and Saliva?

Both catch only very recent use. Heroin's terminal half-life is only about 7.6 minutes, so the drug itself shows up in blood only if the sample is drawn very soon after a dose, after which morphine remains for a matter of hours[1]. Saliva testing follows a similar short window of roughly a day, and because a sample is easy to collect and hard to fake, it is common when the question is whether someone used recently[10].

Can a Hair Test Detect Heroin?

Yes. As hair grows, opiates lock into the strand and leave a record that can span roughly the previous 90 days or longer, depending on hair length[11]. A hair test reveals a pattern of use across months rather than a single recent dose, so it answers a very different question than a urine or saliva test. It is a long-term history, not a snapshot of the last few days.

Why Does a Drug Test Show Morphine Instead of Heroin?

Because heroin turns into morphine almost immediately. Chemically, heroin is diacetylmorphine, and the body breaks it down first into 6-monoacetylmorphine and then into morphine within minutes[1]. A standard opiate screen reacts to the opiate class and reports the morphine it finds, so heroin use shows up as morphine unless a confirmatory test identifies the heroin-specific marker 6-MAM[6].

What Is 6-MAM and Why Does It Matter?

6-monoacetylmorphine, or 6-MAM, is the first product the body makes when it breaks heroin down, and no other opioid produces it, so a positive 6-MAM result is specific proof of heroin use rather than prescription morphine or poppy seeds[5]. Its limitation is time. 6-MAM clears the body within hours, so it is only detectable for a short window after use, and its absence never rules heroin out[8].

Do Detox Drinks Clear Heroin From Your System Faster?

No. Detox drinks, kits, and water loading do not speed up how fast the liver and kidneys clear morphine. They can briefly dilute urine, but that removes nothing faster, and a watered-down sample shows a low creatinine level that flags the test as diluted and often triggers a retest. The only thing that clears heroin is the body's own processing over time, and the only sure way to control what a test finds is not using.

Why Is Overdose Risk Higher After a Break From Heroin?

Tolerance to opioids falls quickly during any break from use, whether that is detox, incarceration, or simply a stretch of not using. Returning to a previously normal dose after that drop can overwhelm the body and prove fatal, which is a leading pattern in overdoses after release from prison[3]. This is a central reason medication for opioid use disorder, such as methadone or buprenorphine, protects against death more reliably than detox alone[4].

Is Street Heroin Really Contaminated With Fentanyl?

Often, yes. Illicitly manufactured fentanyl now replaces or contaminates much of the street opioid supply in North America, which sharply raises the risk of overdose because a user cannot see or taste it[2]. Fentanyl test strips are a harm-reduction tool that can flag its presence before use, and naloxone (Narcan) reverses a fentanyl or heroin overdose if it is given in time[2].

Get Treatment Help

If you or someone you love is struggling with addiction, getting help is just a phone call away, or consider trying therapy online with BetterHelp.

Exclusive offer: 20% Off BetterHelp*

Following links to the BetterHelp website may earn us a commission that helps us manage and maintain AddictionHelp.com. *Get 20% off your first month of BetterHelp. Offer valid for new BetterHelp users only. Offer cannot be combined with insurance.

11 Sources
  1. Rook EJ, Huitema ADR, van den Brink W, van Ree JM, Beijnen JH. (2006). Population pharmacokinetics of heroin and its major metabolites. Clinical Pharmacokinetics.
  2. Kutscher E, Barber Grossi M, LaPointe A, Bogenschutz M. (2024). Fentanyl test strips for harm reduction: a scoping review. Journal of Addiction Medicine.
  3. Keen C, Young JT, Borschmann R, Kinner SA. (2020). Non-fatal drug overdose after release from prison: A prospective data linkage study. Drug and Alcohol Dependence.
  4. Bahji A, Cheng B, Gray S, Stuart H. (2019). Reduction in mortality risk with opioid agonist therapy: a systematic review and meta-analysis. Acta Psychiatrica Scandinavica.
  5. Coles R, Kushnir MM, Nelson GJ, McMillin GA, Urry FM. (2007). Simultaneous determination of codeine, morphine, hydrocodone, hydromorphone, oxycodone, and 6-acetylmorphine in urine, serum, plasma, whole blood, and meconium by LC-MS-MS. Journal of Analytical Toxicology.
  6. Huhn AS, Whitley P, Bolin BL, Dunn KE. (2024). Fentanyl, heroin, methamphetamine, and cocaine analyte concentrations in urine drug testing specimens. JAMA Network Open.
  7. Rook EJ, Huitema ADR, van den Brink W, van Ree JM, Beijnen JH. (2006). Pharmacokinetics and pharmacokinetic variability of heroin and its metabolites: review of the literature. Current Clinical Pharmacology.
  8. Thaulow CH, Høiseth G, Andersen JM, Handal M, Mørland J. (2018). Can measurements of heroin metabolites in post-mortem matrices other than peripheral blood indicate if death was rapid or delayed? Forensic Science International.
  9. Jones JT, Jones M, Jones B, Sulaiman K, Plate C, Lewis D. (2015). Detection of codeine, morphine, 6-monoacetylmorphine, and meconin in human umbilical cord tissue: method validation and evidence of in utero heroin exposure. Therapeutic Drug Monitoring.
  10. Gqamana PP. (2024). Quantitative LC-MS/MS analysis of opiates and opioids in human urine. Methods in Molecular Biology.
  11. Edinboro LE, Backer RC, Poklis A. (2005). Direct analysis of opiates in urine by liquid chromatography-tandem mass spectrometry. Journal of Analytical Toxicology.
Written by
Jessica Miller is the Content Manager of Addiction Help

Editorial Director

Jessica Miller is the Editorial Director of Addiction Help. Jessica graduated from the University of South Florida (USF) with an English degree and combines her writing expertise and passion for helping others to deliver reliable information to those impacted by addiction. Informed by her personal journey to recovery and support of loved ones in sobriety, Jessica's empathetic and authentic approach resonates deeply with the Addiction Help community.

Reviewed by
  • Fact-Checked
  • Editor
Kent S. Hoffman, D.O. is a founder of Addiction Help

Co-Founder & Chief Medical Officer

Kent S. Hoffman, D.O. has been an expert in addiction medicine for more than 15 years. In addition to managing a successful family medical practice, Dr. Hoffman is board certified in addiction medicine by the American Osteopathic Academy of Addiction Medicine (AOAAM). Dr. Hoffman has successfully treated hundreds of patients battling addiction. Dr. Hoffman is the Co-Founder and Chief Medical Officer of AddictionHelp.com and ensures the website’s medical content and messaging quality.

Real Help. Real Recovery.

Compare centers, explore options and start your path to recovery today.

Find Treatment Now

"AddictionHelp.com is helping to make recovery available to EVERYONE!"

- Angela N.