A heart attack, or myocardial infarction (MI), occurs when blood flow to a part of the heart is blocked for a long enough time that part of the heart muscle is damaged or dies. This is often due to a blockage in one or more of the coronary arteries caused by a buildup of plaque.