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. The gene discussed is PIGH; the disease is nonpapillary renal cell carcinoma.