In this study, we revealed that at the poststroke repair and remodeling stage, reactive microgliosis and astrogliosis were active in engulfing synapses through MEGF10- and MERTK-related pathways, but showed different temporal phagocytic features in ischemic and hemorrhagic stroke. Here, MERTK is linked to hemorrhagic stroke.