Ulcerative colitis, total colectomy and tofacitinib have all been associated with increased risk of venous thromboembolism. To determine if preoperative tofacitinib exposure increases venous thromboembolism or other postoperative complications among patients with ulcerative colitis undergoing subtotal colectomy, total colectomy or total proctocolectomy. Retrospective, case-control study at a single institution. A tertiary referral center. Adult patients with ulcerative colitis undergoing subtotal colectomy, total colectomy or total proctocolectomy after 2018 who were taking tofacitinib within 30 days of surgery (n = 56) were compared to age and sex-matched patients with ulcerative colitis undergoing the same surgeries but who were not exposed to tofacitinib (n = 56). The primary outcome was differences in the incidence of venous thromboembolism within 90 days of surgery based on tofacitinib exposure. Secondary outcomes were 90-day postoperative complications. Groups were well matched for age (non-tofacitinib: mean 35.2 years [SD 12.0], tofacitinib: 35.9 [SD 12.1], p = 0.36) and sex (41% female in each group, p = 1.00). Medical characteristics were similar between groups except for biologic medication exposure 30 days before surgery (non-tofacitinib: 66%, tofacitinib: 36%, p = 0.004). Surgical characteristics did not differ between groups. Most patients were discharged on extended venous thromboembolism prophylaxis (non-tofacitinib: 80% and tofacitinib: 77%). Adjusted for biologic exposure, there were no statistically significant differences in venous thromboembolism (non-tofacitinib exposed: 14%, tofacitinib-exposed: 4%, p = 0.09) or other postoperative outcomes. Retrospective, single institutional study. Among patients with ulcerative colitis undergoing total colectomy or proctocolectomy, exposure to tofacitinib was not associated with an increased risk of venous thromboembolism or other postoperative complications. See Video Abstract.