Conclusion: Genetically predicted TGs, IL-1β, and IL-17 were positively associated with increased risk of NAFLD, with evidence that IL-1β and IL-17 mediated TGs effect upon NAFLD risk. The gene discussed is IL17A; the disease is metabolic dysfunction-associated steatotic liver disease.