Four key UPR genes (ATF4, GOSR2, PDIA6 and SRPRB) were established in the prognostic model and HCC patients with high risk score had a worse clinical prognosis. This evidence concerns the gene ATF4 and hepatocellular carcinoma.