To evaluate the relationship between NLRP3, IL-1β, IL-18, and hsCRP levels and depression in patients with myocardial infarction, binary logistic analysis with depression as the dependent variable was performed. The gene discussed is IL1B; the disease is depressive symptom measurement.