This MR study showed that although there was no causal relationship between IBD and NAFLD, different subtypes of IL-17 had different causal relationships with IBD and NAFLD. Here, IL17A is linked to metabolic dysfunction-associated steatotic liver disease.