The invention provides a traditional Chinese medicine composition for treating bacterial infection type paronychia and a preparation method thereof and relates to the technical field of traditional Chinese medicine compositions. The traditional Chinese medicine composition is prepared from cortex phellodendri tincture, cotex dictamni, black Sesame, fine salt, cortex phellodendri, verbena, dark plums, herb of fewleaf schnabelia, honeysuckle, radix angelica sinensis, rhizomes of Chinese goldthread, radix scutellariae, sculellaria barbata, patience dock roots, leaves of Breynia fruticosa (L.) Hook. f., symplocos chinensis and leaves of ilex pubescens. The traditional Chinese medicine composition is used for treating bacterial infection type paronychia and belongs to medicine for external application, the viscera are not stimulated, and the traditional Chinese medicine composition can clear away heat and toxic materials, disperse stasis and dredge collaterals and perform detumescence and detumescence, has an exact curative effect on paronychia and is small in side effect.