Individual flies have idiosyncratic preferences that shift over their lifetime in a way that depends on genotype and may be adaptive to rapidly changing environmental pressures.