Microglia are regarded as some of the most versatile cells in the body, capable of morphological and functional adaptation. Their heterogeneity and multifunctionality enable the maintenance of brain homeostasis, while also being linked to various neurological pathologies. Here, a technique for purifying spinal cord microglia is described.