Genes are understandably crucial to physiology, morphology and biochemistry, but the idea of genes contributing to individual differences in behaviour once seemed outrageous. Nevertheless, some scientists have aspired to understand the relationship between genes and behaviour, and their research has become increasingly informative and productive over the past several decades. At the forefront of behavioural genetics research is the fruitfly Drosophila melanogaster, which has provided us with important insights into the molecular, cellular and evolutionary bases of behaviour.