Metformin promoted ferroptosis in hepatocellular carcinoma cells through ATF4/STAT3, decreased sorafenib IC50, increased ROS and lipid peroxidation levels, decreased cell migration and invasion, inhibited the expression of the drug-resistant proteins ABCG2 and P-GP in hepatocellular carcinoma cells, and thus inhibited sorafenib resistance in hepatocellular carcinoma cells. The gene discussed is STAT3; the disease is hepatocellular carcinoma.