The odds ratios (ORs) of NAFLD for the highest (vs. lowest) quartile of RBP4 were 1.884 (95% CI: 1.391, 2.551) for females (P < 0.001), and 2.107 (95% CI: 1.357, 3.273) for male participants (P < 0.01) after adjusting for related factors. The gene discussed is RBP4; the disease is metabolic dysfunction-associated steatotic liver disease.