Ex vivo lung perfusion (EVLP) may serve as a platform for the pharmacologic repair of lung grafts before transplantation (LTx). We hypothesized that EVLP could also permit nonpharmacologic repair through the induction of a heat shock response, which confers stress adaptation via the expression of heat shock proteins (HSPs). Therefore, we evaluated whether transient heat application during EVLP (thermal preconditioning [TP]) might recondition damaged lungs before LTx. TP was performed during EVLP (3 hours) of rat lungs damaged by warm ischemia by transiently heating (30 minutes, 41.5 °C) the EVLP perfusate, followed by LTx (2 hours) reperfusion. We also assessed the TP (30 minutes, 42 °C) during EVLP (4 hours) of swine lungs damaged by prolonged cold ischemia. In rat lungs, TP induced HSP expression, reduced nuclear factor κB and inflammasome activity, oxidative stress, epithelial injury, inflammatory cytokines, necroptotic death signaling, and the expression of genes involved in innate immune and cell death pathways. After LTx, heated lungs displayed reduced inflammation, edema, histologic damage, improved compliance, and unchanged oxygenation. In pig lungs, TP induced HSP expression, reduced oxidative stress, inflammation, epithelial damage, vascular resistance, and ameliorated compliance. Collectively, these data indicate that transient heat application during EVLP promotes significant reconditioning of damaged lungs and improves their outcomes after transplantation.