In our study, metabolic syndrome, diabetes, hypertension, AST/ALT ratio, GGT, platelet count and fasting glucose were associated with hepatic fibrosis in patients with NAFLD. Here, GPT is linked to diabetes mellitus.