We further performed multivariate analysis adjusting for age, sex, BMI, serum GPT, triglyceride and HDL levels, and the results showed that T2D subjects with high abundance of the phylum Firmicutes (odds ratio (OR): 3.68, 95% confidence index (CI): 1.30–10.46) had increased risk of moderate to severe NAFLD. This evidence concerns the gene GPT and type 2 diabetes mellitus.