These findings establish the importance of IL-1β in containing S. aureus expansion during craniotomy infection. Here, IL1B is linked to infection.