Clinical evaluation poorly predicts outcomes in lung cancer treated with immunotherapy. The aim of the study is to assess whether CT-derived texture parameters can predict overall survival (OS) and progression-free survival (PFS) in patients with advanced non-small-cell lung cancer (NSCLC) treated with first line Pembrolizumab. Twenty-one patients with NSLC were prospectively enrolled; they underwent contrast enhanced CT (CECT) at baseline and during Pembrolizumab treatment. Response to therapy was assessed both with clinical and iRECIST criteria. Two radiologists drew a volume of interest of the tumor at baseline CECT, extracting several texture parameters. ROC curves, a univariate Kaplan-Meyer analysis and Cox proportional analysis were performed to evaluate the prognostic value of texture analysis. Twelve (57%) patients showed partial response to therapy while nine (43%) had confirmed progressive disease. Among texture parameters, mean value of positive pixels (MPP) at fine and medium filters showed an AUC of 72% and 74% respectively (P < 0.001). Kaplan-Meyer analysis showed that MPP < 56.2 were significantly associated with lower OS and PFS (P < 0.0035). Cox proportional analysis showed a significant correlation between MPP4 and OS (P = 0.0038; HR = 0.89[CI 95%:0.83,0.96]). In conclusion, MPP could be used as predictive imaging biomarkers of OS and PFS in patients with NSLC with first line immune treatment.