The invention relates to the technical field of medicines for treating cardiovascular and cerebtovascular diseases and discloses a medicine for treating coronary heart disease and a preparation method thereof. The medicine comprises sandalwood, pearl, Mastich, cassia bark, flower of Anchusa italic, cardamom, Crocus sativus, Operculina turpethum, tabasheer, aquilaria wood, phyllanthus emblica, Pterocarpus santalinus, coriander seed, Limonium gmelinii, purslane seed, amber, root of Centaurea cyanus L., musk, rose, silkworm cocoon, dracocephalum moldavica, Chinese usnea, berberis fruit and apple. Compared with the existing Uighur medicine Yangxindawayimixike honey paste, the medicine tablet provided by the invention has good effects of treating coronary heart disease angina and stable angina pectoris, has a small use amount, can be accurately quantified, is convenient for storage and carrying, and greatly reduces heavy metal content. Raw materials of the medicine are crushed into submicron powder and then are blended according to a certain ratio. The medicine is conducive to full absorption by a patient.