Pregnancy alters many physiological systems, including the maternal gut microbiota. Diet is a key regulator of this system and can alter the host immune system to promote inflammation. Multiple perinatal disorders have been associated with inflammation, maternal metabolic alterations, and gut microbial dysbiosis, including gestational diabetes mellitus, pre-eclampsia, preterm birth, and mood disorders. However, the effects of high-inflammatory diets on the gut microbiota during pregnancy have yet to be fully explored. We aimed to address this gap using a system-based approach to characterize associations among dietary inflammatory potential, a measure of diet quality, and the gut microbiome during pregnancy. Forty-seven pregnant persons were recruited prior to 16 weeks of gestation. Participants completed a food frequency questionnaire (FFQ) and provided fecal samples. Dietary inflammatory potential was assessed using the Dietary Inflammatory Index (DII) from the FFQ data. Fecal samples were analyzed using 16S rRNA amplicon sequencing. Differential taxon abundances with respect to the DII score were identified, and the microbial metabolic potential was predicted using PICRUSt2. Inflammatory diets were associated with decreased vitamin and mineral intake and a dysbiotic gut microbiota structure and predicted metabolism. Gut microbial compositional differences revealed a decrease in short-chain fatty acid producers such as Faecalibacterium, and an increase in predicted vitamin B12 synthesis, methylglyoxal detoxification, galactose metabolism, and multidrug efflux systems in pregnant individuals with increased DII scores. Dietary inflammatory potential was associated with a reduction in the consumption of vitamins and minerals and predicted gut microbiota metabolic dysregulation.