The diagnostic model of NAFLD and the prognostic model of HCC jointly constructed by ABCC5 and TUBG1 had high predictive ability. The gene discussed is ABCC5; the disease is metabolic dysfunction-associated steatotic liver disease.