The results showed that TSG could prevent NAFLD by balancing gut flora, improving integrity of intestinal mucosal barrier, and decreasing serum LPS levels via TLR4/NF-κB pathway. Here, NFKB1 is linked to metabolic dysfunction-associated steatotic liver disease.