The invention discloses a Chinese herbal medicine for treating palpitation due to yin deficiency and liver depression induced by heart-qi deficiency. The Chinese herbal medicine is prepared from the following medicines: 20-30 parts of American ginseng, 20-30 parts of poria with hostwood, 20-30 parts of platycladi seed, 20-30 parts of glossy privet fruit, 20-30 parts of radix ophiopogonis, 25-35 parts of dens draconis, 25-35 parts of concha ostreae, 25-35 parts of Chinese yam, 25-35 parts of salvia, 20-30 parts of yerbadetajo herb, 20-30 parts of abalone shell, 25-35 parts of radix curcumae, 20-30 parts of mother of pearl, 25-30 parts of radix polygonati officinalis and 20-25 parts of caulis polygoni multiflori. The Chinese herbal medicine is prepared by adding 1500 parts of water to a crockery, after the water is boiled, decocting the medicines with slow fire for 20-30 minutes, filtering the decoction and collecting the supernatant, adding 1500 parts of water and decocting the supernatant three times, bottling and uniformly mixing the supernatant decocted three times and then sterilizing the supernatant under a high temperature for later use. American ginseng is taken as the monarch, poria with hostwood and platycladi seed are taken as the ministers, glossy privet fruit, radix ophiopogonis, dens draconis, concha ostreae, Chinese yam and salvia are taken as the assistants, and yerbadetajo herb, abalone shell, radix curcumae, mother of pearl, radix polygonati officinalis and caulis polygoni multiflori are taken as the guides.