Due to the high residual amount of traditional veterinary drug residue detection methods, the results did not meet the standards. Therefore, a fluorescent probe technology based veterinary drug residue detection method for livestock products was studied. The experiment first validated four extraction solvents as the followings: acetonitrile, ethyl acetate, methanol and n-hexane. The results showed when using strongly polar methanol as the extraction solvent, there were more impurities and a decrease in recovery rate; when using n-hexane extraction, the extraction solution was relatively viscous, and the filter membrane was blocked during ultrafiltration, which was not conducive to ultrafiltration. When using ethyl acetate extraction, except for eight sedatives, the recovery rate of other veterinary drugs was relatively low. When using acetonitrile extraction, the recovery rates of the eight sedatives were basically below 80%. Experimental comparison of five different mixing ratios of acetonitrile ethyl acetate (8:2, 6:4, 1:1, 4:6, 2:8, v:v). The optimal extraction efficiency was achieved using acetonitrile ethyl acetate (8:2, v:v), with an average recovery rate higher than 81.3% . As the drug mass fraction decreasing, the relative fluorescence intensity of E2 was 100%. The results showed that the residual content was less than 0.3 mg · L-1 (0.1, 0.1, 0.2, 0, 0.1), which met the requirements of the Ministry of Agriculture of China for the inspection of this product. By selecting and optimizing the extraction agent, it was found that acetonitrile ethyl acetate (8:2, v:v) had the best extraction effect. The residual content in the test results was less than 0.3 mg · L-1. This new type of biosensing technology could achieve rapid detection of commonly used drugs in animal food, laying the foundation for research on animal food safety. [ABSTRACT FROM AUTHOR]