Thirty-five patients were treated at the 12 de Octubre University Hospital in Madrid between 1 March 2020 and 24 April 2020 during the COVID-19 pandemic. Patient demographics, surgical procedures, complications, COVID-19 symptoms and outcomes were recorded. A protocol was introduced to reduce the risk of operating on patients with COVID-19, including symptom screening, a polymerase chain reaction test for severe acute respiratory syndrome coronavirus 2 and computed tomography scans of the chest. Surgical activity changed significantly during this time, from an initial period of near-normal activity, through an emergency-only period and finally a recovery period when some oncological surgical cases were restarted. Selection criteria for surgical patients are also described.