Briarwood Detox Center

Guide

How Long Does Heroin Stay in Your System? What Each Test Finds, for How Long, and Why Fentanyl Changes the Answer

Joint Commission accredited · In network with most major insurance · Admissions answered 24 hours a day

Written by

Anna-Grace Washington

Medical Content Writer

Medically reviewed by

Dr. Manohar Vajja, MD

Medical Director

Published October 1, 2026

Heroin itself is gone from the body within minutes. What a drug test finds is what the body turns it into, and each of those markers has its own clock: hours for the one that proves heroin specifically, a few days for morphine in urine, and months in hair. This page gives the window for each kind of test from the federal testing rules and laboratory references, explains why a heroin test and a fentanyl test are not the same thing, and ends with the question most people are really asking, which is when withdrawal starts. “Dope” here means heroin, the sense the laboratory references use; if you mean methamphetamine, the meth page has its own timeline.

How long does heroin stay in your system?

Heroin stays in your system for minutes, not days; its half-life in blood is about five minutes. The markers tests look for last longer: 6-acetylmorphine for hours, morphine in urine for one to three days.

The body strips heroin down in two steps. First it becomes 6-acetylmorphine, usually written 6-AM or 6-MAM, which has a half-life of roughly six to fifteen minutes and is the only substance that proves heroin in particular was taken. Then 6-AM becomes morphine, which has a half-life of between one and seven hours and is what most tests actually detect. ARUP Laboratories’ reference table, used by clinicians to read drug tests, lists the heroin parent drug as not detected at all, 6-AM as detectable in urine for under a day, and morphine for one to three days.

Those are typical windows for a single use at an ordinary dose. Heavy daily use pushes morphine toward the long end and sometimes past it, and the sections below give the number for each specimen in turn.

How long does heroin stay in urine?

Heroin shows in urine as morphine for one to three days after use, and as 6-acetylmorphine for less than a day. Urine is the specimen almost every employer, court and clinic uses.

The federal workplace rules, which most private testing copies, set two cutoffs for the opiate panel. A specimen is positive for morphine at 2,000 nanograms per milliliter, and positive for 6-AM at 10 nanograms per milliliter. The morphine cutoff is deliberately high because codeine, prescribed morphine and even poppy seeds all produce morphine in urine; the 2001 study above notes that this is exactly why the federal program raised the cutoff and required 6-AM confirmation. A morphine result alone says an opiate was taken. A 6-AM result says it was heroin, and because 6-AM clears within hours, a positive 6-AM test means use was recent.

In practice a urine test taken the morning after use is positive. A test two days later usually is for a regular user and may not be for an occasional one. A test four or five days later is usually negative for morphine unless use was heavy and daily.

Source: Mandatory Guidelines for Federal Workplace Drug Testing Programs, Department of Health and Human Services, Federal Register, January 23, 2017, effective October 1, 2017.

How long does heroin stay in blood and saliva?

Heroin stays in blood for minutes and its metabolites for hours, so blood is used only when recent use matters, as in a hospital or after a crash. Saliva tests detect 6-AM and morphine for roughly a day.

Blood is the shortest window of all. With a five-minute half-life, heroin itself is essentially unmeasurable soon after use; 6-AM follows within hours, and morphine, with a half-life of up to about seven hours, is below most cutoffs within a day. Hospitals use blood when a person cannot give urine or when the question is what was taken in the last few hours.

Saliva, which the testing industry calls oral fluid, became an approved specimen for federal workplace testing on January 1, 2020. The federal oral fluid panel screens for 6-AM at 4 nanograms per milliliter and morphine at 30, and the guidelines themselves describe oral fluid’s window of detection as short compared with urine. Its advantage is that collection is watched, so the sample cannot be swapped, and it picks up the parent drug and 6-AM, which tells the tester the use was recent.

Source: Mandatory Guidelines for Federal Workplace Drug Testing Programs using Oral Fluid, Department of Health and Human Services, Federal Register, October 25, 2019.

