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. This evidence concerns the gene HMGCR and diabetes mellitus.