The invention discloses a medicine for treating heart cardiovascular and cerebrovascular diseases and a preparation method thereof. The medicine is prepared by ginseng, radix salviae miltiorrhizae and rhizoma ligustici wallichii according to a certain weight mixture ratio. The medicine can be prepared into any preparation which is pharmaceutically acceptable, preferably a dripping pill. The medicine has the functions of replenishing qi and invigorating blood circulation, is used for treating cardiovascular and cerebrovascular diseases, is particularly used for treating ischemic cerebrovascular diseases, such as cerebral thrombosis, cerebral ischemia, cerebral infarction, and the like, and is used for treating apoplexy, qi-deficiency, blood stasis syndromes, hemiplegia, orolingual deflection, aphasia and hypodynamia.