There are surprising similarities between how animals and plants perceive pathogens. In animals, innate immunity is based on the recognition of pathogen-associated molecular patterns. This is mediated by the Toll-like receptor (TLR) family, which rapidly induce the innate immunity response, a first line of defence against infectious disease. Plants have highly sensitive perception systems for general elicitors and they respond to these stimuli with a defence response. One of these general elicitors is flagellin, the main component of the bacterial flagellum. Genetic analysis in Arabidopsis has shown that FLS2, which encodes a receptor-like kinase, is essential for flagellin perception. FLS2 shares homology with the TLR family, and TLR5 is responsible for flagellin perception in mammals.