The invention discloses a pharmaceutical composition for treating hepatopathy, which is a preparation prepared by the following active pharmaceutical ingredients in portions by weight: 3-5 portions of black nightshade herb, 2-3 portions of common scouring rush herb, 4-8 portions of wild buckwheat rhizome, 3-5 portions of Indian kalimeris herb, 2-5 portions of zedoary, 3-5 portions of carrageen, 3-5 portions of Indian rorippa herb, 3-5 portions of lightyellow sophora root, 3-5 portions of virgate wormwood herb, 3-8 portions of coix seed and 3-5 portions of sinkiang arnebia root. The pharmaceutical composition can effectively inhibit virus replication, convert hepatitis B e-antigen and hepatitis B virus (DNA: deoxyribonucleic acid) gene polymerase to be negative within 40 weeks, effectively treat hepatitis B, further reduce the liver fibrosis level, improve the organic disorder in liver and spleen, increase the seralbumin, quickly reduce the liver functional seroenzyme, restore liver functions, have a good effect of protecting the liver, and effectively treat viral hepatitis and cirrhosis; and the pharmaceutical composition particularly has significant treatment effect for the hepatitis B and the cirrhosis after various types of the hepatitis.