3,4-Methylenedioxymethamphetamine (MDMA), commonly known as ecstasy (E), is a psychoactive drug primarily used as a recreational drug. The desired effects include altered sensations and increased energy, empathy, and pleasure. When taken by mouth, effects begin after 30–45 minutes and last 3–6 hours.