This invention demonstrates the therapeutic efficacy of Yang-Gan-Wan (YGW) and its active components, especially in the formulation provided by Sheng-Pu Pharmaceutials, Inc., for treating and preventing liver fibrosis. This invention further demonstrates MeCP2 is an important therapeutic target for YGW and its active ingredients action against liver fibrosis and cirrhosis.