We analyzed the biological functions and signaling pathways of YQHY and found that TP53, ATM, SMAD4, PTGS2, and ACSL4 were the hub targets of YQHY induced ferroptosis in GC. Here, TP53 is linked to gastric cancer.