SARS-CoV-2 infection triggered monocyte infiltration and microglial activation in central nervous system. Myeloid cell-derived IL-1β impaired hippocampal neurogenesis, contributing to subsequent cognitive deficits. Adenoviral-vectored spike vaccination mitigated hippocampal degeneration. This evidence concerns the gene IL1B and Cognitive impairment.