Genetic quality or genetic compatibility? What do female fruit flies prioritize when mating? Researchers at the University of Zurich show that both factors are important at different stages of the reproductive process and that females use targeted strategies to optimize the fitness of their offspring.