Our findings indicate that the higher expression of bFGF in female rats following stroke and optogenetic activation inhibits astrocyte activation, leading to downregulation of neurotrophic factors and poorer recovery outcomes. Here, FGF2 is linked to stroke disorder.