Inflammatory bowel disease (IBD) is a group of chronic inflammatory disorders of the gastrointestinal tract including ulcerative colitis (UC) and Crohn’s disease. Pain management can be challenging in patients with IBD because there are limitations on the use of analgesics. Use of nonsteroidal anti-inflammatory drugs is not recommended in patients with IBD because there is risk of relapse of IBD and an overall increase in disease activity. Opioids, although frequently used for treating severe acute pain, can have additional risks and complications in patients with IBD such as ileus, toxic megacolon, and narcotic bowel syndrome. Furthermore, little information is available in the literature on pain management in these patients undergoing noncolorectal surgery. This report describes 2 patients with UC in whom postoperative pain following oral and maxillofacial surgery was managed by intravenous patient-controlled analgesia with pentazocine. Apart from the development of acute dystonia in 1 case that was likely due to the use of droperidol for prevention of postoperative nausea and vomiting, postoperative pain was well controlled by pentazocine in both patients without any complications or UC exacerbations.© 2020 by the American Dental Society of Anesthesiology.