This study unveils a significant contribution of Casp11 and GSDMD to cognitive impairments and spatial memory loss in a murine sepsis model. Here, SCAF11 is linked to Cognitive impairment.