Identifying and quantifying 3,4-methylenedioxymethamphetamine (MDMA) on-site in suspected illicit drug samples, whether it be at recreational settings or manufacturing sites, is a major challenge for law enforcement agencies (LEAs). Various analytical techniques exist to fulfil this goal, e.g. colourimetry and portable spectroscopic techniques, each having its specific limitations (e.g. low accuracy, fluorescence, no quantification) and strengths (e.g. fast, easy to use). In this work, for the first time, an electrochemical MDMA sensor is presented to become a detection tool that can realistically be used on-site. More specifically, the use of a single buffer solution and an unmodified screen-printed electrode, along with the integration of a data analysis algorithm and mobile application permits the straightforward on-site identification and quantification of MDMA in suspicious samples. Multiple studies investigating different parameters, including pH, concentration, reproducibility, temperature and binary mixture analyses, were executed. To fully understand all the occurring redox processes, liquid chromatography coupled with high-resolution mass spectrometry analysis of partially electrolyzed MDMA samples was performed unravelling oxidation of the methylenedioxy group. Validation of the methodology was executed on 15 MDMA street samples analysed by gas chromatography coupled with mass spectrometry and compared with the performance of a commercial portable Raman and Attenuated Total Reflection Fourier Transform Infrared Spectroscopy (ATR-FTIR) device. The novel methodology outperformed the spectroscopic techniques, correctly identifying all 15 street samples. Additionally, the electrochemical sensor predicted the purity of the tablets with a mean absolute error of 2.3%. Overall, this new, electrochemical detection strategy provides LEAs the rapid, low-cost, on-site detection and quantification of MDMA in suspicious samples, without requiring specialized training.