Myeloid cells in the central nervous system (CNS), such as microglia, CNS-associated macrophages (CAMs), dendritic cells and monocytes, are vital for steady-state immune homeostasis as well as the resolution of tissue damage during brain development or disease-related pathology. The complementary usage of multimodal high-throughput and high-dimensional single-cell technologies along with recent advances in cell-fate mapping has revealed remarkable myeloid cell heterogeneity in the CNS. Despite the establishment of extensive expression profiles revealing myeloid cell multiplicity, the local anatomical conditions for the temporal- and spatial-dependent cellular engraftment are poorly understood. Here we highlight recent discoveries of the context-dependent mechanisms of myeloid cell migration and settlement into distinct subtissular structures in the CNS. These insights offer better understanding of the factors needed for compartment-specific myeloid cell recruitment, integration and residence during development and perturbation, which may lead to better treatment of CNS diseases.