Progressive respiratory insufficiency secondary to cardiopulmonary bypass (CPB) is still a hazard after cardiac surgery. Pathophysiologically, impaired capillary endothelial integrity seems to be the fundamental lesion, followed by increased interstitial fluid accumulation. The reasons for this pulmonary damage age controversial; however, management of the nonperfused lungs during CPB has been widely neglected and may be partly responsible. In this study, 90 patients undergoing coronary artery bypass grafting were randomly divided into six groups (15 patients each) with different management of the lungs during CPB: group 1, lungs collapsed (0/0); group 2, static inflation with +5 cm H 2O and F 1O 2 1.0 (+5/1.0); group 3, static inflation with +5 cm H 2O and F 1O 2 0.21 (+5/0.21); group 4, static inflation with +15 cm H 2O and F 1O 2 1.0 (+15/1.0); group 5, static inflation with +15 cm H 2O and F 1O 2 0.21 (+15/0.21); and group 6, controlled mechanical ventilation as before start of CPB (positive end-expiratory pressure [PEEP +5 cm H 2O; F 1O 2 1.0) (ventilation). In addition to hemodynamic monitoring, extravascular lung water (EVLW) was measured by means of a double-indicator dilution technique with heat and indocyanine green. Measurements were performed after induction of anesthesia, before onset of CPB, and immediately after weaning from bypass, as well as 60 minutes and 5 hours after termination of CPB. Pulmonary gas exchange (PaO 2) and intrapulmonary shunting (Q̇s/Q̇t) were also measured. Starting from comparable, normal baseline values, EVLW was increased in all groups after weaning from CPB, with the most pronounced increase in group 4 (maximum, +35%) and group 5 (+40%). Five hours after CPB, lung water content had normalized, except in groups 4 and 5, which still had values higher than those prior to CPB. (PaO 2) decreased most in these groups (group 4, −109 mm Hg; group 5, −130 mm Hg), and Q̇s/Q̇t increased significantly (group 4, +6.7%; group 5, +6.9%) after bypass. It is concluded that the handling of the lungs during CPB significantly influenced changes in EVLW after bypass. Static inflation with high levels of PEEP, particularly in combination with 100% oxygen, should be avoided due to the risk of an increase in lung water content. Static inflation with moderate PEEP and air seems to be the best way to optimize postbypass pulmonary function.