Background: Rapid advances in genetic and genomic technologies have begun to reshape our understanding of idiopathic pulmonary fibrosis (IPF). Ferroptosis, an iron-dependent form of regulated cell death, play an important role in the development of IPF. Therefore, our study aimed to explore the role of ferroptosis-related genes (FRGs) and their correlation with lung dysfunction and quality of life in patients with IPF. Methods: Datasets were acquired by researching the Gene Expression Omnibus. FRGs were acquired by researching GeneCard database and PubMed. Ferroptosis-related differentially expressed genes (FRDEGs) were identified according to integrating FRGs and the DEGs identified in the GSE110147 dataset. Candidate key genes were identified from the miRNA-target FRDEGs network and protein-protein interactions (PPI) network. The relationship between key genes and lung function or quality of life was calculated using the GSE32537 datasets.Results: 293 FRGs were obtained, and 71 FRDEGs were identified. According to enrichment analysis, cell growth and death and pathways associated cancer were the important pathways, and significant biological processes were mainly consisted of cellular responses to stimulus and various situations. In addition, this study constructed an PPI network and a miRNA-target network based on the 71 FRDEGs, determined 19 candidate key genes. Furthermore, acyl-CoA synthetase long chain family member 1 (ACSL1), integrin subunit beta 8 (ITGB8) and ceruloplasmin (CP) were identified as the key genes. The expression level of ACSL1 was the strongest predictor for lung function (negatively) including percent predicted forced vital capacity (FVC% predicted) and percent predicted diffusion capacity of the lung for carbon monoxide (Dlco% predicted) and quality of life (negatively). In addition, ITGB8 and CP were negatively associated with FVC% predicted. According to DrugBank and PubMed, 4 drugs and 16 drugs have been found to act on ACSL1 and CP, respectively. Conclusion: These results imply that FRGs may shed new understanding on disease mechanism and provide potential biomarkers and therapy target to predict IPF progression.