BackgroundClear cell renal cell carcinoma (ccRCC) is the most common renal malignancy, although newly developing targeted therapy and immunotherapy have been showing promising effects in clinical treatment, the effective biomarkers for immune response prediction are still lacking. The study is to construct a gene signature according to ccRCC immune cells infiltration landscape, thus aiding clinical prediction of patients response to immunotherapy.MethodsFirstly, ccRCC transcriptome expression profiles from Gene Expression Omnibus (GEO) database as well as immune related genes information from IMMPORT database were combine applied to identify the differently expressed meanwhile immune related candidate genes in ccRCC comparing to normal control samples. Then, based on protein–protein interaction network (PPI) and following module analysis of the candidate genes, a hub gene cluster was further identified for survival analysis. Further, LASSO analysis was applied to construct a signature which was in succession assessed with Kaplan–Meier survival, Cox regression and ROC curve analysis. Moreover, ccRCC patients were divided as high and low-risk groups based on the gene signature followed by the difference estimation of immune treatment response and exploration of related immune cells infiltration by TIDE and Cibersort analysis respectively among the two groups of patients.ResultsBased on GEO and IMMPORT databases, a total of 269 differently expressed meanwhile immune related genes in ccRCC were identified, further PPI network and module analysis of the 269 genes highlighted a 46 genes cluster. Next step, Kaplan–Meier and Cox regression analysis of the 46 genes identified 4 genes that were supported to be independent prognosis indicators, and a gene signature was constructed based on the 4 genes. Furthermore, after assessing its prognosis indicating ability by both Kaplan–Meier and Cox regression analysis, immune relation of the signature was evaluated including its association with environment immune score, Immune checkpoint inhibitors expression as well as immune cells infiltration. Together, immune predicting ability of the signature was preliminary explored.ConclusionsBased on ccRCC genes expression profiles and multiple bioinformatic analysis, a 4 genes containing signature was constructed and the immune regulation of the signature was preliminary explored. Although more detailed experiments and clinical trials are needed before potential clinical use of the signature, the results shall provide meaningful insight into further ccRCC immune researches.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12885-023-11150-4.