Recent evidence indicates that the composition of the gut microbiota contributes to the development of metabolic disorders by affecting the physiology and metabolism of the host. Metformin is one of the most widely prescribed type 2 diabetes (T2D) therapeutic agents.