How Long Does MDMA Stay in Your System?
MDMA is usually detectable in urine for 1–3 days, blood 1–2 days, saliva 1–2 days, and hair up to 90 days. Detection windows by test type, explained.
June 4, 2026 · Jordan Mercer
MDMA (molly, ecstasy) is typically detectable in urine for about 1 to 3 days after a single use, in blood and saliva for roughly 1 to 2 days, and in hair for up to about 90 days. This is a separate question from how long the effects last (3 to 5 hours): the drug and its metabolites linger in your body long after you feel sober. The exact window depends on dose, your metabolism, hydration, and how sensitive the test is. One important catch: a standard workplace 5-panel drug test does not reliably detect MDMA, it needs a specific assay or an expanded panel.
Quick answers
How long does MDMA stay in your urine? Usually 1 to 3 days for a single moderate dose. Sensitive lab testing that targets the metabolite HMMA can extend that to 5 to 6 days, and very high or repeated doses push it longer.
How long does molly stay in your blood? MDMA’s blood half-life is about 8 to 9 hours, so it is mostly cleared from blood within roughly 1 to 2 days. Blood tests have the shortest window.
How long is MDMA detectable in saliva? Roughly 1 to 2 days. Saliva tracks recent use and roughly parallels blood levels.
How long does MDMA stay in hair? Hair testing can detect MDMA for up to about 90 days (longer with longer hair), because the drug is incorporated into the growing shaft.
Does a standard drug test detect MDMA? Not reliably. MDMA may cross-react on an amphetamine immunoassay, but false negatives are common. Detecting it dependably requires an MDMA-specific test or confirmatory lab analysis.
Detection windows by test type
| Test | Typical detection window (single use) |
|---|---|
| Blood | Up to ~24 hours (1–2 days) |
| Saliva | 1–2 days |
| Urine | 1–3 days (5–6 days with metabolite-targeted lab testing) |
| Hair | Up to ~90 days |
These are general ranges for a single moderate dose. Heavy, repeated, or high-dose use extends them.
Why the window varies so much
MDMA has a plasma half-life of roughly 8 to 9 hours, meaning the amount in your blood halves about every 8 to 9 hours. It takes around five half-lives (close to 40 hours) to clear most of the parent drug from blood (PMID 10671903). Urine detection runs longer because the kidneys concentrate MDMA and its breakdown products.
In a controlled study where healthy volunteers received measured oral doses, MDMA and its metabolites were detectable in urine well beyond the parent drug. The metabolite HMMA stayed detectable more than 33 hours longer than MDMA itself, and at a sensitive detection threshold MDMA-related compounds were found in urine up to 168 hours (7 days) after dosing (PMID 19874650). That is why lab-based confirmatory testing can detect use for several days while a quick urine strip may miss it after 2 to 3.
Several factors shift your personal window:
- Dose: a 75 mg dose clears faster than a 200 mg pressed pill. MDMA also has nonlinear pharmacokinetics, so higher doses are cleared disproportionately slowly.
- Metabolism (CYP2D6): MDMA is broken down mainly by the liver enzyme CYP2D6. Roughly 5 to 10% of people are naturally slow metabolizers, and MDMA temporarily inhibits this enzyme in everyone, so repeated doses clear more slowly.
- Frequency: regular use leads to accumulation and longer detection than a one-off.
- Hydration and urine pH mildly affect urine concentration and timing.
- Body composition has a minor effect on distribution.
Why standard drug tests often miss MDMA
The common SAMHSA 5-panel test screens for marijuana, cocaine, opiates, PCP, and amphetamines. MDMA is chemically an amphetamine derivative, so it can sometimes trigger the amphetamine portion, but the cross-reactivity is inconsistent and false negatives are common. Many employers and programs that specifically want to detect MDMA add a dedicated MDMA/ecstasy immunoassay or use confirmatory GC-MS or LC-MS lab testing, which is highly specific.
The practical implication: you cannot assume a generic test will or will not flag MDMA. It depends entirely on which panel is used.
A note on harm reduction
Knowing detection windows matters for people navigating drug testing at work, in treatment, or on probation, and that information is part of staying safe and informed. But two things are worth keeping in mind:
- Detection is not the same as impairment. MDMA can show up in urine days after the effects, and reaction time, judgment, and pupil response, are gone. Conversely, you can still be impaired and unsafe to drive even when a quick test reads negative.
- There is no reliable way to “flush” MDMA out faster. Hydration helps you feel better and supports thermoregulation during use, but drinking large volumes of water to beat a test is both ineffective and dangerous, MDMA causes water retention and overdrinking can cause life-threatening hyponatremia.
For how long the effects themselves last, from onset to comedown, see our companion guide on how long MDMA lasts. For how long to wait before using again, see our breakdown of the 3-month rule.
The bottom line
MDMA is detectable for about 1 to 3 days in urine, 1 to 2 days in blood and saliva, and up to 90 days in hair, with lab testing extending the urine window to nearly a week. Your dose, metabolism, and the type of test are the biggest variables, and a standard 5-panel test may not catch it at all.
For a full overview of MDMA’s effects, dosing, and risks, see our MDMA harm reduction guide. If you are combining MDMA with anything else, check our interaction checker first.
Sources: PMID 10671903 | PMID 19874650