The diagnostic model of NAFLD and the prognostic model of HCC jointly constructed by ABCC5 and TUBG1 had high predictive ability. Here, ABCC5 is linked to hepatocellular carcinoma.