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. The gene discussed is PDIA6; the disease is hepatocellular carcinoma.