The invention discloses a method for simultaneously detecting six types of 24 
antibiotics in 
livestock excrements by combination of ultrasonic extraction-
solid phase extraction pretreatment and a liquid 
chromatography-
mass spectrometry technology. The method comprises the following steps: (1) adding an 
internal standard substance for indicating the recycling rate in advance, and performing ultrasonic extraction; (2) performing 
solid phase extraction to enrich and purify target 
antibiotics; (3) performing the liquid 
chromatography-
mass spectrometry technology to detect the contents of the 24 
antibiotics. According to the method, the residue conditions of the six types of 24 antibiotics in the 
livestock excrements can be simultaneously detected at one time; the time of the detection processis short, the detection precision is high, the sensitivity, the stability and the selectivity are high, and the 
detection limit is low; by optimization of an extraction 
solvent, 
chelation between theantibiotics and 
metal ions in the excrements can be effectively reduced, so that the target antibiotics are separated from a sample, and the recycling rate is increased; furthermore, the method is easy and convenient to operate, high in 
enrichment factor and high in repetitiveness. The 
internal standard substance for indicating the recycling rate is added before the whole pretreatment process, sothat the loss of target substances in the pretreatment process can be well expressed, and a final result is more real and reliable.