In this study, T1DM-related genes were identified using WGCNA, and three hub genes (KIF21A, PIGH, and RPS6KA2) were selected through feature selection in machine learning models that intersected with ccRCC prognostic DEGs; we also explored their role and potential mechanism in the development of ccRCC. Here, KIF21A is linked to nonpapillary renal cell carcinoma.