BackgroundClear cell renal cell carcinoma (ccRCC) is a highly invasive and metastatic subtype of kidney malignancy and is correlated with metabolic reprogramming for adaptation to the tumor microenvironment comprising infiltrated immune cells and immunomodulatory molecules. The role of immune cells in the tumor microenvironment (TME) and their association with abnormal fatty acids metabolism in ccRCC remains poorly understood.MethodRNA-seq and clinical data of KIRC from The Cancer Genome Atlas (TCGA) and E-MTAB-1980 from the ArrayExpress dataset. The Nivolumab group and Everolimus group of the CheckMate 025 study, the Atezolizumab arm of IMmotion150 and the Atezolizumab plus Bevacizumab group of IMmotion151 cohort were obtained for subsequent analysis. After differential expression genes identification, the signature was constructed through univariate Cox proportional hazard regression and simultaneously the least absolute shrinkage and selection operator (Lasso) analysis and the predictive performance of our signature was assessed by using receiver operating characteristic (ROC), Kaplan–Meier (KM) survival analysis, nomogram, drug sensitivity analysis, immunotherapeutic effect analysis and enrichment analysis. Immunohistochemistry (IHC), qPCR and western blot were performed to measure related mRNA or protein expression. Biological features were evaluated by wound healing, cell migration and invasion assays and colony formation test and analyzed using coculture assay and flow cytometry.ResultsTwenty fatty acids metabolism-related mRNA signatures were constructed in TCGA and possessed a strong predictive performance demonstrated through time-dependent ROC and KM survival analysis. Notably, the high-risk group exhibited an impaired response to anti-PD-1/PD-L1 (Programmed death-1 receptor/Programmed death-1 receptor-ligand) therapy compared to the low-risk group. The overall levels of the immune score were higher in the high-risk group. Additionally, drug sensitivity analysis observed that the model could effectively predict efficacy and sensitivity to chemotherapy. Enrichment analysis revealed that the IL6-JAK-STAT3 signaling pathway was a major pathway. IL4I1 could promote ccRCC cells’ malignant features through JAK1/STAT3 signaling pathway and M2-like macrophage polarization.ConclusionThe study elucidates that targeting fatty acids metabolism can affect the therapeutic effect of PD-1/PD-L1 in TME and related signal pathways. The model can effectively predict the response to several treatment options, underscoring its potential clinical utility.Supplementary InformationThe online version contains supplementary material available at 10.1186/s12967-023-04161-z.