Abstract Microglia, as brain-resident macrophages, play critical roles in brain development, homeostasis, and disease. Microglia in animal models cannot accurately model the properties of human microglia due to notable transcriptomic and functional differences between human and other animal microglia. Efficient generation of microglia from human pluripotent stem cells (hPSCs) provides unprecedented opportunities to study the function and behavior of human microglia. Particularly, incorporating hPSCs-derived microglia into brain organoids facilitates their development in a 3-dimensional context, mimicking the brain environment. However, an optimized method that integrates an appropriate amount of microglia into brain organoids at a proper time point, resembling in vivo brain development, is still lacking. Here, we report the development of a new brain region-specific, microglia-containing organoid model by co-culturing hPSCs-derived primitive neural progenitor cells (pNPCs) and primitive macrophage progenitors (PMPs). In these organoids, hPSCs-derived pNPCs and PMPs interact with each other and develop into functional neurons, astroglia, and microglia, respectively. Importantly, the numbers of human microglia in the organoids can be controlled, resulting in a cell type ratio similar to that seen in the human brain. Using super-resolution microscopy, we demonstrate that these human microglia are able to phagocytize neural progenitor cells (NPCs) and apoptotic cells, as well as to prune synapses at different developmental stages of the organoids. Furthermore, these human microglia respond to Zika virus infection of the organoids, as indicated by amoeboid-like morphology, increased expression of gene transcripts encoding inflammatory cytokines, and excessive pruning of synaptic materials. Together, our findings establish a new microglia-containing brain organoid model that will serve to study human microglial function in a variety of neurological disorders.