The diagnostic model with 5 hub genes (EZH2, HSPB1, NRAS, RPL8, and SUV39H1) emerges as a potential innovative tool for the diagnosis of HCC. Here, HSPB1 is linked to hepatocellular carcinoma.