Overall, KLF4 exerts both pro- and anti-inflammatory effects in bacterial infections, depending on the pathogen, probably cell type (bone marrow derived versus resident macrophages) and immune context. Here, KLF4 is linked to bacterial infectious disease.