Our study indicates that after stroke, astrocytes activate PERK and upregulate MANF expression, which inhibits STAT3 phosphorylation, reduces the release of pro-inflammatory cytokines, rescues neuronal synapse loss, and promotes the recovery of neurological function in mice. This evidence concerns the gene STAT3 and stroke disorder.