Our admissions team is available now, 24/7
Ecstasy Guide · How Long It Stays

How long ecstasy stays in the body and drug testing

Reviewed by: Dr. Mahmoud El-Sawy Last updated: September 28, 2026 8-minute read
The short answer

Ecstasy is usually detected in urine for roughly one to three days after the last use, sometimes a little longer; in blood and saliva for about one to two days; and in hair for up to roughly 90 days. These windows are approximate and vary with the laboratory, test sensitivity, frequency of use and the person's body.

  • A screening test can be wrong; the confirmatory test is the deciding one.
  • The drug's half-life is roughly eight hours.

How does the body eliminate ecstasy?

Ecstasy is absorbed from the digestive tract and reaches its highest blood concentration in about two hours. The liver then processes it into byproducts, including the active compound MDA, which can prolong its effect, and the drug and its byproducts leave mainly in the urine.

~8 hoursApproximate half-life of MDMA in the blood
~40 hoursApproximate time to clear most of the drug
~2 hoursUntil its blood concentration peaks

Source: StatPearls, MDMA toxicity. Figures are approximate and vary from person to person.

How long does ecstasy stay in urine, blood, saliva and hair?

Urine

About 1–3 daysThe most commonly used test; the window can extend to about 4 days with repeated use

Blood

Up to one to two daysOften used in emergencies to assess recent use

Saliva

About 1 to 2 daysDetects recent use

Hair

Up to about 90 daysReveals the pattern of use over the previous months, not recent use
Infographic of how long ecstasy stays in the body by test type: urine roughly 1-3 days, blood up to one to two days, saliva roughly 1-2 days, hair up to roughly 90 days
How long ecstasy stays in blood, saliva, urine and hair

Durations are approximate and vary with the laboratory and test sensitivity. To interpret a specific result, consult the doctor or the laboratory.

Factors that affect how long ecstasy stays

  • Frequency and length of use: repeated use lengthens the detection time compared with a single use.
  • Amount and pill content: pills are of unknown composition and may contain other substances that are detected over different periods.
  • Liver and kidney function: weakness in either slows elimination of the drug.
  • Genetic differences: people differ in the activity of the liver enzymes that break down MDMA.
  • Age and general health: the speed of elimination varies from person to person.

Screening test and confirmatory test

The initial test

Quick, and often relies on detecting the amphetamine group; it may not always pick up MDMA or may give a false positive.

Confirmatory test

Done in a specialized laboratory with precise instruments; it identifies MDMA and its byproducts specifically, and is requested after any positive screening result.

A confirmatory test alone cannot determine precisely when the use took place, so it is always read together with the medical history and circumstances.

How long ecstasy stays compared with other substances

Approximate detection windows in urine
SubstanceIn urine, approximatelyNote
Ecstasy1-3 daysMay extend a little with repeated use
Shabu and amphetaminesRoughly 1-4 daysVaries with frequency of use and the substance
HashishDays to weeksBecomes much longer with chronic use
Heroin1-3 daysUsually detected through its byproducts

Durations are approximate and vary with the laboratory and test sensitivity.

Can the result be a false positive?

Yes, in the screening test. Medical references indicate that some medications, such as nasal decongestants containing pseudoephedrine and some antidepressants such as bupropion, can interfere with initial amphetamine screening tests. This is why the laboratory must be told about all the medications the person takes, and a positive result is accepted only after the confirmatory test.

Why might the test show substances other than ecstasy?

Because ecstasy pills often contain other substances such as methamphetamine, cathinones and ketamine, the test may show a substance the person did not expect, or may not show MDMA at all. That result is itself an important message: someone who uses pills does not really know what is entering their body.

When is an ecstasy test requested?

  • In the emergency room when there is overheating, seizures or confusion, to find the cause and set the right treatment.
  • At the start of a treatment program, then periodically to monitor abstinence and support commitment.
  • In some occupational or legal examinations according to the rules in force.

Which sample does the doctor request, and why?

Uses of the different sample types
SampleWhen it is mostly usedWhat it shows
UrinePeriodic follow-up and treatment programsDetecting use in the preceding few days
BloodEmergencies and critical casesAssessing very recent use and the level of the drug at the time of examination
SalivaQuick testing in some settingsEasily detecting recent use
HairAssessing the long-term pattern of useFinding out how often use occurred over the preceding months

The doctor chooses the sample type and test according to the goal: whether it is to rescue an emergency case, follow up treatment, or assess a long-term pattern. That is why there is no single "best" test in every case.

Does a negative result mean the person did not use?

Not necessarily. The use may have happened before the detection window ended, the screening test may not be sensitive enough to pick up MDMA, or the pill itself may have contained no MDMA but another substance that the test does not cover. That is why the result is considered together with the signs and the history, and is not on its own conclusive proof in either direction.

Why don't we give tips for getting around the test?

At Eradah we do not provide any information on hiding use or cheating tests, because this protects no one; it delays treatment and exposes the person to greater risks. Many of the popular recipes for this purpose are also dangerous in themselves, such as drinking too much water, which can cause dangerous sodium deficiency. The better path is always an honest conversation and asking for help.

What does a test result mean for the family?

A positive result does not condemn the person; it is information that opens the door to treatment. And a negative result does not rule out a problem if the signs are clear, because the detection window in urine is short. What matters most is a calm conversation and a specialized assessment that looks at the whole picture.

Testing in the emergency room: its aim is treatment, not blame

In emergency departments, testing is not done to judge the patient but to understand the cause of the condition and direct treatment quickly; treating overheating differs from treating low sodium, serotonin syndrome or poisoning from a counterfeit substance. That is why telling the doctors honestly what the person took, when, and with what other substances can save their life. And do not wait for a test result before calling an ambulance if danger signs appear.

Frequently asked questions

Frequently asked questions about how long ecstasy stays in the body and drug testing

Didn’t find your answer?

Ask an advisor directly. The reply is confidential and carries no commitment.

Ask on WhatsApp
How long does ecstasy stay in urine?

Usually about one to three days after the last use, and it can extend to about four days with repeated use; the duration is approximate and varies with the laboratory.

Does ecstasy show up in a hair test?

Yes, it may show for up to roughly 90 days, but it reflects the pattern of use over the previous months, not recent use.

Does ecstasy show up in a standard drug test?

It may show up within the initial amphetamine screen, but that test can be wrong in both directions, and the result needs confirmation with a specialized test.

Can cold medicines cause a positive result?

Some decongestants can interfere with the initial amphetamine test, so the laboratory must be told about all medications, and the confirmatory test awaited.

Does the test determine when the person used ecstasy?

It does not pinpoint the timing; it indicates use within an approximate time window and is interpreted together with the medical history.

Does drinking a lot of water flush ecstasy out of the body?

We do not advise it at all; drinking too much water with ecstasy can cause dangerous sodium deficiency and brain swelling. The right path is to ask for help, not to hide use.

Is an ecstasy test different from a crystal meth (shabu) test?

Both may show up in the initial amphetamine screen, but the confirmatory test tells each substance apart specifically.

Medical reviewDr. Mahmoud El-Sawy, Consultant Psychiatrist and Addiction Specialist

This page was written by the Eradah editorial team and reviewed by a specialist physician under the medical review policy. Last medically reviewed: September 28, 2026. The content is for education and does not replace consulting a doctor.

Need help with ecstasy?

Your information is confidential and is not shared with anyone

Call WhatsApp Consultation