Preconditioning with the Hsp22-overexpressing lentivirus attenuated LPS-induced activation of hippocampal microglia, the expression of inflammatory factors and pathway proteins, and apoptosis, and improved cognitive impairment in mice. Here, HSPB8 is linked to Cognitive impairment.