Probiotics and prebiotics have become viable alternatives of growth-promoting antimicrobials in animal production. Here, we tested partially hydrolyzed guar gum (PHGG) as a possible prebiotic for piglets in the commercial farm. Five hundred and ninety-four piglets were used for the experiments, with 293 given a normal pig feed (control), while the rest the feed plus 0.06% (w/w) of PHGG (PHGG). One and three months post-PHGG supplementation, fecal samples were collected from randomly selected 20 piglets in each group and analyzed for microbiota and organic acid concentrations. Notably, the abundance of Streptococcus, and unclassified Ruminococcaceae were lower (p < 0.05) in PHGG than in control, one-month post-supplementation. Lactobacillus and Prevotella were higher (p < 0.05), while Streptococcus was lower (p < 0.05), in PHGG than in control, three months post-supplementation. The concentrations of acetate, propionate, and butyrate were greater in PHGG than in control, three months post-supplementation. Finally, PHGG grew faster and had fewer deaths until slaughter time (p < 0.05), than control. We concluded that PHGG not only was an effective prebiotic to alter gut microbiota of weanling piglets but also can possibly promote body weight accretion and health.