GATA6+ residential macrophages act to sustain local inflammation in the peritoneum and sensitivities in the neurons, reflecting endometriosis-associated hyperalgesia. Here, GATA6 is linked to endometriosis.