Gut microbes play important roles in regulating fat storage and metabolism. Rhizoma coptidis (RC) and its main active compound, berberine, have either antimicrobial or anti-obesity activities. In the present study, we hypothesize that RC exerts anti-obesity effects that are likely mediated by mechanisms of regulating gut microbes and berberine may be a key compound of RC. Gut microbes and glucose and lipid metabolism in high-fat diet-fed C57BL/6J (HFD) mice in vivo are investigated after RC and berberine treatments. The results show that RC (200 mg/kg) and berberine (200 mg/kg) significantly lower both body and visceral adipose weights, and reduce blood glucose and lipid levels, and decrease degradation of dietary polysaccharides in HFD mice. Both RC and berberine significantly reduce the proportions of fecal Firmicutes and Bacteroidetes to total bacteria in HFD mice. In the trial ex vivo, both RC and berberine significantly inhibit the growth of gut bacteria under aerobic and anaerobic conditions. In in vitro trials, both RC and berberine significantly inhibit the growth of Lactobacillus (a classical type of Firmicutes) under anaerobic conditions. Furthermore, both RC and berberine significantly increase fasting-induced adipose factor (Fiaf, a key protein negatively regulated by intestinal microbes) expressions in either intestinal or visceral adipose tissues. Both RC and berberine significantly increase mRNA expressions of AMPK, PGC1α, UCP2, CPT1α, and Hadhb related to mitochondrial energy metabolism, which may be driven by increased Fiaf expression. These results firstly suggest that antimicrobial activities of RC and berberine may result in decreasing degradation of dietary polysaccharides, lowering potential calorie intake, and then systemically activating Fiaf protein and related gene expressions of mitochondrial energy metabolism in visceral adipose tissues. Taken together, these action mechanisms may contribute to significant anti-obesity effects. Findings in the present study also indicate that pharmacological regulation on gut microbes can develop an anti-obesity strategy.