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 TLR4; the disease is infarction.