A biomarker signature that incorporated HDA, DHK-PGA2, and AFP was established and showed good diagnostic potential for T2DM(+) HCC, and the area under the ROC curve (AUC) was 0.87 for diagnosing T2DM(+) HCC from T2DM individuals. This evidence concerns the gene AFP and type 2 diabetes mellitus.