Our study evaluated the effects of metformin on PCOS rats through gut microbiomics and metabolomics, exploring the potential role of intestinal AMPK in gynecological reproductive endocrinology. Here, PRKAA1 is linked to polycystic ovary syndrome.