The long-held idea that only vertebrates have sophisticated adaptive immune systems that can protect them for life against many pathogens after being infected by them just once has been revised in recent years. It turns out that many insects also have a form of immune memory that protects them against reinvasion by a pathogen they have previously encountered.