In mammals, the transcription factor SRY, encoded by the Y chromosome, is normally responsible for triggering the indifferent gonads to develop as testes rather than ovaries. However, testis differentiation can occur in its absence. Here we demonstrate in the mouse that a single factor, the forkhead transcriptional regulator FOXL2, is required to prevent transdifferentiation of an adult ovary to a testis. Inducible deletion of Foxl2 in adult ovarian follicles leads to immediate upregulation of testis-specific genes including the critical SRY target gene Sox9. Concordantly, reprogramming of granulosa and theca cell lineages into Sertoli-like and Leydig-like cell lineages occurs with testosterone levels comparable to those of normal XY male littermates. Our results show that maintenance of the ovarian phenotype is an active process throughout life. They might also have important medical implications for the understanding and treatment of some disorders of sexual development in children and premature menopause in women. For a video summary of this article, see the PaperFlick file with the Supplemental Data available online.