TNF-α and IL-1β expression were positively correlated with cognitive impairment-like behaviors and Prevotellaceae and Bacteroidales populations in the gut microbiota. Here, IL1B is linked to Cognitive impairment.