Background: Tumor microenvironment (TME) plays a significant role in the development of cancer. However, the roles of TME in lung squamous cell carcinoma (LUSC) are not well studied. In our study, we aimed to identify differentially expressed tumor microenvironment-related genes as biomarker for predicting the prognosis of LUSC.Methods: We combined The Cancer Genome Atlas (TCGA) and Estimation of Stromal and Immune cells in Malignant Tumor tissue using Expression data (ESTIMATE) datasets to identified differentially expressed genes in lung squamous cell carcinoma microenvironment. Then, functional enrichment analysis and protein-protein interaction (PPI) network were conducted. The top six genes in the PPI network were regarded as tumor microenvironment-related hub genes. Finally, the relationship between hub genes and tumor-infiltrating immune cells was deciphered using TIMER.Results: Our study revealed that immune and stromal scores are associated with specific clinicopathologic variables in LUSC. These variables include gender, age, distant metastasis and prognosis. In addition, a total of 874 upregulated and 72 downregulated genes were identified. Functional enrichment analysis demonstrated a correlation between DEGs and the tumor microenvironment, tumor immune cells differentiation and activation. C3AR1, CSF1R, CCL2, CCR1, TYROBP, CD14were selected as the hub genes. A positive correlation was obtained between the expression of hub genes and the abundance of six immune cells.Conclusions: The results of the present study showed that ESTIMATE algorithm-based stromal and immune scores may be a reference indicator of cancer prognosis. We identified five TME-related genes, which could be used to predict the prognosis of LUSC patients.