To investigate the effects of Xiongcan Yishen Formula (XYF) on ferroptosis in mouse TM3 Leydig cells after oxidative stress injury (OSI) induced by H2O2. Methods: An oxidative stress injury model was established in mouse TM3 Leydig cells using H2O2 induction. The modeled TM3 cells were randomly divided into OSI group, XYF group, the ferroptosis inhibitor Ferrostatin-1 (F-1) group, and F-1+XYF group, which were respectively intervened with blank serum, 20% drug-containing serum, 2μmol/L F-1, and 2μmol/L F-1+ 20% drug-containing serum. A control group (normal TM3 cells + blank serum) was also set up. The morphology of cells in each group was observed, and the levels of testosterone, superoxide dismutase (SOD), reactive oxygen species (ROS), malondialdehyde (MDA), ferritin heavy chain 1 (FTH1), solute carrier family 7 member 11 (SLC7A11), glutathione (GSH), glutathione peroxidase 4 (GPX4), fatty acid CoA ligase 4 (FACL4), total iron ions, and ferrous ions were detected.