Alzheimer's disease (AD) has become a significant global concern, but effective drugs able to slow down AD progression is still lacked. Electroacupuncture (EA) has been demonstrated to ameliorate cognitive impairment in individuals with AD. However, the underlying mechanisms remains poorly understood. This study aimed at examining the neuroprotective properties of EA and its potential mechanism of action against AD. APP/PS1 transgenic mice were employed to evaluate the protective effects of EA on Shenshu (BL 23) and Baihui (GV 20). Chemogenetic manipulation was used to activate or inhibit serotonergic neurons within the dorsal raphe nucleus (DRN). Learning and memory abilities were assessed by the novel object recognition and Morris water maze tests. Golgi staining, western blot, and immunostaining were utilized to determine EA-induced neuroprotection. EA at Shenshu (BL 23) and Baihui (GV 20) effectively ameliorated learning and memory impairments in APP/PS1 mice. EA attenuated dendritic spine loss, increased the expression levels of PSD95, synaptophysin, and brain-derived neurotrophic factor in hippocampus. Activation of serotonergic neurons within the DRN can ameliorate cognitive deficits in AD by activating glutamatergic neurons mediated by 5-HT1B. Chemogenetic inhibition of serotonergic neurons in the DRN reversed the effects of EA on synaptic plasticity and memory. EA can alleviate cognitive dysfunction in APP/PS1 mice by activating serotonergic neurons in the DRN. Further study is necessary to better understand how the serotonergic neurons-related neural circuits involves in EA-induced memory improvement in AD.