HMGB1 mediates synaptic loss and cognitive impairment in an animal model of sepsis-associated encephalopathy. Here, HMGB1 is linked to Cognitive impairment.