Purpose To determine the effects of the sodium content of maintenance fluid therapy on cumulative fluid balance and electrolyte disorders. Methods We performed a randomized controlled trial of adults undergoing major thoracic surgery, randomly assigned (1:1) to receive maintenance fluids containing 154 mmol/L (Na154) or 54 mmol/L (Na54) of sodium from the start of surgery until their discharge from the ICU, the occurrence of a serious adverse event or the third postoperative day at the latest. Investigators, caregivers and patients were blinded to the treatment. Primary outcome was cumulative fluid balance. Electrolyte disturbances were assessed as secondary endpoints, different adverse events and physiological markers as safety and exploratory endpoints. Findings We randomly assigned 70 patients; primary outcome data were available for 33 and 34 patients in the Na54 and Na154 treatment arms, respectively. Estimated cumulative fluid balance at 72 h was 1369 mL (95% CI 601–2137) more positive in the Na154 arm (p 109 mmol/L under Na154 (24/35 patients, 68.6%) than under Na54 (4/34 patients, 11.8%) (p