IL-1β has a protective effect against encephalitis caused by HSV-1. Here, IL1B is linked to viral encephalitis.