BackgroundThe prognosis of lung cancer was found to be associated with a series of biomarkers related to the tumor immune microenvironment (TIME), which can modulate the biological behaviors and consequent outcomes of lung cancer. Therefore, establishing a prognostic model based on the TIME for lung cancer patients, especially young patients with lung adenocarcinoma (LUAD), is urgently needed.MethodsIn all, 809 lung cancer patients from the TCGA database and 71 young patients with LUAD in our center were involved in this study. Univariate and multivariate analysis based on clinical characteristics and TIME-related expression patterns (as evaluated by IHC) were performed to estimate prognosis and were verified by prognostic nomograms.ResultsBoth LUAD and lung cancer patients with high CD28 expression had shorter disease-free survival (DFS) (P = 0.0011; P = 0.0001) but longer overall survival (OS) (P = 0.0001; P = 0.0282). TIME-related molecules combined with clinical information and genomic signatures could predict the prognosis of young patients with LUAD with robust efficiency and could be verified by the established nomogram based on the Cox regression model. In addition, CD28 expression was correlated with an abundance of lymphocytes and could modulate the TIME. Higher CD28 levels were observed in primary tumors than in metastatic tissues.ConclusionTIME-related molecules were identified as compelling biomarkers for predicting the prognosis of lung cancer, especially in a cohort of young patients. Furthermore, CD28, which is associated with poor DFS but long OS, might participate in the modulation of the TIME and has a different role in the prognosis of young patients with LUAD.