According to the multiple logistic regression analysis, there is a significantly positive relationship between the presence of NAFLD and a prolonged QTc interval in males >430 ms (OR = 1.47, 95% CI: 1.18–1.84; p < .001) and females >450 ms (OR = 1.39, 95% CI: 1.15–1.68; p < .001) after adjusting for age, smoking status, physical activity (MET 24 h), total cholesterol, HDL‐cholesterol, ASL, ALT levels, and diabetes and hypertension status. The gene discussed is GPT; the disease is diabetes mellitus.