Our study suggests that DMDD alleviates liver fibrosis by inhibiting the TGF-β/Smad signaling pathway, restoring gut microbiota homeostasis, and balancing bile acid metabolism. The gene discussed is TGFB1; the disease is Hepatic fibrosis.