We aimed to compare intra- and extracranial responses to immune checkpoint inhibitors (ICIs) in lung cancer with brain metastases (BM), and to explore tumor microenvironments of the brain and lungs focusing on the programmed cell death-1 (PD-1)/programmed cell death ligand-1 (PD-L1) pathway. The gene discussed is CD274; the disease is neoplasm.