During pregnancy, changes occur to influence the maternal gut microbiome, and potentially the fetal microbiome. Diet has been shown to impact the gut microbiome. Little research has been conducted examining diet during pregnancy with respect to the gut microbiome. To meet inclusion criteria, dietary analyses must have been conducted as part of the primary aim. The primary outcome was the composition of the gut microbiome (infant or maternal), as assessed using culture-independent sequencing techniques. This review identified seven studies for inclusion, five examining the maternal gut microbiome and two examining the fetal gut microbiome. Microbial data were attained through analysis of stool samples by 16S ribosomal RNA gene-based microbiota assessment. Studies found an association between the maternal diet and gut microbiome. High-fat diets (% fat of total energy), fat-soluble vitamins (mg/d) and fibre (g/d) were the most significant nutrients associated with the gut microbiota composition of both neonates and mothers. High-fat diets were significantly associated with a reduction in microbial diversity. High-fat diets may reduce microbial diversity, while fibre intake may be positively associated with microbial diversity. The results of this review must be interpreted with caution. The number of studies was low, and the risk of observational bias and heterogeneity across the studies must be considered. However, these results show promise for dietary intervention and microbial manipulation in order to favour an increase of health-associated taxa in the gut of the mother and her offspring.