As a metabolic mediator of antitumor immunity, indoleamine-2,3-dioxygenase 1 (IDO1) is upregulated in various types of cancer; however, the regulatory mechanism and clinical significance of IDO1 in non-small cell lung cancer (NSCLC) radiotherapy (RT) remain unclear. The present study investigated the role of IDO1 in the NSCLC microenvironment. MTT assay, immunofluorescence, apoptosis analysis, cell cycle analysis, and C57BL/6 and BALB/c nude mouse tumor models were utilized to evaluate the roles of the STAT5A/IDO1/kynurenine axis in radioresistance and in the immune microenvironment of NSCLC. Protein expression levels were evaluated by western blotting, immunofluorescence and immunohistochemistry. Flow cytometry was performed to assess the status of CD8 + T lymphocytes, regulatory T cells (Tregs) and immune-related inflammatory factors in C57BL/6 mice. Notably, IDO1 and STAT5A were positively associated with the immune microenvironment.RT treatment significantly promoted the expression levels of IDO1. IDO1 knockdown markedly enhanced the radiosensitivity of lung tumor cells and the anti-apoptotic properties of T lymphocytes. It was demonstrated that STAT5A knockdown suppressed T-cell apoptosis by inhibiting IDO1 enzyme function. Finally, in vivo experiments showed that STAT5A knockdown combined with RT was associated with greater numbers of CD8 + T cells and fewer Tregs. Results from the present study indicated that targeting the STAT5A/IDO1 axis may reshape the immune microenvironment and promote the efficacy of RT in NSCLC treatment. The present study may provide a theoretical foundation for more efficient use of immunotherapy regimens in NSCLC treatment.