To analyze the clinical significance of bone morphogenetic protein-2 (BMP-2) and bone morphogenetic protein-7 (BMP-7), members of the bone morphogenetic protein family, in infectious preterm birth, to provide references for future prevention and management of IPB. The study participants were 20 pregnant women with IPB admitted to between January 2022 and January 2023 (research group) and 20 concurrent normal pregnancies (control group). Serum BMP2, BMP-7 inflammatory factors were quantified. Differences in BMP2 and BMP-7 were identified. The Receiver Operating Characteristic curve analyzed the evaluation value of BMP2 and BMP-7 on infectious preterm birth and adverse pregnancy outcomes in pregnant women, and Pearson correlation coefficient determined the correlation of the two with inflammatory factors levels. The research group was higher in serum BMP2 and BMP-7 levels than control group (P < .05). The joint detection by BMP2 and BMP-7 had a sensitivity of 80.00% and a specificity of 90.00% in diagnosing infectious preterm birth (P < .05), and its sensitivity and specificity in predicting adverse pregnancy outcomes in infectious preterm birth pregnant women were 100.0% and 66.67%, respectively (P < .05). According to Pearson correlation coefficient analysis, there was an obvious positive relationship between BMP-2 and BMP-7 and inflammatory factors in research group (P < .05). BMP-2 and BMP-7 are elevated in IPB and are linked to inflammatory factor levels. Joint detection of BMP2 and BMP-7 shows promising potential for evaluating infectious preterm birth.