The invention discloses application of lophatherum gracile total flavonoids in preparation of medicine and functional food for preventing and treating myocardial ischemia disease. Shown by the experiment results, the lophatherum gracile total flavonoids are safe without toxic or side effect, and have obvious inhibiting effect on ear swelling model caused by p-dimethylbenzene, can inhibit platelet aggregation and prolong the thrombosis time, and have better protection effect on rat myocardial ischemia and myocardial ischemia reperfusion injury caused by pituitrin. Furthermore, shown by screening results of a great amount of experiments, after being combined with antiplatelet aggregation medication, beta-receptor blocking pharmacon, calcium ion antagonist, statins, RAS system blocking agent, nitrite medication and thrombolysis medication or angiotensin-converting enzyme inhibitor, the the lophatherum gracile total flavonoids show better antiplatelet aggregation, is capable of prolonging the thrombosis time, have better protection effect on rat myocardial ischemia and myocardial ischemia reperfusion injury caused by pituitrin, and play a better synergistic effect.