Here, we demonstrate that CDKL5 is a key initiator of virus-triggered autophagy and protects neuronal cells in vivo and mice from death during SINV, HSV-1, and chikungunya virus (CHIKV) infections. This evidence concerns the gene CDKL5 and infection.