These findings were confirmed by qPCR, which validated the modulation of key genes (Pparg, Scd1, Cyp7a1, Cyp39a1) involved in the relevant pathways.<h4>Conclusions</h4>YDPG alleviates NAFLD by modulating the gut-liver axis, restoring gut microbial balance, and correcting metabolic disorders, demonstrating its potential as a multi-target therapeutic agent for NAFLD. This evidence concerns the gene CYP7A1 and metabolic dysfunction-associated steatotic liver disease.