The invention discloses a traditional Chinese medicine composition for treating liver cancer and a preparation method thereof, and relates to the technical field of medicines for treating liver cancer, and the traditional Chinese medicine composition for treating liver cancer comprises the following raw material components in parts by weight: 1.5-2.5 parts of centipedes, 4.5-5.5 parts of earthworms, 4.5-5.5 parts of ground beetles, 4.5-5.5 parts of dung beetles and 4.5-5.5 parts of damp worms. The traditional Chinese medicine composition for treating liver cancer provided by the invention can strengthen the body resistance, resist cancer, soften hard mass, remove food retention, promote blood circulation to remove blood stasis, detoxify, dissipate stagnation, promote menstruation to promote diuresis, and remove toxic rot of liver and kidney meridians; the traditional Chinese medicine composition adopts natural traditional Chinese medicines as raw material components, combats poison with poison, does not need chemotherapy, radiotherapy and operation, has no side effect, is low in price, can effectively treat liver cancer, has an effective rate of more than 90%, has a higher treatment survival rate, and does not need to take medicine for a long time after curing. Artemisia capillaris, poria cocos and endothelium corneum gigeriae galli are added, so that symptoms of jaundice, liver ascites and dyspepsia of liver cancer patients can be respectively and specifically treated. The three conditions can be decocted with water to be taken. The powder can be directly ground into capsules without the three conditions.