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. Here, IL10 is linked to idiopathic interstitial pneumonia.