Skip to main content
← All articles
mdmamollydrug testingdetectionharm reduction

How Long Does MDMA Stay in Your System?

Urine 1 to 3 days, blood and saliva 1 to 2, hair up to 90. Why lab testing stretches the urine window to a week, and why 5-panel tests miss it.

June 4, 2026 · Jordan Mercer

Not medical advice. Harm reduction information for people who have already decided to use. In an emergency, call your local emergency number. Some links are affiliate links; we may earn a commission at no cost to you.
Contents

Urine, about 1 to 3 days. Blood and saliva, roughly 1 to 2. Hair, up to about 90 days. Those are single-dose figures, and every one of them can stretch.

This is a different question from how long the effects last, which is 3 to 5 hours. The drug and its breakdown products sit in your body long after you feel sober.

TestDetection window, single moderate dose
BloodUp to about 24 hours
Saliva1 to 2 days
Urine1 to 3 days, or 5 to 6 with metabolite-targeted lab testing
HairUp to about 90 days

Why the window moves so much

MDMA has a plasma half-life of roughly 7 to 8 hours, so the amount in your blood halves about that often. Five half-lives, or somewhere around 35 to 40 hours, clears most of the parent drug. Urine runs longer because the kidneys concentrate MDMA and its breakdown products.

A controlled dosing study published in the Journal of Analytical Toxicology in 2009 followed urinary excretion in volunteers given measured oral doses. The metabolite HMMA stayed detectable more than 33 hours longer than MDMA itself, and at a sensitive detection threshold, MDMA-related compounds turned up in urine up to 168 hours, seven days, after dosing. That gap is exactly why a lab confirmation can catch use that a quick strip missed two days earlier.

What moves your personal number:

  • Dose. 75 mg clears faster than a 200 mg pressed pill, and MDMA has nonlinear pharmacokinetics, so higher doses clear disproportionately slowly rather than proportionally.
  • CYP2D6. MDMA is broken down mostly by this liver enzyme. Roughly 5 to 10% of people are naturally slow metabolizers, and MDMA temporarily inhibits the enzyme in everyone, so a second dose clears slower than the first.
  • Frequency. Regular use accumulates and lengthens the window past what a one-off would give you.
  • Hydration and urine pH shift the timing mildly.
  • Body composition has a small effect on distribution.

Why standard drug tests often miss it

The common SAMHSA 5-panel screens for marijuana, cocaine, opiates, PCP and amphetamines. MDMA is an amphetamine derivative, so it sometimes trips the amphetamine strip, but that cross-reactivity is inconsistent and false negatives are common.

Anyone who specifically wants to detect MDMA adds a dedicated MDMA immunoassay or runs confirmatory GC-MS or LC-MS, which is highly specific and considerably more sensitive.

So you cannot assume a generic test will catch it, or that it will not. It depends entirely on which panel is being run, and that is usually not something you get told.

Testing yourself first

If you are facing a test and want to know where you stand, home urine test kits use the same immunoassay technology as the screening step at a lab. Whether the result means anything depends on a few things.

Buy a panel that names MDMA explicitly. This is the mistake people make. A basic 5-panel screens for amphetamines generally, and MDMA’s cross-reactivity there is unreliable, so it can read negative while a dedicated MDMA panel reads positive.

They answer one question: above or below the cutoff, commonly around 500 ng/mL for amphetamine-class compounds. There is no concentration reading, and a faint line still counts as negative as long as a line is there.

A negative at home is not a guarantee. Lab confirmation targets metabolites directly and is far more sensitive, which is the whole reason the lab urine window runs to 5 or 6 days while a home strip stops reading positive earlier.

False positives happen. Some decongestants and prescription stimulants trigger the amphetamine panel, and a confirmatory lab test is what separates them. Worth knowing if you have a legitimate prescription.

Testing yourself tells you what a screening test would probably show today. It does not shorten the window. Nothing shortens the window.

Two things worth being clear about

Detection is not impairment. MDMA can show in urine days after reaction time, judgement and pupil response have all returned to normal. It also runs the other way: you can be genuinely unsafe to drive while a quick test reads negative.

You cannot flush it out faster. Hydration helps you feel better and supports thermoregulation while you are using, but drinking large volumes to beat a test does not work and is dangerous. MDMA promotes water retention, and overdrinking on top of that can cause life-threatening hyponatremia. People have died this way. It is not a theoretical caution.

For the effects timeline from onset to comedown, see how long MDMA lasts. For spacing between uses, see the 3-month rule. For effects, dosing and risks in full, see our MDMA harm reduction guide, and check the interaction checker before combining anything.

Sources

  • de la Torre R, et al. Non-linear pharmacokinetics of MDMA (‘ecstasy’) in humans. British Journal of Clinical Pharmacology, 2000. PMID 10671903
  • Urinary MDMA, MDA, HMMA and HMA excretion following controlled MDMA administration to humans. Journal of Analytical Toxicology, 2009. PMID 19874650