The invention relates to a traditional Chinese medicine composition for treating sexual dysfunction. The traditional Chinese medicine composition is prepared from the following raw materials of ginseng, fructus corni, radix rehmanniae preparata, plastrum testudinis, cornu cervi pantotrichum, rhizoma polygonati, semen cuscutae, rhizoma dioscoreae, Chinese angelica, mulberry fruit, radix ophiopogonis, radix polygoni multiflori, fructus schisandrae chinensis, soaked ginseng, black sesame, herba cistanche, herba cynomorii, cortex eucommiae, radix dipsaci, fructus lycii, human placenta, semen platycladi, cortex cinnamomi, shaved cinnamon bark, radix aconiti lateralis preparata, fructus rubi, rhizoma curculiginis, root of aconitum carmichaeli debx, and black maca. The traditional Chinese medicine composition has the advantages that the excellent function of preventing and controlling kidney Yang deficiency, kidney Qi deficiency, sexual dysfunction, impotence, prospermia and the like is realized; the immunity of a human body is obviously improved, the effects of nourishing Yin and tonifying kidney, warming kidney and strengthening Yang, and benefiting marrowing and replenishing essence are realized, the safety effect is realized, the toxic or side effect is avoided, and the effect of relieving the kidney deficiency and sexual dysfunction symptoms of adult and old patients is good; the convenience in use is realized, the cost is lower, and the good commercial prospect is realized.