In advanced endometriosis, the formation of a c-Maf, RORγt and Blimp-1 complex triggered by IL-27 contributes to the expansion of IL-10-producing Th17 cells. Here, PRDM1 is linked to endometriosis.