The invention relates to a traditional Chinese medicine for treating deficiency of spleen and kidney. The traditional Chinese medicine comprise a component A and a component B, wherein the component A is prepared from the following components: red ginseng, astragalus mongholicus, white atractylodes rhizome, poria cocos, radix rehmanniae preparata, white peony root, angelica sinensis, ligusticum wallichii, rhiizoma dioscoreae, fleece-flower root, rhizoma alismatis, semen plantaginis, achyranthes bidentata, barbary wolfberry fruit, pulp of dogwood fruit, morinda officinalis, semen cuscutae, cistanche salsa, cynomorium songaricum, paper mulberry fruit, rhizoma curculiginis, fructus amomi, fructus cnidii, herba epimedii, motherwort, astragalus complanatus, bark of tree peony root, peach seed, spatholobus suberctu, endothelium corneum gigeriae galli, radix bupleuri, fructus polygoni orientalis, semen raphani, perilla fruit, semen brassicae, polygonatum kingianum, radix asparagi, dwarf lilyturf root, calamus, polygala tenuifolia, raspberry, fructus alpiniae oxyphyllae, seed of wild jujube and cordyceps sinensis. The component B is prepared by the following components: cattle hoof bone, cattle patella, cattle spinal cord, oyster shell, oyster meat, raw tortoise plastron, cartialgenous, antler, cucumber seed, cistanche, drynaria rhizome, cibotium barometz, eucommia, dipsacus root, pseudo-ginseng, root of kudzu vine, root of red-rooted salvia, fructus psoraleae, fructus cnidii, herba epimedii, hawthorn, rhizoma smilacis glabrae, fructus schizandrae, hordon euryale and lotus seed.