From the study findings, we concluded that there is no causal relationship between IBD and NAFLD, but IL-17 has a causal relationship with IBD and NAFLD. Here, IL17A is linked to metabolic dysfunction-associated steatotic liver disease.