Sex in mammals is determined in the foetal gonad by the presence or absence of the Y chromosome gene Sry, which controls whether bipotential precursor cells differentiate into testicular Sertoli cells or ovarian granulosa cells 1 . This pivotal decision in a single gonadal cell type ultimately controls sexual differentiation throughout the body. Sex determination can be viewed as a battle for primacy in the foetal gonad between a male regulatory gene network in which Sry activates Sox9 and a female network involving Wnt/β-catenin signaling ( Supplemental Fig. 1) 2 . In females the primary sex-determining decision is not final: loss of the FOXL2 transcription factor in adult granulosa cells can reprogramme granulosa cells into Sertoli cells 2 . Here we show that sexual fate is also surprisingly labile in the testis: loss of the DMRT1 transcription factor 3 in mouse Sertoli cells, even in adults, activates Foxl2 and reprogrammes Sertoli cells into granulosa cells. In this environment, theca cells form, oestrogen is produced, and germ cells appear feminized. Thus Dmrt1 is essential to maintain mammalian testis determination, and competing regulatory networks maintain gonadal sex long after the foetal choice between male and female. Dmrt1 and Foxl2 are conserved throughout vertebrates 4, 5 and Dmrt1-related sexual regulators are conserved throughout metazoans 3 . Antagonism between Dmrt1 and Foxl2 for control of gonadal sex may therefore extend beyond mammals. Reprogramming due to loss of Dmrt1 also may help explain the etiology of human syndromes linked to DMRT1, including disorders of sexual differentiation 6 and testicular cancer 7 .