We analyzed PD-1, PD-L1 expression and CD4/CD8 ratio in mediastinal lymph nodes of thirty-three patients (n = 33) (IPF: 14, IPF and lung cancer: 9, lung cancer: 10). This evidence concerns the gene CD274 and idiopathic pulmonary fibrosis.