Background Significant safety concerns remain surrounding the use of nonsteroidal anti-inflammatory drugs (NSAIDs) following gastrointestinal surgery, leading to wide variation in their use. This study aimed to determine the safety profile of NSAIDs after major gastrointestinal surgery. Methods Consecutive patients undergoing elective or emergency abdominal surgery with a minimum one-night stay during a 3-month study period were eligible for inclusion. The administration of any NSAID within 3 days following surgery was the main independent variable. The primary outcome measure was the 30-day postoperative major complication rate, as defined by the Clavien–Dindo classification (Clavien–Dindo III–V). Propensity matching with multivariable lo...