BackgroundToxoplasmosis, caused by Toxoplasma gondii , poses serious health issues for humans and animals. Individuals with impaired immune systems are more susceptible to severe toxoplasmosis. Pregnant women infected by T. gondii can face the possibility of birth defects and miscarriages. While pyrimethamine and sulfadiazine are commonly used drugs in clinical practice, concerns over their side effects and resistance are on the rise. A spider peptide XYP1 isolated from Lycosa coelestis had potent anti-T. gondii effects, but it had a high synthesis cost and strong cytotoxicity.MethodsThis study intended to modify XYP1 for producing derived peptides via amino acid truncation and substitution. The anti-T. gondii effect was evaluated by trypan blue staining assay and killing experiment of RH strain tachyzoites. The CCK8 and hemolysis assays were used to compare their safeties. The morphological changes of T. gondii were observed by scanning electron microscope and transmission electron microscope. In addition, the mechanism of XYP1 against T. gondii through RNA-sequencing was further explored.ResultsIn vivo and in vitro experiments revealed that XYP1-18 and XYP1-18-1 had excellent anti-T. gondii activity with lower cytotoxicity and hemolysis activity than XYP1. XYP1, XYP1-18, and XYP1-18-1 were able to disrupt the surface membrane integrity of T. gondii tachyzoites, forming pores and causing the disruption of organelles. Furthermore, RNA-sequencing analysis indicated that XYP1 could stimulate the host immune response to effectively eliminate T. gondii and lessen the host’s inflammatory reaction.ConclusionsXYP1-18 had lower cytotoxicity and hemolysis activity than XYP1, as well as significantly extending the survival time of the mice. XYP1 played a role in host inflammation and immune responses, revealing its potential mechanism. Our research provided valuable insights into the development and application of peptide-based drugs, offering novel strategies and directions for treating toxoplasmosis.Graphical