Surgery is a key feature of IBD management. Up to 70% of patients with Crohn's disease and 35% of patients with ulcerative colitis will require surgery during the course of their disease. This Review provides an overview of IBD surgical management, focusing on the potential benefits and drawbacks of laparoscopy compared with open surgery. Emergency and elective indications for both laparoscopic and open surgery are detailed for patients with ulcerative colitis and Crohn's disease. Evidence-based comparative results of these surgical approaches are discussed, along with factors that influence patient outcomes. Upcoming new techniques for IBD surgical management, including single-port surgery, are also presented.