This study explored the effects of changes in gut microbiota on normal or leptin receptor gene deficiency rats, and multi-angle analysis of the directivity of intestinal microbiota during the progression of obesity to T2DM. Here, LEPR is linked to type 2 diabetes mellitus.