We identified three hub genes, including IL6, SERPINE1, and SOCS3. The expression levels of IL6, SOCS3, and SERPINE1 were negatively correlated with lung function, and the advanced IPF patients had higher expression levels of these genes than early IPF patients in the validated datasets. Here, SERPINE1 is linked to idiopathic pulmonary fibrosis.