Isolating primary microglia from the cellular heterogeneity of the brain is essential to investigate their role in both physiological and pathological conditions. This protocol describes a mechanical isolation and mixed cell culture technique that provides high yield and high purity, viable primary microglial cells for in vitro study and downstream applications.