Continuous monoculture of crops has resulted in reduced yields and quality, as well as soil deterioration. Although traditional Chinese medicine residues (TCMRs) are known to promote plant growth and soil health, few studies have investigated their effectiveness in continuous monoculture soils. Here, we studied the impact of chemical fertilizers (CF) and four TCMRs with antibacterial activities on the growth ofS. miltiorrhiza(a widely used medicinal plant in China), accumulation of active ingredients in plants, and soil health under continuous monoculture conditions. Compared with no fertilizer (CK) and CF, fermentedSophora flavescensradix residue (SFRf) and fermented and unfermentedMoutan cortexresidue (MCRf and MCRu, respectively) resulted in a reduction of the disease index of root rot, while CF did not. The CF and four TCMR treatments increased the accumulation of nitrogen (N) (42.8-124.6% and 17.0-101.7%), phosphorous (P) (19.8-74.7% and 8.3-27.4%), and potassium (K) (104.1-212.0% and 9.3-51.8%) in shoots and roots compared to CK. The differences in nutrient accumulation between the CF and TCMR treatments were statistically insignificant, excepted for the N accumulation in the roots. All fertilization treatments increased plant biomass compared to CK, with increases of 25.57-89.86% and 2.62-35.28% in shoots and roots, respectively. The SFRf treatment exhibited the most significant enhancement in both shoot and root biomass. CF significantly reduced the accumulation of seven active ingredients in roots by 23.90-78.95% compared to CK, whereas each TCMR increased accumulation of certain active ingredients. The TCMR treatments effectively improved the health of deteriorated soil by enhancing soil physicochemical properties, restoring the balance of the microbial community, recruiting beneficial bacteria, and reducing the relative abundance of the pathogenFusarium.The SFRf treatment exhibited superior performance in improving soil health than other treatments. Overall, the TCMRs outperformed CF in restoring soil health and promoting the yield and quality ofS. miltiorrhiza. These findings offer guidance for improving the health of continuous cropping soil and recycling TCMRs.