In this study, we focused on exploring the heterogeneity of the tumor microenvironments from patients with ccRCC, identified two immune subtypes of ccRCC, and identified five immune genes (AQP9, KIAA1429, HAMP, CCL13, and CCL21) from the high and low subgroups that were used to construct a risk model. The gene discussed is CCL21; the disease is nonpapillary renal cell carcinoma.