In our study, three hub genes (TPST1, MRVI1, and TM4SF1) were identified and found to be related to the prognosis of IPF. Here, TPST1 is linked to idiopathic pulmonary fibrosis.