ICOS is required for the generation of both central and effector CD4+ memory T‐cell populations following acute bacterial infection. Here, ICOS is linked to bacterial infectious disease.