The invention relates to a traditional Chinese medicine composition for treating osteomyelitis, and particularly relates to compound osteomyelitis pills. The compound osteomyelitis pills are prepared from 12 active pharmaceutical ingredients including hedyotis diffusa, herba violae, fructus forsythiae, radix astragali, flos carthami, panax pseudoginseng, flos lonicerae, radix tinosporae, ginseng, angelica sinensis, liquorice and cornu cervi pantotrichum by the steps of crushing and screening by a screen with 100-150 meshes, uniformly stirring the screened medicine powder, granulating in a granulator and drying in the sun or drying at low temperature. Based on the study and treatment principles of the traditional Chinese medicine on the osteomyelitis pathology and by referring to the scientific achievements of the modern traditional Chinese medicine theory study on osteomyelitis treatment, the composition and compatibility of the traditional Chinese medicine composition provided by the invention are based on the traditional Chinese medicine theory, and the monarch, minister, assistant and guide are configured scientifically and reasonably; and the traditional Chinese medicine composition has the functions of clearing heat and removing toxicity, activating blood and resolving stasis, strengthening tendons and bones, regulating and supplementing qi and blood, warming channels and activating collaterals, nourishing yin and tonifying kidneys and diminishing swelling and relieving pain. The traditional Chinese medicine composition has the advantages of mild but not dry efficacy, convenience in taking, good treatment effect, high effect taking speed, high cure rate, few side effects and no dependence after long-term taking.