This review discusses the potential role of gut microbiota early in life such as during pregnancy and infancy on the risk of subsequent diseases, and that gut microbiota could be used as a target for intervention in the prevention of undesirable metabolic consequences.