This study identified two hub DEGs (i.e., IL1B and TLR2) and illustrated their potential roles in the diagnosis of MI to enhance our knowledge of the underlying molecular mechanism. Here, IL1B is linked to myocardial infarction.