Sortilin is a single-pass type I transmembrane protein which can bind to various cargo proteins, regulating their surface location, secretion, or degradation in lysosomes. In our previous study, we found that sortilin can regulate progranulin expression by transporting it to lysosomes and reduce neuronal cell injury in hypoxia-ischemia, but the expression and function of sortilin in microglial cells during hypoxia-ischemia are unknown. The purpose of this study was to further investigate the function of sortilin in microglial cells and its effect on neuron cells. In rat BV2 microglial cells, sortilin was knocked down by lentivirus. After oxygen-glucose deprivation/reperfusion (OGD/R), expression of sortilin, progranulin (PGRN) and JNK pathway was detected by western blot, immunofluorescence was used to show the localization of PGRN, secretion of TNFα/IL-6 was measured by Elisa. Then co-culture microglial cells with neuron cells during hypoxia-ischemia and detected the neuron injury by CCK-8 and TUNEL. The expression of sortilin, mature and cleaved PGRN were all increased after OGD/R in microglial cells. Furthermore, sortilin inhibition accompany with less PGRN localization in lysosomes and more mature and less cleaved PGRN expression in microglial cells. Sortilin inhibition also can reduce the inflammatory response in microglial cells, but it does not alleviate neuronal injury in co-culture. This study demonstrated that sortilin can regulate the expression of PGRN and reduce the inflammatory response in microglial cells. However, only inhibiting sortilin in microglial cells did not have an impact on the survival of neurons during ischemia-hypoxia.