Premature rupture of membranes (PROM) is usually associated with pregnant and neonatal complications. Most of the PROM cases are caused by ascending asymptomatic genital infection. In China, PROM (15.3%) is more common than spontaneous preterm labor (7.3%) and leads to more adverse pregnancy outcomes. Here, we designed a prospective cohort study to measure the metabolomics changes in vaginal swab samples and explored their potential contribution to PROM. A total of 260 differentially expressed metabolites were identified and further analyzed. In the PROM group, N-acetyl-d-galactosamine and sucrose were downregulated (P = 0.0025, P = 0.0195, respectively), both of which are the upstream metabolites of the glycolysis pathway. Furthermore, estriol 3-sulfate 16-glucuronide (P = 0.0154) and 2-methoxy-17beta-estradiol 3-glucosiduronic acid (P = 0.004), two final metabolites in steroid hormone biosynthesis, were both downregulated in the PROM group. Finally, we found two catechin metabolites (epigallocatechin-7-glucuronide, P = 0.0009; 4′-methyl-epigallocatechin-7-glucuronide, P = 0.01) as well as DL-citrulline (P = 0.0393) were also significantly downregulated in the PROM group compared with the healthy control (HC) group, which are related to important antioxidant and anti-inflammatory activities in the human body. Altogether, metabolite changes in glycolysis, steroid hormone biosynthesis, and antioxidant/anti-inflammatory pathways may contribute to (or be a consequence of) vaginal dysbiosis and PROM. Metabolite pathway analysis is a new and promising approach to further investigate the mechanism of PROM and help prevent its unfavorable pregnant outcomes at a functional level. Trial registration number: ChiCTR2000034721