GSDMD-mediated infection clearance was demonstrated in several intracellular bacteria. Here, GSDMD is linked to infection.