The invention provides a traditional Chinese medicine for treating cancer, which is prepared by the following bulk drugs: bone collagen, honeysuckle, agrimonia pilosa, chamomile, rhizoma belamcandae, periostracum cicada, cortex moutan radicis, retinervus luffae fructus, schisandra chinensis, radix trichosanthis, rhizoma phragmitis, radix arnebiae seu lithospermi, cortex lycii radicis, rhizoma coptidis, radix scutellariae, phellodendron amurense, gentiana, dendrobium, raw hawthorn fruit, costus root, raw semen pharbitidis, radix bupleuri, rhizoma cyperi, cynanchum atratum, lily, polygonatum, ligustrum lucidum, eclipta prostrata, loranthus parasiticus, codonopsis pilosula, radix astragali, licorice root, fleece-flower root, herba schizonepetae, notopterygium root, mulberry, grifola umbellate, cornu antelopes, hawksbill carapace, afrian rhinoceros horn, eaglewood, saffron, corium erinacei, sesame seed, tortoise plastron, turtle shell, edible tree fungus, tree ganoderma lucidum, black bean, cave flower, acanthus ilicifolius, Japanese ginseng rhizome, puffball, Chinese yam and Niupo powder; amber powder, oyster shell powder and oxgall are evenly mixed and set aside in closed condition, and then taken out and dried so as to obtain the Niupo powder. The traditional Chinese medicine of the invention has reliable effect, small side effect, wide range of application, convenient treatment and less possibility of relapse after the cancer is cured, and can gradually cure the cancer by continuous use.