Researchers have studied gut microbiota changes following bariatric surgery (BS), but not gut diversity and function in patients who fail to reduce weight. Stool samples were collected from three groups of women: 15 women who did not lose weight after BS (“Yes” group), 9 overweight women without surgery, and 8 slim women (“No” group). 16S ribosomal RNA gene sequencing and PICRUSt2 were used for the analysis. The surgery and control groups had equal alpha and beta diversity, perhaps due to the high proportion of overweight participants (n = 24). All groupings were dominated by Bacteroidota and Bacillota. Barnesiellaceae decreased with BS, although Streptococcaceae remained frequent in overweight people. The iron supplementation group had High abundance of Atopobiaceae and Prevotellaceae. Barnesiellaceae abundance was considerably lower in both surgical groups (with and without iron supplementation) than in the no-iron and no-surgery groups. The ornithine degradation and haem biosynthesis routes use different metabolites than the glycine super system. Finally, the “Yes” group significantly upregulated PWY0–1241, PWY-5177, and PWY-5855 signaling pathways. In conclusion, gut bacteria and metabolic functions may predict weight loss after surgery better than diversity markers. The requirement for orthogonal validation assays is suggested by pathway analysis outperforming diversity metrics.