Our study found a negative correlation between the risk of IPF and the percentage of CD39 + CD8 + T cells. Here, CD8A is linked to idiopathic pulmonary fibrosis.