Acute-on-chronic liver failure (ACLF) is associated with organ failure and high short-term mortality. Bacterial infections and surgery have been reported as major precipitants for ACLF. However, detailed characterization of postoperative infections after elective surgery in patients with liver cirrhosis and their impact on the development of ACLF have not been investigated yet. A total of 235 patients with cirrhosis without ACLF and proven bacterial infections undergoing elective surgery were included. The primary end point was the development of ACLF within 28 days after surgery, and secondary end points were infection development within 28 days and 3-month ACLF-related mortality. Cox regression analysis was used for identification of risk factors associated with ACLF development, infection development, and mortality. A total of 86 patients (37%) developed ACLF within 28 days after surgery. Patients with new postoperative infections had significantly higher rates of associated ACLF episodes within 28 days (51% vs. 24%, p < 0.001) and higher 3-month mortality (p < 0.05) than patients without postoperative infections. New infections after surgery [HR: 2.43 (1.59–3.71), p < 0.001] and organ/space surgical site infections [HR: 2.46 (1.26–4.80), p = 0.01] in particular were independent risk factors associated with ACLF development 28 days after surgery. Extensive procedures were associated with the development of new postoperative infection episodes within 28 days. Infections treated with initial appropriate empirical antibiotic strategies showed significantly improved survival. This study characterizes and identifies bacterial infections in general and organ/space surgical site infection in particular as precipitating events for the development of ACLF after elective surgery in patients with cirrhosis. Postoperative ACLF combined with infections leads to higher postoperative short-term mortality than each condition separately, especially in extensive procedures. Interdisciplinary care, early identification of postoperative ACLF and infections, and adequate, broad, and early treatment strategies are needed to improve postoperative outcome.