Based on the relationships of STMN1, PRDX1, TP53 and G6PD with lactate metabolism, ferroptosis and survival, our analysis confirmed these four genes as key prognostic biomarkers for hepatocellular carcinoma. The gene discussed is TP53; the disease is hepatocellular carcinoma.