In the present study, we investigated the effects of metformin on gut microbiota and metabolome profiles in serum and compared it with insulin treatment in rats with type 2 diabetes mellitus (T2DM). The gene discussed is INS; the disease is diabetes mellitus.