The invention discloses a Chinese herbal medicine for treating ectopic pregnancy, which is characterized by consisting of the following components in part by weight: 25 to 35 parts of root of red-rooted salvia, 25 to 35 parts of Chinese angelica, 25 to 35 parts of ginseng, 15 to 25 parts of frankincense, 15 to 25 parts of myrrh, 15 to 25 parts of peach seed, 25 to 35 parts of astragalus, 15 to 25 parts of notoginseng root, 15 to 25 parts of twotooth achyranthes root, 5 to 15 parts of common burreed rhizome, 5 to 15 parts of zedoary and 15 to 25 parts of red paeony root. A method for preparing the Chinese herbal medicine comprises the following steps of: adding 1,000 parts of water to boil in a casserole, decocting the components over slow fire, uniformly mixing three-time boiled supernatant, filtering and bottling, and sterilizing at a high temperature for later use. In the Chinese herbal medicine, the root of red-rooted salvia is taken as a monarch medicament, the Chinese angelica and ginseng are taken as ministerial medicaments, the frankincense, myrrh, peach seed and astragalus are taken as adjuvant medicaments, and the notoginseng root, twotooth achyranthes root, common burreed rhizome, zedoary and red paeony root are taken as conductant medicaments. A Chinese herbal medicinal composition for treating the ectopic pregnancy has the advantages of good effect, no side effect and low production cost, and is an ideal medicament for activating blood circulation and eliminating stasis, tonifying qi and preventing exhaustion and treating both symptoms and root causes of the ectopic pregnancy.