Microglia are brain resident macrophages that play vital roles in central nervous system (CNS) development, homeostasis, and pathology. Microglia both remodel synapses and engulf apoptotic cell corpses during development, but whether unique molecular programs regulate these distinct phagocytic functions is unknown. Here we identify a molecularly distinct microglial subset in the synapse rich regions of the zebrafish (Danio rerio) brain. We found that ramified microglia increased in synaptic regions of the midbrain and hindbrain between 7 and 28 days post fertilization. In contrast, microglia in the optic tectum were ameboid and clustered around neurogenic zones. Using single-cell mRNA sequencing combined with metadata from regional bulk sequencing, we identified synaptic-region associated microglia (SAMs) that were highly enriched in the hindbrain and expressed multiple candidate synapse modulating genes, including genes in the complement pathway. In contrast, neurogenic associated microglia (NAMs) were enriched in the optic tectum, had active cathepsin activity, and preferentially engulfed neuronal corpses. These data reveal that molecularly distinct phagocytic programs mediate synaptic remodeling and cell engulfment, and establish the zebrafish hindbrain as a model for investigating microglial-synapse interactions.