Abstract Apoptosis, a major form of programmed cell death, is an essential component of host defense against invading intracellular pathogens. Viruses encode inhibitors of apoptosis to evade host responses during infection, and to support their own replication and survival. Therefore, hosts and their viruses are entangled in a constant evolutionary arms race to control apoptosis. Until now, apoptosis in the context of the antiviral immune system has been almost exclusively studied in vertebrates. This limited phyletic sampling makes it impossible to determine whether a similar mechanism existed in the last common ancestor of animals. Here, we established assays to probe apoptosis in the sea anemone Nematostella vectensis , a model species of Cnidaria, a phylum that diverged approximately 600 million years ago from the rest of animals. We show that polyinosinic:polycytidylic acid (poly I:C), a synthetic long double-stranded RNA mimicking viral RNA and a primary ligand for the vertebrate RLR melanoma differentiation-associated protein 5 (MDA5), is sufficient to induce apoptosis in N. vectensis . Furthermore, at the transcriptomic level, apoptosis related genes are significantly enriched upon poly(I:C) exposure in N. vectensis as well as bilaterian invertebrates. Our phylogenetic analysis of caspase family genes in N. vectensis reveals conservation of all four caspase genes involved in apoptosis in mammals and revealed a cnidarian-specific caspase gene which was strongly upregulated. Altogether, our findings suggest that apoptosis in response to a viral challenge is a functionally conserved mechanism that can be traced back to the last common ancestor of Bilateria and Cnidaria.