Through univariate Cox and LASSO regression, three key genes (PDLIM7, CFAP45, and HP) were selected, and a prognostic risk model for IPF patients was constructed based on these three genes. This evidence concerns the gene PDLIM7 and idiopathic pulmonary fibrosis.