Sex determination in animals is amazingly plastic. Vertebrates display contrasting strategies ranging from complete genetic control of sex (genotypic sex determination) to environmentally determined sex (for example, temperature-dependent sex determination)1. Phylogenetic analyses suggest frequent evolutionary transitions between genotypic and temperature-dependent sex determination in environmentally sensitive lineages, including reptiles2. These transitions are thought to involve a genotypic system becoming sensitive to temperature, with sex determined by gene–environment interactions3. Most mechanistic models of transitions invoke a role for sex reversal3,4,5. Sex reversal has not yet been demonstrated in nature for any amniote, although it occurs in fish6 and rarely in amphibians7,8. Here we make the first report of reptile sex reversal in the wild, in the Australian bearded dragon (Pogona vitticeps), and use sex-reversed animals to experimentally induce a rapid transition from genotypic to temperature-dependent sex determination. Controlled mating of normal males to sex-reversed females produces viable and fertile offspring whose phenotypic sex is determined solely by temperature (temperature-dependent sex determination). The W sex chromosome is eliminated from this lineage in the first generation. The instantaneous creation of a lineage of ZZ temperature-sensitive animals reveals a novel, climate-induced pathway for the rapid transition between genetic and temperature-dependent sex determination, and adds to concern about adaptation to rapid global climate change.