The invention relates to a traditional Chinese medicine composition for treating liver diseases. The composition is prepared from the following main active ingredients in parts by weight: respective 50-70 parts of radix salviae miltiorrhizae, cortex moutan radicis, herba abri, radix paeoniae rubra, herba lysimachiae, herba taraxaci, radix sophorae tonkinensis, radix isatidis, fructus hordei germinatus, herba artemisiae scopariae, radix gentianae, radix ginseng, citri sarcodactylis fructus, radix rehmanniae preparata, poria, polyporus umbellatus, radix angelicae sinensis, radix notoginseng, radix bupleuri, fructus aurantii and rhizoma cyperi, as well as 70-90 parts of flos lonicerae, 70-90 parts of hypericum perforatum linn, 70-90 parts of rhizoma polygoni cuspidati, 70-90 parts of fructus gardeniae, 70-90 parts of indigo naturalis, 70-90 parts of rhizoma corydalis, 70-90 parts of rhizoma curcumae longae, 70-90 parts of rhizoma atractylodis macrocephalae, 70-90 parts of radix scrophulariae, 70-90 parts of radix astragali seu hedysari, 70-90 parts of rhizoma sparganii, 70-90 parts of green vitriol, 70-90 parts of rhizoma curcumae, 70-90 parts of alumen, 70-90 parts of sedum lineare, 70-90 parts of aloe, 70-90 parts of ganoderma, 70-90 parts of artificial bezoar, and 70-90 parts of cassia occidentalis. The composition can be used for treating liver cancer or liver cirrhosis, is reasonable in formula, and has the efficacies of clearing away heat and detoxifying, nourishing blood and regulating qi, breaking stagnation, strengthening spleen and nourishing liver, strengthening vital qi and eliminating pathogenic factor, strengthening tendons and bones, enhancing the liver function, and boosting the immunity, the adverse reactions of diseases can be eliminated, and the cancer tumors can be reduced in volume or disappear or be degeneratively changed.