Whether EcN regulates the intestinal immune factor IL-22 to restore gut microbiota homeostasis and alleviate PCOS remains unclear. Here, IL22 is linked to polycystic ovary syndrome.