Ferroptosis is a unique type of non-apoptotic form of cell death characterized by increased lipid hydroperoxide levels. It has relevance for a number of pathological conditions including multiple organ injuries and degenerative diseases. GPX4 plays an important role in ferroptosis by repairing lipid hydroperoxides. Based on the reported allosteric sites, we obtained the GPX4 allosteric activator hit compound A9 through virtual screening. A9 can bind to GPX4 and prevent RSL3-induced lipid peroxidation production in HT-1080 cells. In addition, A9 can specifically rescue erastin-induced cell death. Further chemical modification and structure-activity relationship studies afforded the optimized compound C3. C3 showed the activity of alleviating myocardial injury in the doxorubicin-induced myocardial injury mouse model. This study demonstrated that inhibiting ferroptosis by activating GPX4 is expected to be a potential solution to treat myocardial injury.