How Long Does Heroin Stay in Your System? Detection Times by Test Type

March 29, 2026

Learn how long heroin stays in your system by test type — urine (2-7 days), blood (6 hours), saliva (5-48 hours), and hair (90 days). Medically reviewed detection timelines, factors that affect results, and when to seek help.

How Long Does Heroin Stay in Your System?

Medically reviewed by Dr. Richard A. Marasa, MD, MBA — Board-Certified in Addiction Medicine, Emergency Medicine & Internal Medicine

Key Takeaways

  • Urine tests detect heroin metabolites for 2–7 days after last use — the most common screening method.
  • Blood tests have the shortest window at roughly 6 hours, while hair tests can reveal use up to 90 days back.
  • Detection times vary by dose, frequency of use, metabolism, body weight, and liver function.
  • Heroin itself leaves the bloodstream in minutes, but its metabolites — morphine and 6-MAM — persist much longer.
  • If you or a loved one is struggling with heroin use, evidence-based treatment is available and recovery is possible.

Understanding Heroin Detection

When it comes to detecting the presence of heroin in the body, there are several factors to consider. Understanding these factors can help provide insight into how long heroin stays in your system across different drug test types.

Factors Affecting Detection

The detection window for heroin can vary depending on several factors, including:

  • Individual metabolism — How quickly your body processes substances
  • Amount and frequency of use — Heavier, more frequent use extends detection times
  • Body weight and composition — Fat-soluble metabolites linger longer in individuals with higher body mass
  • Liver and kidney function — Organ health affects how efficiently drugs are cleared
  • Hydration levels — Can influence concentration in urine samples
  • Testing method sensitivity — Different tests have different thresholds

According to the National Institute on Drug Abuse, heroin can typically be detected in urine for 2–7 days after use. However, the specific window depends heavily on the factors listed above.

Heroin detection timeline chart showing urine, blood, saliva, and hair testing windows

Duration in Urine

Urine testing is the most common method of screening for heroin due to its ease, cost-effectiveness, and non-invasive nature. Heroin and its metabolites — primarily morphine — can typically be detected in urine for 2–7 days after last use.

Heavy or chronic heroin users may test positive for a longer period compared to occasional users. This is because heroin metabolites are fat-soluble and accumulate in tissues with repeated use, leading to a longer elimination window.

The presence of heroin in urine for up to 48 hours after the last dose is primarily due to the presence of its metabolite morphine. For individuals with heavier use patterns, this window can extend significantly.

Heroin Metabolism and Detection

Understanding how heroin is metabolized and detected in the body is essential for interpreting drug test results accurately.

Heroin Metabolites

Heroin is rapidly metabolized in the body. While the substance itself is cleared from the bloodstream within minutes, its metabolites persist much longer. The two primary metabolites drug tests look for are:

  • 6-acetylmorphine (6-MAM) — A metabolite unique to heroin, confirming heroin use specifically (rather than other opiates)
  • Morphine — The primary active metabolite, which has a longer half-life and is detectable for days

These metabolites are the byproducts created as the body processes and breaks down heroin, and they serve as the key markers in drug testing.

Detection in Blood

Heroin has an extremely short half-life in blood — approximately three minutes. After about five half-lives, the drug is essentially eliminated. While heroin itself may be undetectable in blood after roughly 15 minutes, its metabolites (morphine and 6-MAM) have longer half-lives and can be detected in blood for approximately 6 hours after use.

Blood testing is typically reserved for situations where very recent drug use needs to be confirmed, such as emergency medical situations or accident investigations.

Detection in Saliva

Saliva testing can detect heroin within two minutes of administration. Saliva concentration is higher than blood concentration for up to 60 minutes after use. However, the detection window for saliva is relatively short — generally 5–48 hours — making it most useful for detecting very recent use.

Testing Methods for Heroin: Detection Windows

Several testing methods are used to detect heroin, each with different detection windows and appropriate use cases.

Urine Testing (2–7 Days)

Urine testing is the most widely used method for heroin screening. It detects heroin metabolites — primarily morphine — for 2–7 days after last use. The process typically involves an initial immunoassay screening, followed by confirmatory gas chromatography-mass spectrometry (GC-MS) testing for quantitative results.

Urine testing is preferred in most clinical and workplace settings because it is cost-effective, non-invasive, and offers a reasonable detection window.

Blood Testing (Up to 6 Hours)

Blood testing offers the shortest detection window. Heroin can be detected in blood for only a few hours after use. This method is most commonly used in emergency medical situations where healthcare providers need to determine if a patient has recently used heroin to guide treatment decisions.

Hair Testing (Up to 90 Days)

Hair follicle testing provides the longest detection window. Heroin use can be detected in hair samples for approximately 90 days, depending on the rate of hair growth. A small sample — about 1.5 inches from the scalp — is typically required. Hair testing is useful when a longer historical record of drug use is needed, such as in custody cases or long-term treatment monitoring.

