In the present study, using mice with type 2 diabetes mellitus (T2DM) and a hepatocyte steatosis model, the effects of COS on gut microflora and the SMYD3-mediated transcriptional regulation of HMGCR were investigated. Here, HMGCR is linked to type 2 diabetes mellitus.