Logistic regression analysis indicated that serum SHBG levels were negatively associated with the presence of NAFLD in all subjects, as well as the subgroups stratified by sex, BMI and HOMA-IR (all p <  0.05). The gene discussed is SHBG; the disease is metabolic dysfunction-associated steatotic liver disease.