Pretreatment with Nicorandil improved cardiac functions, infarction, and inflammation by inhibiting TLR4/MyD88/NF‐κB/NLRP3 signalling pathway thus reduced myocardial pyroptosis in rats with AMI. The gene discussed is MYD88; the disease is infarction.