In the present study we demonstrated that Kir6.2 knockout abolished the protection of resveratrol against myocardial ischemia/reperfusion injury in vivo and in vitro. This evidence concerns the gene KCNJ11 and myocardial ischemia.