Abstract Background Considerable evidence has indicated an association between the immune microenvironment and clinical outcome in ccRCC. The purpose of this study is to extensively figure out the influence of immune-related genes of tumors on the prognosis of patients with ccRCC. Methods Files containing 2498 immune-related genes were obtained from the Immunology Database and Analysis Portal (ImmPort), and the transcriptome data and clinical information relevant to patients with ccRCC were identified and downloaded from the TCGA data-base. Univariate and multivariate Cox regression analyses were used to screen out prognostic immune genes. The immune risk score model was established in light of the regression coefficient between survival and hub immune-related genes. We eventually set up a nomogram for the prediction of the overall survival for ccRCC. Kaplan-Meier (K-M) and ROC curve was used in evaluating the value of the predictive risk model. A P value of