Interstitial pneumonia with autoimmune features (IPAF) is a type of interstitial lung disease (ILD) with immune features that do not meet the diagnostic criteria for specific connective tissue diseases (CTDs). This retrospective case-control study investigated the role of serum B-cell-activating factor of the tumor necrosis factor family (BAFF) and interleukin (IL)-17 as biomarkers for IPAF. The differences in serum BAFF, IL-17, and IL-10 were compared among patients with idiopathic pulmonary fibrosis (IPF), IPAF, ILD associated with CTD (CTD-ILD), and healthy controls. The patients were treatment naïve. The correlations of BAFF with IL-10, IL-17, and pulmonary function were analyzed. The classifiable value of BAFF for IPAF was examined. The results showed that the serum levels of BAFF and IL-17 in the IPAF and CTD-ILD groups were higher than in the IPF group. High BAFF levels and high predicted diffusion capacity of the lungs for carbon monoxide (DLCO) were independent predictive factors for IPAF vs IPF. In the IPAF and CTD-ILD groups, serum BAFF levels were negatively correlated with predicted values of forced vital capacity (FVC%) and diffusing capacity of the lungs for carbon monoxide (DLCO%) and positively correlated with serum IL-17 and IL-10 levels. The cutoff value of combined BAFF and IL-17 was 0.704, and the sensitivity and specificity for classifying IPAF were 78.9 and 95.7%, respectively. In conclusion, combining serum BAFF and IL-17 as a biomarker may have classifiable value in differentiating IPAF from other forms of ILD.© 2024 the author(s), published by De Gruyter.