Polycystic ovary syndrome (PCOS) is a complex disorder that impacts both the endocrine and metabolic systems, often resulting in infertility, obesity, insulin resistance, and cardiovascular complications. The aim of this study is to investigate the role of intestinal flora and its metabolites, particularly short-chain fatty acids (SCFAs), in the development of PCOS, and to assess the effects of metformin therapy on these components. SCFA levels in fecal and blood samples from women with PCOS (n=69) and healthy controls (n=18) were analyzed using Gas Chromatography-Mass Spectrometry (GC/MS) for precise measurement. Fecal microbiota were quantitatively detected by real-time polymerase chain reaction (PCR). To assess the efficacy of six months of metformin treatment, changes in the microbiota and SCFAs in the PCOS group (n=69) were also evaluated. The results revealed that women with PCOS exhibited a significant reduction in beneficial bacteria (namely, the C. leptum group and Prevotella spp.) alongside a notable overgrowth of opportunistic microorganisms (C. perfringens, C. difficile, Staphylococcus spp., and Streptococcus spp.). An overproduction of acetic acid (AA, FC=0.47, p<0.05) and valeric acid (VA, FC=0.54, p<0.05) suggests a link between elevated SCFAs and the development of obesity and PCOS. Interestingly, AA in the bloodstream might offer a protective effect against PCOS by ameliorating key symptoms such as high body mass index (r=-0.33, p=0.02), insulin resistance (r=-0.39, p=0.02), and chronic inflammation. Although serum SCFA levels showed non-significant changes following metformin treatment (p>0.05), the normalization of AA in the gut underscores that metformin exerts a more pronounced effect locally within the gastrointestinal tract. Furthermore, the study identified the most effective model for predicting the success of metformin therapy, based on serum concentrations of butyric acid (BA) and VA, achieving a 91% accuracy rate, 100% sensitivity, and 80% specificity. These promising findings highlight the potential for developing targeted interventions and personalized treatments, ultimately improving clinical outcomes for women with PCOS.