This study used a national administrative database to estimate perioperative SARS-CoV-2 infection risk, and associated mortality, relative to nosocomial transmission rates. The impact of nosocomial transmission was greatest after major emergency surgery, whereas laparoscopic surgery may be protective owing to reduced duration of hospital stay. Procedure-specific risk estimates are provided to facilitate surgical decision-making and informed consent. Estimated risks.