We show that IL-23 critically contributes to enhanced protection during the critical phase at the onset of infection by preventing apoptosis of neutrophils, monocytes and other mononuclear phagocytes in the infected kidney, and to a lesser extent in the brain. This evidence concerns the gene IL23A and infection.