This study aimed to investigate the effects of maternal methyl-donor micronutrient supplementation during gestation on gut microbiota and the fecal metabolic profile in offspring piglets. Forty-three Duroc × Erhualian gilts were assigned to two dietary groups during gestation: control diet (CON) and CON diet supplemented with MET (folic acid, methionine, choline, vitamin B6, and vitamin B12). The body weights of offspring piglets were recorded at birth and weaning. Besides this, fresh fecal samples of offspring piglets were collected at 7, 14, and 21 days. The gut microbiota composition, metabolic profile, and short-chain fatty acid (SCFA) profiles in the fecal samples were determined using 16S rDNA sequencing, liquid chromatography-mass spectrometry metabolomics, and gas chromatography methods, respectively. The results showed that maternal methyl-donor micronutrient supplementation increased the microbiota diversity and uniformity in feces of offspring piglets as indicated by increased Shannon and Simpson indices at 7 days, and greater Simpson, ACE, Chao1 and observed species indices at 21 days. Specifically, at the phylum level, the relative abundance of Firmicutes and the Firmicutes to Bacteroidetes ratio were elevated by maternal treatment. At the genus level, the relative abundance of SCFA-producing Dialister, Megasphaera, and Turicibacter, and lactate-producing Sharpea as well as Akkermansia, Weissella, and Pediococcus were increased in the MET group. The metabolic analyses show that maternal methyl-donor micronutrient addition increased the concentrations of individual and total SCFAs of 21-day piglets and increased metabolism mainly involving amino acids, pyrimidine, and purine biosynthesis. Collectively, maternal methyl-donor micronutrient addition altered gut microbiota and the fecal metabolic profile, resulting in an improved weaning weight of offspring piglets.