Given the significant role played by immunoinfiltrating cells and hub genes in cognitive impairment, we further analyzed to explore the relationship between five potential biomarkers (Cxcl10, Cxcl12, Cxcr3, Gbp2, and Ifih1) and immune cell populations that exhibited notable variances in mice with cognitive impairment. The gene discussed is CXCL12; the disease is Cognitive impairment.