Review in Nature Reviews Gastroenterology and Hepatology explores how the maternal microbiome during pregnancy influences the immune systems of the mother, fetus, and neonate, highlighting its impact on long-term health outcomes and the development of pregnancy complications.