Network pharmacology identified nine components that interacted with 82 NAFLD-related targets, revealing four target genes: TNF, IL6, TP53, and AKT1. HX prevents the development and progression of NAFLD through different pathways and targets with quercetin-regulated lipid metabolism, anti-inflammatory, and anti-oxidant pathways playing an essential role in the treatment of NAFLD. Here, IL6 is linked to metabolic dysfunction-associated steatotic liver disease.