How long does heroin show up in a hair test?

Heroin shows up in a hair test for about 90 days on the standard inch-and-a-half sample. It does not show for the first five to seven days, because the drug has to grow out of the scalp first.

Hair records drug use rather than measuring it. Metabolites travel through the bloodstream to the hair follicle and are built into the shaft as it forms. The Department of Health and Human Services’ proposed federal hair rules put the average growth rate at about one centimeter a month and note that drug analytes do not appear in hair for five to seven days after use, which is why hair is unsuitable for detecting recent use and is reserved for pre-employment and random testing. The federal proposal tests a half-inch to one inch of hair, representing roughly 30 to 60 days; commercial labs usually cut one and a half inches, which at that growth rate is about three months.

The hair panel looks for 6-AM as well as morphine, at 200 picograms per milligram, so a hair test can distinguish heroin from prescribed opiates in a way a morphine-only urine result cannot.

Source: Mandatory Guidelines for Federal Workplace Drug Testing Programs using Hair, proposed, Department of Health and Human Services, Federal Register, September 10, 2020.

What changes how long heroin stays in your system?

Dose and frequency change the window most. A single use clears urine in a day or two; daily use builds up morphine and its conjugates so that tests stay positive toward the three-day end and occasionally beyond it.

The other variables are the ones the half-lives above depend on. Morphine is cleared by the liver and kidneys, so liver disease or reduced kidney function stretches the window. Very dilute urine lowers the concentration, but federal and most commercial labs measure creatinine and flag a dilute specimen rather than report it negative. And the cutoff matters: a clinic running a 300 nanogram morphine screen, which many hospital and treatment programs do, catches use for longer than the 2,000 nanogram federal workplace cutoff. In the 2001 study of people in treatment, 18.9 percent of specimens screened positive at 300 nanograms against 11.1 percent at 2,000.

What does not change the window is anything sold for the purpose. Drinking water, exercise and detox drinks do not speed the chemistry, and dilution is the thing labs are set up to catch.

Will heroin show up on a drug test if it was actually fentanyl?

Fentanyl does not show up on a standard opiate screen at all. The opiate panel detects morphine and its relatives; fentanyl is a synthetic opioid with different metabolites and has to be tested for separately.

This matters because most of what is sold as heroin now contains fentanyl, and some of it contains no heroin. A guide for clinicians in Federal Practitioner states it plainly: synthetic opioids such as fentanyl, methadone or meperidine are not detected by the opiate immunoassay and need to be ordered separately. The real-world size of the gap showed up in a Baltimore emergency department surveillance study published by the CDC. Of patients tested in 2019, 83 percent were positive for fentanyl on a specific fentanyl test, and the hospital’s ordinary opiate screen was negative for 55 percent of those fentanyl-positive specimens.

So someone who has been using “dope” that is mostly fentanyl can pass an opiate screen and fail a fentanyl test, or pass both if only the opiate panel was run. When fentanyl is tested for, ARUP’s reference gives it and its metabolite norfentanyl a urine window of one to three days, similar to morphine. The opioid detox page covers the medication approach when fentanyl is what is really in the supply.

When does withdrawal start after the last dose of heroin?

Withdrawal starts within about 12 hours of the last dose of heroin, according to the National Library of Medicine, well before a urine test would turn negative. For fentanyl, which accumulates in the body, onset is later and the course longer.

The early symptoms are agitation, anxiety, muscle aches, tearing, insomnia, a runny nose, sweating and yawning; the later ones are abdominal cramping, diarrhea, dilated pupils, goosebumps, nausea and vomiting. The National Library of Medicine’s phrase is that these are very uncomfortable but not life threatening. The danger in heroin withdrawal is what happens after it: tolerance drops in days, and a return to a familiar dose, now in a supply that is mostly fentanyl, is how overdoses after a detox attempt happen. The heroin withdrawal timeline page walks through the days; the heroin detox page explains why fentanyl changes both the timing and the medication.

