IL1B was correlated with immune cell infiltrates (macrophages, mast cells, neutrophils and T cells) in MI and most common predicted medications were roxithromycin, NSC267099 and alsterpaullone.This study provides a research basis for exploring the potential regulatory targets and possible regulatory mechanisms of AMI and offers new ideas for the treatment of this disease. The gene discussed is IL1B; the disease is myocardial infarction.