In the current case–control study, we demonstrated a higher dietary intake of protein, carbohydrate, iron and copper in the AG genotype of UCP2 gene polymorphisms in patients with NAFLD. The gene discussed is UCP2; the disease is metabolic dysfunction-associated steatotic liver disease.