In terms of changes of gene functions, IPF‐related differential genes in CD4+ and CD8+ T cells were predominantly enriched in the cytokine–cytokine pathway and JAK–STAT pathway. This evidence concerns the gene CD4 and idiopathic pulmonary fibrosis.