Microglia, brain-resident macrophages, play key roles during prenatal development in defining neural circuitry function, including ensuring proper synaptic wiring and maintaining homeostasis. Mammalian breathing rhythmogenesis arises from interacting brainstem neural networks that are assembled during embryonic development, but the specific role of microglia in this process remains unknown. Here, we investigated the anatomical and functional consequences of respiratory circuit formation in the absence of microglia. We first established the normal distribution of microglia within the wild-type (WT, Pu.1+/+) mouse brainstem at embryonic ages when the respiratory networks are known to emerge (embryonic day (E) 14.5 for the parafacial respiratory group (epF) and E16.5 for the preBötzinger complex (preBötC)). In transgenic mice depleted of microglia (Pu.1-/- mutant), we performed anatomical staining, calcium imaging and electrophysiological recordings of neuronal activities in vitro to assess the status of these circuits at their respective times of functional emergence. Spontaneous respiratory-related activity recorded from reduced in vitro preparations showed an abnormally slow rhythm frequency expressed by the epF at E14.5, the preBötC at E16.5 and in the phrenic motor nerves from E16.5 onwards. These deficits were associated with a reduced number of active epF neurons, defects in commissural projections that couple the bilateral preBötC half-centers, and an accompanying decrease in their functional coordination. These abnormalities probably contribute to eventual neonatal death, since plethysmography revealed that E18.5 Pu.1-/- embryos are unable to sustain breathing activity ex utero. Our results thus point to a crucial contribution of microglia in the proper establishment of the central respiratory command during embryonic development.