The current study aimed to investigate whether the IL17 (A7448G and G197A) and TLR4 (Asp299Gly and Thr399Ile) gene polymorphisms are associated with increased liver fibrosis stages in MASLD patients. The gene discussed is IL17A; the disease is metabolic dysfunction-associated steatotic liver disease.