The prenatal and postnatal early-life periods are both dynamic and vulnerable windows for brain development. During these important neurodevelopmental phases, essential processes and structures are established. Exposure to adverse events that interfere with this critical sequence of events confers a high risk for the subsequent emergence of mental illness later in life. It is increasingly accepted that the gastrointestinal microbiota contributes substantially to shaping the development of the central nervous system. Conversely, several studies have shown that early-life events can also impact on this gut community. Due to the bidirectional communication between the gut and the brain, it is possible that aberrant situations affecting either organ in early life can impact on the other. Studies have now shown that deviations from the gold standard trajectory of gut microbiota establishment and development in early life can lead not only to disorders of the gastrointestinal tract but also complex metabolic and immune disorders. These are being extended to disorders of the central nervous system and understanding how the gut microbiome shapes brain and behavior during early life is an important new frontier in neuroscience. (C) 2015 IBRO. Published by Elsevier Ltd. All rights reserved.