Although recent evidence shows that the programmed intermittent epidural bolus can provide improved analgesia compared to continuous epidural infusion during labor, its usefulness in major upper abdominal surgery remains unclear. We evaluated the effect of programmed intermittent epidural bolus versus continuous epidural infusion on the consumption of postoperative rescue opioids, pain intensity, and consumption of local anesthetic by retrospective analysis of data of patients who underwent major upper abdominal surgery under ultrasound-assisted thoracic epidural analgesia between July 2018 and October 2020. The primary outcome was total opioid consumption up to 72 h after surgery. The data of postoperative pain scores, epidural local anesthetic consumption, and adverse events from 193 patients were analyzed (continuous epidural infusion: n = 124, programmed intermittent epidural bolus: n = 69). There was no significant difference in the rescue opioid consumption in the 72-h postoperative period between the groups (33.3 mg [20.0–43.3] vs. 28.3 mg [18.3–43.3], p = 0.375). There were also no significant differences in the pain scores, epidural local anesthetic consumption, and incidence of adverse events. Our findings suggest that the quality of postoperative analgesia and safety following major upper abdominal surgery were comparable between the groups. However, the use of programmed intermittent epidural bolus requires further evaluation.