In conclusion, the combination of BAFF and IL-17 is a sensitive biomarker for differentiating IPAF and IPF, which has great clinical significance. Here, IL17A is linked to idiopathic pulmonary fibrosis.