Multivariable logistic model indicated that increased interleukin (IL)-1β [odds ratio (OR) = 1.15, 95% confidence interval (CI): 1.04–1.27], IL-6 (OR = 1.28, 95% CI: 1.07–1.53), and IL-17 (OR = 1.04, 95% CI: 1.02–1.07) levels were significantly associated with NAFLD. The gene discussed is IL17A; the disease is metabolic dysfunction-associated steatotic liver disease.