Sepsis-induced cardiomyopathy (SIC) is a distinct form of myocardial injury that disrupts tissue perfusion and stands as the significant cause of mortality among sepsis patients. Currently, effective preventive or treatment strategies for SIC are lacking. YiQiFuMai injection (YQFM), composed of Panax ginseng C.A. Mey., Ophiopogon japonicus (Thunb.) Ker Gawl., and Schisandra chinensis (Turcz.) Baill., is widely used in China to treat cardiovascular diseases, such as coronary heart disease, heart failure and SIC. Research has shown that YQFM can improve cardiac function and alleviate heart failure through multiple pathways. Nevertheless, the mechanisms through which YQFM exerts its effects on SIC remain to be fully elucidated. In this study, we firstly investigated the therapeutic effects of YQFM on a SIC rat model and explored its effects on myocardial ferroptosis in vivo. Then, LPS-induced myocardial cell death model was used to evaluate the effects of YQFM on ferroptosis and xCT/GPX4 axis in vitro. Furthermore, using GPX4 inhibitors, we aimed to verify whether YQFM improved cardiomyocyte ferroptosis through the xCT/GPX4 axis. The results showed that YQFM was effective in alleviating myocardial injury in septic model rats. Besides, the concentrations of iron and the levels of lipid peroxidation-related factors (ROS, MDA and 4-HNE) were significantly decreased and the expression of xCT/GPX4 axis was up-regulated in SIC rats after YQFM treatment. In vitro studies also showed that YQFM alleviated iron overload and lipid peroxidation and activated xCT/GPX4 axis in LPS-induced myocardial cell death model. Moreover, GPX4 inhibitor could abolish the effects above. In summary, the study highlights the regulatory effect of YQFM in mitigating myocardial injury. It probably achieves this ameliorative effect by enhancing xCT/GPX4 axis and further reducing ferroptosis.