Here, we present a protocol to isolate and purify primary microglia in animal models of demyelinating diseases, utilizing columnar magnetic-activated cell sorting.