The invention belongs to the field of medicines, specifically relates to a pharmaceutical composition for treating myocardial ischemia, and particularly relates to a traditional Chinese medicine composition for treating the myocardial ischemia and a preparation method of the traditional Chinese medicine composition. The pharmaceutical composition is prepared from the following traditional Chinese medicine materials in parts by weight: 30-50 parts of codonopsis pilosula, 10-30 parts of vaccaria segetalis, 20-35 pars of panax pseudoginseng, 15-30 parts of semen persicae, 15-35 parts of oenothera biennis and 5-15 parts of medicated leaven. The pharmaceutical composition has simple components, is safe, effective and simple in preparation process, does not have toxic or side effects, is high in patient compliance, and has good development and application prospects.