The core design of spiking neurones is remarkably similar throughout the animal kingdom. Their basic function as fast-signalling thresholding cells might have been established very early in their evolutionary history. Identifying the selection pressures that drove animals to evolve spiking neurones could help us interpret their design and function today. We review fossil, ecological and molecular evidence to investigate when and why animals evolved spiking neurones. Fossils suggest that animals evolved nervous systems soon after the advent of animal-on-animal predation, 550 million years ago (MYa). Between 550 and 525 MYa, we see the first fossil appearances of many animal innovations, including eyes. Animal behavioural complexity increased during this period as well, as evidenced by their traces, suggesting that nervous systems were an innovation of that time. Fossils further suggest that, before 550 MYa, animals were either filter feeders or microbial mat grazers. Extant sponges and Trichoplax perform these tasks using energetically cheaper alternatives than spiking neurones. Genetic evidence testifies that nervous systems evolved before the protostome-deuterostome split. It is less clear whether nervous systems evolved before the cnidarian-bilaterian split, so cnidarians and bilaterians might have evolved their nervous systems independently. The fossil record indicates that the advent of predation could fit into the window of time between those two splits, though molecular clock studies dispute this claim. Collectively, these lines of evidence indicate that animals evolved spiking neurones soon after they started eating each other. The first sensory neurones could have been threshold detectors that spiked in response to other animals in their proximity, alerting them to perform precisely timed actions, such as striking or fleeing.