Altogether, these data show that the absence of MeCP2 fosters an antiviral state that hinders infection by HSV-1. Here, MECP2 is linked to infection.