ICD-10-CM 2027
ICD-10 code for heart attack
Acute myocardial infarction, unspecified
Confirmed by the official ICD-10-CM index entry “infarct, infarction › myocardium, myocardial (acute) (with stated duration of 4 weeks or less)”. Page updated September 29, 2026.
About coding heart attack
The ICD-10-CM code for heart attack is I21.9 (Acute myocardial infarction, unspecified). The official index lists 12 more specific codes, so check the documentation for details such as type, cause, site or severity before settling on I21.9.
It is also searched as MI, myocardial infarction.
Within I21, choose I21.9 (unspecified) only when documentation doesn't support a more specific option: ST elevation (STEMI) myocardial infarction of anterior wall (I21.0), ST elevation (STEMI) myocardial infarction of inferior wall (I21.1), ST elevation (STEMI) myocardial infarction of other sites (I21.2), ST elevation (STEMI) myocardial infarction of unspecified site (I21.3), Non-ST elevation (NSTEMI) myocardial infarction (I21.4), other type of myocardial infarction (I21.A) and myocardial infarction with coronary microvascular dysfunction (I21.B).
Use an additional code, if applicable, to identify: exposure to environmental tobacco smoke (Z77.22), history of tobacco dependence (Z87.891), occupational exposure to environmental tobacco smoke (Z57.31), status post administration of tPA (rtPA) in a different facility within the last 24 hours prior to admission to current facility (Z92.82), tobacco dependence (F17.-) and 1 more.
As a secondary diagnosis it is an MCC (major complication or comorbidity), which can move an inpatient stay into the highest-paying "with MCC" MS-DRG of its family, unless the principal diagnosis excludes it.
Related Heart attack codes
- I21.01 ST elevation (STEMI) myocardial infarction involving left main coronary artery
- I21.02 ST elevation (STEMI) myocardial infarction involving left anterior descending coronary artery
- I21.09 ST elevation (STEMI) myocardial infarction involving other coronary artery of anterior wall
- I21.11 ST elevation (STEMI) myocardial infarction involving right coronary artery
- I21.19 ST elevation (STEMI) myocardial infarction involving other coronary artery of inferior wall
- I21.21 ST elevation (STEMI) myocardial infarction involving left circumflex coronary artery
- I21.29 ST elevation (STEMI) myocardial infarction involving other sites
- I21.3 ST elevation (STEMI) myocardial infarction of unspecified site
- I21.4 Non-ST elevation (NSTEMI) myocardial infarction
- I21.A1 Myocardial infarction type 2
- I21.A9 Other myocardial infarction type
- I21.B Myocardial infarction with coronary microvascular dysfunction
Common questions about heart attack ICD-10 codes
What is the ICD-10 code for heart attack?
- I21.9 — Acute myocardial infarction, unspecified. More specific codes apply when the documentation supports them: I21.01, I21.02, I21.09, I21.11 and others below.
What is the ICD-10 code for st elevation (stemi) myocardial infarction involving left main coronary artery?
- I21.01 — ST elevation (STEMI) myocardial infarction involving left main coronary artery.
What is the ICD-10 code for st elevation (stemi) myocardial infarction involving left anterior descending coronary artery?
- I21.02 — ST elevation (STEMI) myocardial infarction involving left anterior descending coronary artery.
What is the ICD-10 code for st elevation (stemi) myocardial infarction involving other coronary artery of anterior wall?
- I21.09 — ST elevation (STEMI) myocardial infarction involving other coronary artery of anterior wall.
What is the ICD-10 code for st elevation (stemi) myocardial infarction involving right coronary artery?
- I21.11 — ST elevation (STEMI) myocardial infarction involving right coronary artery.
What is the ICD-10 code for st elevation (stemi) myocardial infarction involving other coronary artery of inferior wall?
- I21.19 — ST elevation (STEMI) myocardial infarction involving other coronary artery of inferior wall.
What is the ICD-10 code for st elevation (stemi) myocardial infarction involving left circumflex coronary artery?
- I21.21 — ST elevation (STEMI) myocardial infarction involving left circumflex coronary artery.
Is I21.9 billable?
- Yes. I21.9 is a billable/specific ICD-10-CM code valid for FY2027 (October 1, 2026 – September 30, 2027).
Can I21.9 be used as a principal diagnosis?
- Yes. The Medicare Code Editor doesn't restrict I21.9 as a principal diagnosis.
Is I21.9 a CC or MCC?
- I21.9 is an MCC (major complication or comorbidity) under MS-DRG v44.0, unless excluded by the principal diagnosis.