Using a combination of genetic and pharmacologic tools and various analyses, we demonstrated that CFP1-dependent epigenetic regulation is necessary to maintain uterine transcriptional landscapes for P4 response for a successful pregnancy and prevent endometriosis with P4 resistance. Here, CXXC1 is linked to endometriosis.