The invention discloses a Chinese herbal medicine formula with a detoxifying effect as well as a preparation method and application thereof. The Chinese herbal medicine formula with the detoxifying effect consists of the following raw materials in percentage by weight: 60-80% of pennisetum purpureum, 1-5% of dandelion, 1-5% of paris polyphylla, 1-5% of oldenlandia diffusa, 3-8% of astragalus membranaceus, 3-8% of schisandra chinensis, 1-5% of glossy privet fruit, 1-5% of liquorice, 1-5% of coptis chinensis, 1-5% of golden cypress and 1-5% of scutellaria baicalensis. The invention has the beneficial effects that the formula is formed by natural pennisetum purpureum containing a large amount of detoxification enzymes and various Chinese herbal medicines, can be used for treating diseases such as diabetes mellitus, uremia, rheumatism, gout, nephropathy, hyperlipidemia, osteoporosis, diuresis and the like, and can achieve the effects of removing harmful chemical medicines in a body, expelling toxins and repairing damaged cells. The Chinese herbal medicine formula not only can help patients to recover and strengthen body immunity, but also can help sub-healthy people and healthy people to resist diseases.