RationaleRecently, there has been a report suggesting that ecdysteroids can enhance sports performance, making them relevant substances in doping control. Hence, it is imperative to examine the analytical characteristics of ecdysteroids in biological samples to identify their misuse in competitive sports.MethodsTo assess the doping of ecdysteroids such as ecdysone, ecdysterone, ponasterone A, turkesterone, and ajugasterone C, a fast and sensitive extraction and detection method was developed, optimized, and validated using equine urine and plasma. Different extraction techniques, namely, solid‐phase extraction, liquid–liquid extraction, and dilute‐and‐inject, were explored to detect ecdysteroids from equine urine and plasma.ResultsThe most suitable method of detection was solid‐phase extraction using ABS Elut‐NEXUS, while liquid–liquid extraction and dilute‐and‐inject methods encountered difficulties due to the high polarity of ecdysteroids and the presence of significant matrix interferences. Mass spectrometric parameters are optimized on both the Q Exactive high‐resolution mass spectrometer and the TSQ Altis triple quadrupole mass spectrometer. However, the study indicated that the triple quadrupole mass spectrometer exhibited improved limit of detection when analyzing samples. To achieve optimal separation of the analytes under investigation from the matrix interferences, various liquid chromatography columns were compared. The Selectra PFPP LC column with a mobile phase consisting of 0.2% formic acid in water (mobile phase A) and acetonitrile (mobile phase B) at a flow rate of 0.5 mL/min demonstrated superior performance.ConclusionsThe findings of this study will significantly contribute to the accurate identification of ecdysteroids, facilitating the investigation of their illicit use in horse racing.