The essential oils (EOs) of Illicium verum and Pelargonium graveolens were evaluated for lethality, inhibition of development and residual efficacy against the flea Ctenocephalides felis felis. Their chemical composition was characterized by means of gas chromatography with a flame ionization and mass spectrometry detection. Mortality at different immature stages and among adult fleas was measured through in vitro filter paper tests at different concentrations of EOs. The chemical characterization of I. verum volatile oil showed that E-anethole (79.96%) was the major constituent, while the major compounds in P. graveolens were citronellol (29.67%) and geraniol (14.85%). Insecticidal activity against both immature and adult flea stages were observed. The EO of I. verum had insecticidal activity for approximately 18 days, while the EO activity of P. graveolens lasted for 13 days. The pulicidal activity of I. verum remained above 70% for up to 9 days, while the activity of P. graveolens was 41.7% for up to 2 days. Essential oils, especially that of I. verum, showed insecticidal activity for flea control at different life cycle stages and have potential for the development of ectoparasiticides (biopesticides) for veterinary use.