Gestational diabetes mellitus (GDM) is a common complication of pregnancy that has been associated with an increased risk of obesity and diabetes in the offspring. Pregnancy is accompanied by tightly regulated changes in the endocrine, metabolic, immune, and microbial systems, and deviations from these changes can alter the mother’s metabolism resulting in adverse pregnancy outcomes and a negative impact on the health of her infant. Maternal microbiomes are significant drivers of mother and child health outcomes, and many microbial metabolites are likely to influence the host health. This review discusses the current understanding of how the microbiota and microbial metabolites may contribute to the development of GDM and how GDM-associated changes in the maternal microbiome can affect infant’s health. We also describe microbiota-based interventions that aim to improve metabolic health and outline future directions for precision medicine research in this emerging field.