Our results indicated that increased IL-1β, IL-6, and IL-17 levels were significantly associated with NAFLD. Here, IL17A is linked to metabolic dysfunction-associated steatotic liver disease.