Taken together, our results suggest that Trx1 promotes autophagy through transnitrosylation of Atg7, thereby protecting the heart against ischemia. Here, ATG7 is linked to ischemia.