Charles Darwin recognized that flowering plants have an unrivalled diversity of sexual systems. Determining the ecological and genetic factors that govern sexual diversification in plants is today a central problem in evolutionary biology. The integration of phylogenetic, ecological and population-genetic studies have provided new insights into the selective mechanisms that are responsible for major evolutionary transitions between reproductive modes.