Here the authors show that SOX17 is upstream of Indian hedgehog to regulate mouse uterine receptivity, and their analysis of uterine tissue from endometriosis patients suggests the same function in humans. Here, SOX17 is linked to endometriosis.