How Long Does MDMA Stay in Your System?
See approximate detection windows for MDMA across urine, blood, saliva, and hair tests, and the factors that change them. MDMA does something almost no other drug does: it disables the enzyme that clears it, so the second pill does not behave like the first.
Need support now? Call or text 988 for the Suicide & Crisis Lifeline, or call 1-800-662-HELP for the SAMHSA National Helpline. Free and confidential, 24/7.
MDMA kills by overheating and by overdrinking, and the second one is the cruel part. It raises body temperature and stops you noticing, which is how people collapse from heatstroke on a dance floor. But the old advice to drink lots of water has killed people too: MDMA makes the body retain water, and drinking heavily on top of that can drop blood sodium until the brain swells. Neither extreme is safe. Roughly a pint of water an hour if you are dancing, less if you are not, and take breaks somewhere cool. If someone is confused, cramping, vomiting, or has a temperature above 39C, call 911.
Urine vs blood vs saliva vs hair, on the same scale
The solid bar is the shorter end of the range. The faded section shows how much further it can stretch.
Why the second pill hits harder than the first
MDMA is cleared mainly by a liver enzyme called CYP2D6, and MDMA sabotages it. As it is broken down, it forms a complex that shuts the enzyme down almost irreversibly, so the drug destroys its own exit route. The consequence is that MDMA follows non-linear pharmacokinetics: doubling the dose more than doubles the concentration in your blood.
Researchers put a figure on this. In a controlled trial, volunteers were given 100mg of MDMA and then a second identical 100mg dose twenty-four hours later. Following the second dose, total exposure to the drug rose by 77 percent and peak blood levels by 29 percent, far more than simple accumulation could explain. The same pill, in the same person, produced substantially more drug in the body the second time.
This is the pharmacology behind a common and dangerous pattern. Someone takes a pill, feels less than they expected an hour later, takes another, and ends up with a blood concentration far higher than they intended. It is also why detection windows lengthen with redosing rather than simply repeating. And it means that a poor CYP2D6 metaboliser, or anyone taking an SSRI such as fluoxetine or paroxetine which blocks the same enzyme, is starting from a worse position.
What is actually in the pill
Pills and powder sold as ecstasy or molly frequently are not MDMA, or are not only MDMA. The substitutions that kill people are PMA and PMMA, which are far more toxic and, crucially, come on slowly. Someone takes a pill, feels nothing after an hour, takes another, and receives a lethal dose of something that was never MDMA. Cathinones, methamphetamine, ketamine, and increasingly fentanyl also turn up in the supply.
Reagent testing kits distinguish MDMA from PMA and from cathinones, and drug-checking services exist in many cities. Dose is unknowable by eye: pills have been found containing anywhere from almost nothing to several times a normal dose. If a pill does nothing after an hour, the safe conclusion is that it is not MDMA, not that you need another.
What affects how long MDMA stays in your system
- How much was taken, and whether it was redosed. Because of enzyme self-inhibition, this counts more than it would for other drugs.
- Your CYP2D6 genetics, and any medication that blocks CYP2D6, including several common antidepressants.
- Urine pH, as with other amphetamine-type substances.
- Liver and kidney function.
- Whether what was taken was MDMA at all.
If MDMA has become a problem
MDMA does not produce a physical withdrawal syndrome in the way opioids or alcohol do, but the crash in the days afterwards is real, driven by depleted serotonin, and it can be severe enough to be dangerous in someone already struggling. The Tuesday after can be worse than the Saturday. If low mood, anxiety, or memory problems are outlasting the weekend, or use has crept from occasional to routine, that is worth taking seriously. Take a private self-assessment, or read about treatment programs and mental health support.
Checking a different substance? Compare detection windows for 34 substances with our full substance detection time calculator.
These windows are general estimates drawn from clinical and forensic toxicology references, including De la Torre and colleagues' research on the non-linear pharmacokinetics of MDMA published in the British Journal of Clinical Pharmacology, and laboratory documentation on amphetamine-class immunoassays. They are not a guarantee for any individual or test, and they are not medical or legal advice. If results matter for your health, employment, or a legal situation, talk with a qualified professional or the testing laboratory.
Detection Time Calculators
Every substance has its own window, its own metabolite, and its own way of slipping past a drug test. Pick one to see the detail.
- All substances
- Alcohol
- Cannabis
- Cocaine
- Codeine
- Crystal meth
- Fentanyl
- Gabapentin
- Heroin
- Hydrocodone
- Ketamine
- Klonopin
- Kratom
- LSD
- MDMA
- Methadone
- Opiates
- Ritalin
- Tramadol
- Valium
- Xanax
All windows are estimates. Detection times vary widely from person to person, and no calculator can tell you when a test will be clear.

