Without the clear immunophenotyping of brain metastases (BrMs), the optimal treatment strategy based on PD-1/PD-L1 inhibitor for patients with non-small-cell lung cancer (NSCLC) and BrMs remains unknown. Here, CD274 is linked to non-small cell lung carcinoma.