Our study demonstrated that optogenetically activated astrocytes protect BBB integrity and reduce neuronal apoptosis by upregulating IL-10, which decreases MMPs activity and ameliorates inflammation (Fig. 7), thus providing a novel approach for stroke treatment. Here, IL10 is linked to stroke disorder.