The possible transgenerational inheritance of acquired traits is a much debated phenomenon. Using infection of Caenorhabditis elegans by the flock house virus as a model, Rechav et al. showed non-Mendelian inheritance of the induced antiviral response over several generations. The immune memory was mediated by virus-derived small RNAs that function to silence the viral genome. The memory was transmitted independently of the original viral template.