Heroin leaves the body quickly, but its metabolites can remain detectable after the effects have worn off. If you are facing a drug test or concerned about your own or a loved one’s use, understanding these timelines can help you know what to expect.
Depending on the type of test, heroin use may be detected for several hours, several days, or approximately 90 days or longer. These are general estimates. The exact detection window depends on the test’s sensitivity, the amount and frequency of use, your metabolism and health, and whether other substances were present.
What affects how long heroin stays in your system?
Heroin is rapidly converted into 6-monoacetylmorphine, also called 6-MAM, and then into morphine. Because heroin has a half-life of only a few minutes, drug tests typically look for these metabolites rather than heroin itself.
The amount of time heroin or its metabolites remain detectable can be influenced by:
- Age
- Height and weight
- Genetics
- Hydration
- Amount and potency of the substance used
- Frequency and duration of use
- Metabolism rate
- Body composition
- Liver and kidney health
- The type and sensitivity of the drug test
- Interactions with prescription, over-the-counter, or other substances
Detection times are estimates, not guarantees. A negative result does not prove that heroin was not used, and an initial positive screening result may require laboratory confirmation.
How long does heroin stay in your urine?
Urine testing is one of the most common ways to screen for heroin and other opioids because it is relatively affordable, noninvasive, and able to detect metabolites after the effects of the drug have worn off.
Heroin’s unique metabolite is generally detectable in urine for less than 24 hours. Mayo Clinic Laboratories reports that it may be present for only about eight hours in some cases.
Morphine, the dominant metabolite produced as heroin is processed, may remain detectable for another one to three days.
For that reason, a urine test performed several days after use may detect morphine but not 6-MAM. Morphine alone does not always prove that heroin was used because it can have other sources.
Frequent or heavy use, impaired kidney or liver function, the amount used, and differences in testing sensitivity may change the detection window. No generalized timeline can predict an individual result with certainty.
How long does heroin stay in saliva and blood?
Because heroin has such a short half-life, blood testing generally has a narrower detection window than urine testing. Heroin may only be detectable in blood for several hours, although metabolites may remain measurable longer depending on the test.
Blood testing is more likely to be used in a medical emergency or when clinicians need information about very recent use. It is not usually the first choice for routine workplace screening.
Saliva, or oral-fluid, testing can also identify recent opioid exposure. Depending on the testing method and cutoff level, heroin or its metabolites may be detected for approximately 24 to 48 hours.
A test’s ability to distinguish heroin from other opioids depends on whether it specifically looks for 6-MAM. Results should be interpreted by a qualified professional who understands the testing method, timing, medications, and other possible sources of an opiate result.
How long does heroin stay in your hair?
Hair testing has the longest detection window. A standard hair test often examines the 1.5 inches of hair closest to the scalp. Because scalp hair grows at an average rate of approximately half an inch per month, this sample may reflect substance exposure over roughly 90 days.
Hair testing cannot reliably identify heroin use immediately after it occurs. The substance and its metabolites need time to enter the growing hair shaft and emerge above the scalp.
Longer hair samples may provide a longer history, although laboratories commonly limit the length tested. Body hair may be used when scalp hair is unavailable, but estimating the exact timing of exposure from body hair is more difficult because it grows at a different and less predictable rate.
Hair products marketed as a way to remove evidence of heroin use are not reliable. Drug metabolites are incorporated into the hair shaft and cannot simply be washed away with a cleansing shampoo.
Heroin detection windows by test type
The following table summarizes the approximate detection windows explained above.
| Test type | Approximate heroin detection window |
| Urine | Usually 1–3 days; 6-MAM is typically detectable for less than 24 hours |
| Blood | Generally several hours and sometimes up to approximately 1 day |
| Saliva | Commonly up to 24–48 hours, depending on the test |
| Hair | Approximately 90 days or longer, depending on the length of hair tested |
The test, cutoff level, sample quality, laboratory method, amount used, and individual metabolism can all affect these windows.
Passing a drug test for heroin
There is no reliable shortcut for removing heroin or its metabolites from your body before a drug test.
Drinking excessive water, using cleansers, adding chemicals to a sample, or purchasing products marketed as detox solutions does not safely or predictably change the result.
Laboratories may also test samples for dilution, substitution, adulteration, temperature, and other signs that someone attempted to alter the specimen.
The only dependable way for heroin and its metabolites to leave the body is to stop using the substance and allow time for natural metabolism and elimination. However, the need to pass a test may be a sign that heroin use is beginning to affect employment, legal responsibilities, relationships, health, or daily life.
That concern deserves more than a strategy for passing the next test.
False positives in heroin testing
Initial drug screens can occasionally produce false-positive results because they identify a category of substances rather than one specific drug.
Confirmation testing uses more precise laboratory methods to determine which substances or metabolites are present.
Foods containing poppy seeds can sometimes cause morphine or codeine to appear in urine. Certain medications may also interfere with some enzyme immunoassay screening tests.
However, the presence of 6-MAM is considered specific to heroin. A screening result showing only morphine is not the same as a confirmed 6-MAM result.
If you believe a test result is incorrect, provide an accurate list of prescription medications, over-the-counter products, and supplements to the medical review officer or testing professional. Do not stop prescribed medication without speaking with your healthcare provider.
How do I get heroin out of my system?
There is no pill, drink, cleanse, or home remedy that can immediately remove heroin from your system. The body must metabolize and eliminate the substance naturally.
Stopping heroin can lead to withdrawal symptoms such as:
- Muscle and bone pain
- Nausea, vomiting, or diarrhea
- Sweating and chills
- Restlessness
- Anxiety or irritability
- Sleep difficulties
- Runny nose and watery eyes
- Strong cravings
Although opioid withdrawal is not usually fatal on its own, it can become medically complicated. Vomiting and diarrhea may cause dehydration, and the risk of overdose increases if someone returns to use after their tolerance has decreased.
Detox and stabilization can provide medical support, symptom management, monitoring, and a plan for the next phase of treatment.
Fentanyl contamination risk
Today, a person who believes they are using heroin may also be exposed to illegally manufactured fentanyl without knowing it.
The CDC reports that powdered fentanyl can look like other substances and may be mixed with heroin, cocaine, or methamphetamine. It cannot be reliably identified by sight, taste, or smell.
The DEA also warns that fentanyl is intentionally mixed into heroin and other substances because it is potent and inexpensive. Without laboratory testing, there is no way to know how much fentanyl may be present.
This contamination changes both the overdose risk and the meaning of a drug test. A test designed to detect heroin or standard opiates may not automatically test for fentanyl. Someone may therefore receive a negative opiate result even after fentanyl exposure unless the testing panel specifically includes fentanyl.
Fentanyl can slow or stop breathing. Signs of an opioid overdose may include:
- Slow, irregular, or stopped breathing
- Inability to wake up
- Blue or gray lips, fingertips, or skin
- Pinpoint pupils
- Choking, gurgling, or snoring sounds
- Cold or clammy skin
Call 911 immediately if an overdose is suspected. Naloxone can reverse an opioid overdose, including one involving fentanyl, but emergency medical care is still necessary.
If fentanyl contamination or escalating opioid use has raised concerns, The Raleigh House admissions process begins with a confidential conversation about what is happening and which level of support may be appropriate.
A better way to escape drug addiction
Every use of illicit heroin carries risk. The current drug supply makes that risk even less predictable because you may not know the substance’s potency or whether fentanyl is present.
There is a better way to live than planning around drug tests, withdrawal, or uncertainty about what is in the next dose.
At The Raleigh House, we know that stopping heroin is only the beginning. Treatment should also help you understand what drives substance use, manage cravings and emotional distress, strengthen relationships, and build a life that feels worth protecting.
Recovery may begin with medical detox and stabilization. During this phase, the treatment team can address the physical, mental, and emotional effects of withdrawal.
When clinically appropriate, medication-assisted treatment may be included as part of a broader plan that also involves therapy and behavioral health support.
After stabilization, clients may transition into residential or outpatient treatment. For individuals who need more time for deeper therapeutic work,
The Raleigh House follows a 90-day rehab program as the gold standard, with other options available when work, family, insurance, or other constraints affect length of stay.
Our skilled team combines evidence-based clinical care with experiential and holistic therapies through the East Meets West philosophy. Treatment addresses the whole person—not only the presence of heroin in the body.
Frequently asked questions
How long does heroin stay in your system?
Heroin itself remains in the body for only a short time because it is rapidly converted into 6-MAM and morphine. Its metabolites may be detected in urine for about 1 to 3 days, in blood for several hours, in saliva for about 24 to 48 hours, and in hair for about 90 days or longer.
These are general estimates. The actual detection window depends on the test, cutoff level, amount and frequency of use, metabolism, and physical health.
Can heroin be detected days after a single use?
Yes. Although heroin and 6-MAM are eliminated quickly, morphine may remain detectable in urine for one to three days after a single use. Hair testing may identify exposure much later, although it cannot reliably show the exact day heroin was used.
Is fentanyl-contaminated heroin common?
Fentanyl is frequently present in the illicit drug supply and may be mixed into substances sold as heroin. The CDC warns that fentanyl cannot be detected by sight, taste, or smell. Any illicit opioid should therefore be treated as potentially containing fentanyl.
A standard opiate test may not identify fentanyl unless the testing panel specifically includes it.
Find heroin addiction treatment near Denver
The Raleigh House provides a connected continuum for adults seeking help with heroin, fentanyl, other opioids, mental health conditions, or co-occurring concerns.
The Ranch at The Raleigh House is located on 40 peaceful acres in the Colorado countryside near Denver. Its nature-immersive environment supports detox, stabilization, and residential treatment, with equine therapy, horticulture, movement, and other experiential opportunities.
The Center for Integrative Behavioral Health is located in the Denver Tech Center. This welcoming, physically accessible setting supports Partial Hospitalization, Intensive Outpatient, and continued outpatient care as clients begin returning to everyday responsibilities.
If you are concerned about heroin use, withdrawal, fentanyl exposure, or the possibility of returning to use, call The Raleigh House at 720.307.6337 or contact us online. The first step is a confidential conversation about what you need and how treatment may help.
FAQs About Heroin Rehab
How Do I Know If My Child is Using Heroin?
How Cognitive Behavioral Therapy (CBT) Can Help with Heroin Addiction?
Does Heroin Rehabilitation Work?
What are the Effects of Injecting Heroin?
What are the Side Effects of Smoking Heroin?
What are the Effects of Heroin When Snorted?
What Does a Heroin Addict Look Like?
What is Harm Reduction in Relation to Heroin Addiction?
What are the Facts About Heroin Addiction & Depression Recovery?
How Long Does Heroin Withdrawal Last?
What are the Differences Between the Inpatient and Outpatient Heroin Treatment?
How Does Heroin Use Affect Pregnancy?
What are the Long-Term Effects of Heroin on Your Mouth and Teeth?
How Nutrition and Exercise Can Help with Heroin Recovery?
How Heroin Affects Immune Health?
How Long Does Heroin Stay in Your System?
What are the Long-Term Effects of Heroin on the Body?
What are the Long-Term Effects of Heroin on the Brain?
How to Deal with a Loved One Who is a Heroin Addict?
What are the Dangers of Mixing Heroin and Xanax Together?
