These results indicated that there was an association between the methylation level of CSF1R in the ANTs of patients with HCC and diabetes, thereby regulating CSF1R expression. Here, CSF1R is linked to diabetes mellitus.