Objective To study the effect of nursing intervention in the health education of patients with acute myocardial infarction.Methods 68 patients with acute myocardial infarction admitted to our hospital from December 2020 to May 2022 were selected and grouped by random computer method.34 patients in each group had routine health education in the nursing intervention model.Results The observation group had a higher overall compliance rate than the control group, higher disease diagnosis, medication, self-care, health behavior scores and fewer complications (P <0.05), less mood indicator scores between the first two groups (P> 0.05), and lower anxiety and depression scores than the control group (P <0.05).Conclusion The health education of nursing intervention mode has a more significant impact on patients with acute myocardial infarction, improves the negative emotional status of patients, improves the mastery of disease knowledge points, and increases the compliance of treatment, which is conducive to the rapid recovery of the disease.