Source: Opiate and opioid withdrawal, MedlinePlus Medical Encyclopedia, National Library of Medicine, reviewed May 15, 2026.

Why does the detection window matter in detox?

Detection windows matter in detox because the admission drug test, not the person’s account, tells the physician what is actually in the body. A fentanyl result changes the buprenorphine plan, and Briarwood tests for it.

Buprenorphine, the medication in Suboxone, has to be started after withdrawal has begun, and when fentanyl is on board it is started in much smaller steps to avoid precipitated withdrawal. The Suboxone for heroin detox page explains the timing. Nobody at admission is trying to catch anyone out; the test exists so the first dose is the right one.

Medically supervised heroin detox at Briarwood runs in Austin and Houston, with nursing around the clock, comfort medication from the first hours, and the step after detox arranged before discharge, because the days when tolerance has fallen are the dangerous ones. Cost and insurance covers what a stay costs with and without coverage. Admissions is answered at every hour, and if the question is whether a test on Friday will still be positive on Monday, the better question to ask is what the next three days are going to be like without help.

Common Questions

How long does heroin stay in urine for a heavy user?+

Morphine from heroin is typically detectable in urine for one to three days, and daily heavy use pushes toward the long end and occasionally past it. The heroin-specific marker 6-acetylmorphine clears within a day regardless of how heavy the use was.

What is 6-MAM on a drug test?+

6-MAM, or 6-acetylmorphine, is the first thing heroin becomes in the body and the only marker that proves heroin specifically rather than codeine, prescribed morphine or poppy seeds. It has a half-life of minutes and is detectable in urine for under a day, so a positive 6-MAM result means recent use.

Can poppy seeds cause a positive heroin test?+

Poppy seeds can produce morphine in urine, which is why the federal morphine cutoff is set at 2,000 nanograms per milliliter and why a 6-acetylmorphine confirmation is required before a result is attributed to heroin. Poppy seeds do not produce 6-acetylmorphine.

Does a standard drug test detect fentanyl?+

No. The standard opiate panel detects morphine and its relatives, and fentanyl has different metabolites. In a 2019 Baltimore emergency department study, the ordinary opiate screen was negative for 55 percent of specimens that were positive on a fentanyl-specific test.

How long does heroin stay in your blood?+

Heroin has a half-life of about five minutes in blood and is essentially unmeasurable soon after use. Its metabolite 6-acetylmorphine lasts hours and morphine, with a half-life of up to about seven hours, falls below most cutoffs within a day.

How long after the last dose does heroin withdrawal start?+

Usually within 12 hours of the last dose, according to the National Library of Medicine. Early symptoms are anxiety, aches, sweating, yawning and insomnia; cramping, vomiting and diarrhea follow. The symptoms are not life threatening, but the overdose risk after tolerance drops is.

Related guides

3 guides · swipe or scroll

About the people behind this guide

Anna-Grace Washington, Medical Content Writer

Anna-Grace Washington

Medical Content Writer

Anna-Grace Washington is a Medical Content Writer for Briarwood Detox Center. She holds a master’s degree in clinical psychology from the University of Texas and brings a strong understanding of behavioral health, addiction recovery, and evidence-based treatment concepts to her writing.

Professional profile for Anna-Grace Washington

In network with most major insurance

Find your plan and see what detox would cost

Most plans cover medical detox. Coverage varies by plan, so we verify it for you before you commit to anything.

Don't see your plan? We work with out-of-network benefits and offer self-pay options — (866) 710-7710

  • Confidential
  • Takes about 2 minutes
  • No obligation to admit
The Joint Commission Gold Seal of Approval
  • Accredited The Joint Commission
  • Rated 4.7 · 183 Google reviews Flourishing Foundations Recovery, now part of Briarwood
  • Admissions 24 hours a day
Call (866) 710-7710