MDMA is a form of amphetamine, so it is water based and passes through the system rather quickly. About 72 hours and you should be clean, but that differs per individual. I would safe to be on the safe side, if you give it a week, you should be good.