A new sensitive method of liquid chromatography–tandem mass spectrometry (LC–MS/MS) analysis for nine fasciolicides (closantel, rafoxanide, oxyclozanide, niclosamide, nitroxinil, ioxynil, 4-nitro-3-(trifluoromethyl)phenol, salicylanilide, and triclabendazole) and three metabolite residues (ketotriclabnedazole, triclabendazole sulfone, and triclabendazole sulfoxide) in milk and infant formula was established. The samples were extracted and purified through solid-phase extraction and analyzed using LC–MS/MS. The proposed method demonstrated high accuracy (the average recoveries ranged from 70.5 % to 107.4 %) and high sensitivity (the limits of quantification ranged from 1.0 to 25.0 µg/kg). This method was successfully applied to determine nine fasciolicides and three metabolite residues in 45 milk and infant formula, providing technical support for the safety and quality evaluation of dairy products.