By specifically deleting MEGF10 and MERTK phagocytic receptors, we determined that inhibiting phagocytosis of microglia/macrophages or astrocytes in ischemic stroke improved neurobehavioral outcomes and attenuated brain damage. This evidence concerns the gene MEGF10 and ischemic stroke.