Our study demonstrated that three hub genes (ASPN, SFRP2, SLCO4A1) were associated with neutrophils, and the model constructed with these genes showed good diagnostic value in IPF. Here, SFRP2 is linked to idiopathic interstitial pneumonia.