Our study demonstrates the causal associations of specific immune cell phenotypes with IPF through genetic methods and identifies CTSB, IL10, and AGER as biomarkers of IPF through bioinformatics analysis. The gene discussed is CTSB; the disease is idiopathic interstitial pneumonia.