The loss of IgM after stroke could be an important determinant of infection susceptibility and highlights this pathway as a target for intervention. Here, CD40LG is linked to infection.