The invention relates to a medicament for treating liver cancer, which is prepared from 19 Chinese medicinal herbs including glossy ganoderma, antrodia cinnamomea, elecampane inula root, emblic leafflower fruit, meconopsis, giant cardiocrinum, rose mallow root, tabasheer, herpetospermum caudigerum wall, phymatopsis hastate, blumea leaf or twig, fructus phyllanthi, long pepper, dracocephalum tanguticum, liquoric root, cassia bark, areca seed, Chinese wolfberry fruit and litchee bark. The medicament is a pure natural Chinese medicine, does not have toxic or side effect and have injury to human bodies, has the effects of tonifying spleen and regulating flow of vital energy, cooling and refreshing and detoxicating and expelling toxic heat and polluted toxic qi of internal organs, and is mainly used for treating primary liver cancer. By long-term administration, the pathological changes of cells can be inhibited and prevented, appetite is improved obviously, and the immunity is enhanced.