Ecstasy can be detected in urine and hair drug tests that specifically include it as part of the panel of drugs being tested. Our 7 panel hair test detects ecstasy use, as does our 7 panel urine drug test. Note that ecstasy is not included in a 9 panel or 10 panel urine drug test. To include more drugs in the panel, opt for a 12 panel or higher, all of which include an MDMA drug test.