Pregnancy induces a number of immunological, hormonal, and metabolic changes that are necessary for the mother to adapt her body to this new physiological situation. The microbiome of the mother, the placenta and the fetus influence the fetus growth and undoubtedly plays a major role in the adequate development of the newborn infant. Hence, the microbiome modulates the inflammatory mechanisms related to physiological and pathological processes that are involved in the perinatal progress through different mechanisms. The present review summarizes the actual knowledge related to physiological changes in the microbiota occurring in the mother, the fetus, and the child, both during neonatal period and beyond. In addition, we approach some specific pathological situations during the perinatal periods, as well as the influence of the type of delivery and feeding.