After adjusting for age, gender, race, education, marital status, smoking, physical activity, sedentary time, diabetes, hypertension, dyslipidemia, ALT, ALP, AST, GGT, BMI, and energy, a dietary fiber intake of 11.15–18.40 g was associated with significantly lower odds of MAFLD compared with a fiber intake < 11.15 g (OR = 0.69, 95% CI 0.52–0.91, P = 0.011). The gene discussed is GPT; the disease is hypertensive disorder.