The invention relates to a traditional Chinese medicine for treating toothache, which is prepared by the following raw materials in parts by weight: 2-4 parts of poppy shell, 8-10 parts of Chinese magnoliavine fruit, 6-8 parts of tuber onion seed, 10-12 parts of teasel root, 8-10 parts of gynostemma pentaphylla, 8-10 parts of cowherb seed, 5-7 parts of anomalous wormwood, 10-14 parts of fructus forsythiae, 6-8 parts of ledebouriella seseloides, 4-8 parts of kudzu-vine root, 6-10 parts of scutellaria baicalensis, 3-5 parts of pepper, 4-6 parts of asarum, 5-7 parts of radix angelicae, 4-6 partsof szechuan lovage rhizome, 6-8 parts of cimicifuga foetida, 2-4 parts of gentian, 6-8 parts of cortex lycii radicis, 6-8 parts of notopterygium root, 6-8 parts of rheum officinale and 5-7 parts of lalang grass rhizome. The invention has the advantages of no toxic and side effect, safety, reliability, good curative effect, obvious effect, convenient taking, less dosage, easy absorption and rapid action, achieves an ache relief effect generally after 5-7 minutes, completely plays a role after 15 minutes, is healed by taking for one day, has no recrudescence phenomenon for several months and even one year, is suitable for both the young and the old and is reduced for children in dosage.