A series of 2-phenyl-3-(1H-pyrrol-2-yl)acrylonitrile derivatives were synthesized and evaluated for in vitro activity against the endoparasite Haemonchus contortus and the ectoparasite Ctenocephalides felis. Some compounds had significant in vitro activity against these parasites.