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. Here, CD8A is linked to idiopathic pulmonary fibrosis.