Background Surgery is the main modality of cure for solid cancers and was prioritised to continue during COVID-19 outbreaks. This study aimed to identify immediate areas for system strengthening by comparing the delivery of elective cancer surgery during the COVID-19 pandemic in periods of lockdown versus light restrictions. Methods This international, prospective, cohort study enrolled 20 006 adult (>= 18 years) patients from 466 hospitals in 61 countries with 15 cancer types, who had a decision for curative surgery during the COVID-19 pandemic and were followed up until the point of surgery or cessation of follow-up (Aug 31, 2020). Average national Oxford COVID-19 Stringency Index scores were calculated to define the government response to COVID-19 for each patient for the period they awaited surgery, and classified into light restrictions (index <20), moderate lockdowns (20-60), and full lockdowns (>60). The primary outcome was the non-operation rate (defined as the proportion of patients who did not undergo planned surgery). Cox proportional-hazards regression models were used to explore the associations between lockdowns and non-operation. Intervals from diagnosis to surgery were compared across COVID-19 government response index groups. This study was registered at ClinicalTrials.gov, NCT04384926. Findings Of eligible patients awaiting surgery, 2003 (10middot0%) of 20 006 did not receive surgery after a median follow-up of 23 weeks (IQR 16-30), all of whom had a COVID-19-related reason given for non-operation. Light restrictions were associated with a 0middot6% non-operation rate (26 of 4521), moderate lockdowns with a 5middot5% rate (201 of 3646; adjusted hazard ratio [HR] 0middot81, 95% CI 0middot77-0middot84; p<0middot0001), and full lockdowns with a 15middot0% rate (1775 of 11 827; HR 0middot51, 0middot50-0middot53; p<0middot0001). In sensitivity analyses, including adjustment for SARS-CoV-2 case notification rates, moderate lockdowns (HR 0middot84, 95% CI 0middot80-0middot88; p<0middot001), and full lockdowns (0middot57, 0middot54-0middot60; p<0middot001), remained independently associated with non-operation. Surgery beyond 12 weeks from diagnosis in patients without neoadjuvant therapy increased during lockdowns (374 [9middot1%] of 4521 in light restrictions, 317 [10middot4%] of 3646 in moderate lockdowns, 2001 [23middot8%] of 11 827 in full lockdowns), although there were no differences in resectability rates observed with longer delays. Interpretation Cancer surgery systems worldwide were fragile to lockdowns, with one in seven patients who were in regions with full lockdowns not undergoing planned surgery and experiencing longer preoperative delays. Although short-term oncological outcomes were not compromised in those selected for surgery, delays and non-operations might lead to long-term reductions in survival. During current and future periods of societal restriction, the resilience of elective surgery systems requires strengthening, which might include protected elective surgical pathways and longterm investment in surge capacity for acute care during public health emergencies to protect elective staff and services.