The gut microbiome is established in the newborn period and is recognised to interact with the host to influence metabolism. Different environmental factors that are encountered during this critical period may influence the gut microbial composition, potentially impacting upon later disease risk, such as asthma, metabolic disorder, and inflammatory bowel disease. The sterility dogma of the foetus in utero is challenged by studies that identified bacteria, bacterial DNA, or bacterial products in meconium, amniotic fluid, and the placenta; indicating the initiation of maternal-to-offspring microbial colonisation in utero. This narrative review aims to provide a better understanding of factors that affect the development of the gastrointestinal (GI) microbiome during prenatal, perinatal to postnatal life, and their reciprocal relationship with GI tract development in neonates.