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. Here, IL1B is linked to metabolic dysfunction-associated steatotic liver disease.