Lung ischemia-reperfusion injury (LIRI) causes oxidative stress, inflammation, and immune system activation. The Nrf2/Keap1/HO-1 pathway is important in cellular defense against these effects. Quercetin, a flavonoid with antioxidant, anti-inflammatory, and anti-cancer properties, has been investigated. Our aim in this study was to investigate the effect of quercetin on preventing lung ischemia-reperfusion injury and the role of the Nrf2/Keap1/HO-1 pathway. Sixty-four male Wistar rats were divided into four distinct groups(n = 16). Sham, lung ischemia-reperfusion (LIR), Saline + LIR, Quercetin + LIR (30 mg/kg i.p for a week before LIR). LIR groups were subjected to 60 min of ischemia (left pulmonary artery, vein, and bronchus) and 120 min of reperfusion. Our assessment encompassed a comprehensive analysis of various factors, including the evaluation of expression Nrf2, Keap1, and Heme Oxygenase-1 (HO-1) levels and NF-κB protein. Furthermore, we examined markers related to inflammation (interleukin-1β and tumor necrosis factor alpha), oxidative stress (malondialdehyde, total oxidant status, superoxide dismutase, glutathione peroxidase, total antioxidant capacity), lung edema (Wet/dry lung weight ratio and total protein concentration), apoptosis (Bax and Bcl2 protein), and histopathological alterations (intra-alveolar edema, alveolar hemorrhage, and neutrophil infiltration). Our results show that ischemia-reperfusion results in heightened inflammation, oxidative stress, apoptosis, lung edema, and histopathological damage. Quercetin showed preventive effects by reducing these markers, acting through modulation of the Nrf2/Keap1 pathway and inhibiting the NF-κB pathway. This anti-inflammatory effect, complementary to the antioxidant effects of quercetin, provides a multifaceted approach to cell protection that is important for developing therapeutic strategies against ischemia-reperfusion injury and could be helpful in preventive strategies against ischemia-reperfusion.