Many organisms commit to having either male or female gonads. This commitment depends on genetics, but is often sensitive to environmental conditions. In this talk, I will discuss how environmental lability in sexual development can drive evolutionary transitions in sex-determining mechanisms from genotypic to environmental sex determination. Thus, a mechanistic understanding of sex development can inform our understanding of the evolution of sex determining mechanisms. In turn, applying an evolutionary perspective to sex development can inform how developmental mechanisms operate.