Skip to content
Safety Deep Dive·mdma·testing·metabolism·harm-reduction·dosage·legal

How Long Does MDMA Stay in Your System?

Learn how long MDMA stays detectable in urine, blood, saliva, and hair. Detection windows, half-life, metabolism factors, and drug test info.

Jonas K.
Jonas K.
Lead writer · harm reduction & substance guidesGothenburg

The Short Answer

MDMA is typically detectable in urine for 2-4 days after use, in blood for 1-2 days, in saliva for 1-3 days, and in hair for up to 90 days. But these numbers depend heavily on dose, frequency of use, metabolism, and which test is being used.

If you're facing a drug test and you've used MDMA recently, the details below will help you understand what you're actually dealing with.

MDMA Half-Life and Metabolism

MDMA has an elimination half-life of approximately 8-9 hours in most people. That means half the drug is cleared from your blood roughly every 8 hours. It takes about 5-6 half-lives for a substance to be considered fully eliminated, which puts complete clearance at around 40-50 hours for a standard dose.

Your liver does most of the work. MDMA is metabolized primarily by the CYP2D6 enzyme into several metabolites, the most significant being MDA (yes, the same MDA that's a recreational drug in its own right) and HMMA. These metabolites are what most drug tests actually look for.

Here's where it gets interesting: CYP2D6 activity varies massively between individuals. Some people are "poor metabolizers" (roughly 5-10% of Caucasians), meaning they break down MDMA significantly slower. If you're one of these people, MDMA stays in your system longer and hits harder at the same dose.

Detection Windows by Test Type

Urine Testing

Urine testing is the most common method for workplace and legal drug screening. MDMA and its metabolites are detectable in urine for:

  • Single use: 2-4 days
  • Heavy/repeated use: up to 5-6 days
  • Standard cutoff (immunoassay): 500 ng/mL for amphetamines class
  • Confirmation cutoff (GC-MS): 250 ng/mL for MDMA specifically

Most standard workplace drug tests use the SAMHSA-5 panel (also called NIDA-5), which tests for amphetamines as a class. MDMA will trigger the amphetamines category. Extended panels may specifically identify MDMA and MDA as separate analytes.

Blood Testing

Blood tests detect MDMA for a shorter window but are more precise about recent use:

  • Detection window: 12-48 hours
  • Peak blood concentration: 1.5-3 hours after oral ingestion
  • Useful for: Confirming very recent use (accidents, DUI)

Blood tests are rarely used for employment screening. They're more common in clinical or legal settings where timing of use matters.

Saliva Testing

Oral fluid tests are increasingly popular because they're easy to administer and hard to cheat:

  • Detection window: 1-3 days
  • Peak oral fluid concentration: 1.5-4 hours after use
  • Useful for: Roadside testing, workplace random tests

Saliva tests tend to have a shorter detection window than urine but catch very recent use effectively.

Hair Testing

Hair tests have the longest detection window but cannot identify use within the past 1-2 weeks (due to growth lag):

  • Detection window: up to 90 days (standard 1.5 inch sample)
  • Blind spot: most recent 7-14 days
  • Useful for: Detecting patterns of use over months

Hair testing is expensive and typically reserved for high-stakes situations (custody cases, certain professions, legal proceedings).

SAMHSA-5 vs Extended Panels

The standard SAMHSA-5 (Substance Abuse and Mental Health Services Administration) panel tests for:

  1. Amphetamines (includes MDMA)
  2. Cannabinoids (THC)
  3. Cocaine
  4. Opiates
  5. PCP

MDMA falls under the amphetamines category. If the immunoassay screen is positive, a confirmation test (GC-MS or LC-MS/MS) will identify the specific substance. At that point, MDMA and MDA are reported separately.

Extended panels (7, 10, or 12 panel) may include additional categories but don't fundamentally change MDMA detection. The key difference is in confirmation testing specificity.

Factors That Affect Detection Time

Dose

Higher doses produce more metabolites and take longer to clear. A 100mg dose clears faster than 200mg. Redosing extends the detection window significantly because you're stacking metabolites before the first dose is cleared.

Body Composition

MDMA is somewhat lipophilic. People with higher body fat percentages may retain metabolites slightly longer. Hydration level also affects urine concentration (dilute urine can push levels below cutoff thresholds).

Liver Function

Since CYP2D6 handles MDMA metabolism, anything affecting liver enzyme activity matters. Some medications inhibit CYP2D6 (fluoxetine, paroxetine, bupropion), potentially slowing MDMA clearance.

pH of Urine

Acidic urine accelerates MDMA excretion, while alkaline urine slows it. This isn't something you can meaningfully manipulate for testing purposes, but it does contribute to individual variation.

Frequency of Use

Regular users may accumulate metabolites over time, extending detection windows. Someone who uses MDMA weekly will test positive for longer after their last dose compared to a one-time user.

The Drug Test Reality

Let's be practical. If you have a scheduled drug test and you've used MDMA:

3+ days before a urine test: You're likely clear if it was a single dose of average strength. Hydrate normally (don't overhydrate, that can flag a dilute sample).

1-2 days before a urine test: Significant risk of detection, especially with doses above 100mg or any redosing.

Same day or next day: Very likely to test positive via any method.

For hair tests, there's no realistic way to avoid detection within the 90-day window. "Detox shampoos" are largely snake oil.

Harm Reduction Notes

This article isn't about helping you beat drug tests. It's about understanding what happens in your body after you take MDMA. That knowledge matters for:

  • Spacing doses appropriately (the 3-month rule exists for a reason)
  • Understanding drug interactions with medications
  • Making informed decisions about timing and risk
  • Using our interaction checker to evaluate combination safety

If you're going to use MDMA, test your substance first with a reagent kit. Know your dose. Don't redose recklessly. And give your brain real recovery time between sessions.

FAQ

Will MDMA show up on a standard workplace drug test?

Yes. MDMA triggers the amphetamines category on standard SAMHSA-5 panels. If the initial immunoassay is positive, a confirmation test will specifically identify MDMA. It's not possible to pass it off as a false positive from cold medicine (pseudoephedrine thresholds are now distinct from MDMA).

Does drinking water help flush MDMA from your system faster?

Not significantly. Hydration can dilute your urine concentration, potentially bringing levels below cutoff thresholds for borderline cases. But it doesn't speed up actual metabolism. Over-hydrating can flag your sample as "dilute," which often means a retest.

Can secondhand MDMA exposure cause a positive drug test?

No. Unlike cannabis smoke, MDMA doesn't have a plausible secondhand exposure route. You cannot test positive from being in a room with someone who used MDMA or from touching it briefly.

How does redosing affect detection time?

Redosing stacks metabolites significantly. Each additional dose adds metabolite load before the first dose has cleared, extending your total detection window. A 100mg initial dose plus a 50mg redose 2 hours later will be detectable notably longer than a single 100mg dose.

Do MDMA supplements or pre/post-loading affect detection time?

No. Common supplements like 5-HTP, ALA, or magnesium do not affect MDMA metabolism or detection windows. They may support recovery but have zero impact on how quickly your body clears the drug.

Is there a difference between ecstasy pills and crystal MDMA for detection?

No difference in detection. Both contain MDMA (assuming you've tested them). The form factor doesn't change metabolism. However, ecstasy pills frequently contain other substances that may also be detectable on drug panels, so testing your substance with a reagent kit is essential.

Related substances