Background: The relationship of expenditures related to rescuing patients from complications and hospital quality has not been well characterized. We sought to examine the relationship between payments for treating post-operative complications after liver and pancreas surgery and hospital quality. Methods: A retrospective cohort study of patients who underwent hepatopancreatic surgery was performed using claims data from 2013 to 2015 in the Medicare Provider Analysis and Review (MEDPAR) database. Medicare payments for index hospitalization and readmissions, as well as perioperative clinical outcomes were analyzed. Hospitals were stratified using average payments for patients who were rescued from complications (cost-of-rescue). Results: A total of 13,873 patients and 737 hospitals were included in the analyses. Patient characteristics were similar across hospitals. Risk-adjusted rates of overall complications were higher at the highest cost-of-rescue hospitals (relative risk [