Heroin Detection Times: Quick Reference

Test TypeDetection WindowBest For
Urine2–7 daysStandard screening, workplace, clinical
BloodUp to 6 hoursEmergency/recent use confirmation
Saliva5–48 hoursRoadside or point-of-care testing
HairUp to 90 daysLong-term use history

Factors That Influence How Long Heroin Stays in Your System

Half-Life of Heroin

The half-life of a drug refers to the time it takes for the concentration in the bloodstream to decrease by half. Heroin has an average half-life of approximately 30 minutes, meaning that within half an hour the body will have eliminated 50% of the substance from the bloodstream.

While heroin itself clears rapidly, its metabolites — morphine (half-life of 2–4 hours) and 6-MAM — remain detectable for much longer. This is why drug tests target metabolites rather than heroin itself.

Body Weight and Composition

Body weight and composition significantly influence detection times. Heroin metabolites are fat-soluble, meaning they can be stored in fatty tissues and released slowly over time. Individuals with higher body mass may test positive for longer periods because metabolites are released more slowly into the bloodstream for elimination.

Frequency and Amount of Use

Chronic, heavy heroin use leads to accumulation of metabolites in the body. While an occasional user might test clean within 2–3 days via urine test, a heavy user could test positive for a week or longer. The body simply needs more time to process and eliminate the larger amount of accumulated metabolites.

Heavy Users vs. Occasional Users

The distinction between heavy and occasional heroin use has a significant impact on detection windows:

  • Occasional users: Generally test positive in urine for 2–4 days after last use
  • Regular users: May test positive for 5–7 days or longer
  • Heavy/chronic users: Can test positive for up to 7+ days in urine; metabolites may accumulate to levels that extend detection significantly

This variability is important to understand when interpreting drug test results. A positive result indicates use within the detection window but does not necessarily indicate current impairment.

When Drug Testing Is Used

Drug testing for heroin and other substances is recommended in various scenarios:

  • Emergency medical care: Identifying substances to guide treatment
  • Behavioral and mental health assessment: Determining if substance use contributes to presenting symptoms
  • Substance use treatment programs: Monitoring adherence and identifying early relapse
  • Workplace safety: Especially in safety-sensitive positions
  • Legal and custody proceedings: Providing documented evidence of use or abstinence

Drug testing serves multiple important purposes: discouraging nonmedical drug use, encouraging treatment engagement, identifying early relapse, and improving long-term recovery outcomes through ongoing monitoring.

Getting Help for Heroin Addiction

If you or someone you love is concerned about heroin use — whether prompted by a drug test, health concerns, or the impact on daily life — know that effective, evidence-based treatment is available. Heroin addiction is a treatable medical condition, and recovery begins with reaching out for help.

Dr. Richard A. Marasa, MD, MBA, Medical Director at Clear Steps Recovery, brings over 40 years of clinical experience and 21 years of personal recovery to guide patients through every stage of treatment. Our programs include medically supervised detox, medication-assisted treatment (MAT), and comprehensive outpatient care.

Take the first step today:

Your call is free, confidential, and answered by compassionate admissions counselors available to help you explore your options.


Sources

  1. National Institute on Drug Abuse. Heroin DrugFacts. https://nida.nih.gov/publications/drugfacts/heroin
  2. Substance Abuse and Mental Health Services Administration. Clinical Drug Testing in Primary Care. Technical Assistance Publication (TAP) 32. https://store.samhsa.gov/product/clinical-drug-testing-primary-care/sma12-4668
  3. Moeller KE, Kissack JC, Atayee RS, Lee KC. Clinical Interpretation of Urine Drug Tests: What Clinicians Need to Know About Urine Drug Screens. Mayo Clinic Proceedings. 2017;92(5):774–796. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6097858/
  4. Hadland SE, Levy S. Objective Testing: Urine and Other Drug Tests. Child and Adolescent Psychiatric Clinics of North America. 2016;25(3):549–565. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4920965/
  5. U.S. Drug Enforcement Administration. Heroin. https://www.dea.gov/factsheets/heroin

SAMHSA National Helpline: 1-800-662-4357
Free, confidential, 24/7 treatment referral and information service available in English and Spanish.
www.samhsa.gov/find-help/national-helpline

Learn About Clear Steps Recovery and How We Can Help You

Professional treatment is the best option if you or a loved one is struggling with addiction. The decision to seek treatment is only the first step, but it is the most important and is where clarity begins.

Once you reach out to Clear Steps Recovery, your path becomes clear, and you can get the help and support you need to break the cycle of addiction. Our serene woodland environment promotes physical, mental, emotional, and spiritual healing.

Call today or contact us online to get started.

The Path Is Clear – Take Your First Steps Today with Clear Steps Recovery

With our team and your desire to heal, we can improve your quality of life and functional abilities, so you can get back to living your best life.

or

Contact Us Today

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.