Background The incidence of ulcerative colitis (UC) in the elderly population is increasing. The aim of this study was to assess the degree to which age and other factors increase the risk of developing major complications in patients undergoing elective surgery for UC. Methods Using the ACS-NSQIP database from 2016 to 2020, patients undergoing elective surgery for UC were divided into four categories: younger than 30, 30-49, 50-69, and 70 or older. A composite outcome was created including major complications and multivariable analysis was performed to identify factors associated with composite major complications. Results 5946 patients diagnosed with ulcerative colitis who underwent elective surgery were included in the analysis. 14.1% of all patients developed a major complication. For patients with UC, factors associated with the development of a major complication were age 50-69 (OR 1.31, P = .034), male sex (OR 1.38, P < .001), Black race (OR 1.47, P = .049), dependent status (OR 2.06, P = .028), hypoalbuminemia (OR 1.92, P < .001), preoperative steroid treatment (OR 1.27, P = .038), preoperative transfusion (OR 1.91, P < .001), open surgical approach (OR 1.44, P = .002), and partial colectomy (OR 1.51, P = .007). Specifically in patients aged 70 or older, hypoalbuminemia (OR 3.20, P < .001) and preoperative transfusion (OR 2.78, P = .019) were associated with a major complication. Conclusion Age is a risk factor for the development of a major complication in UC patients undergoing elective surgery. However, it is not the only risk factor nor is it the one that increases the risk the most.