Cystectomy is a surgical procedure that involves a surgeon removing specific parts or the entirety of the urinary bladder. It has been used to treat invasive bladder cancer, or urinary bladder cancer that is at risk of spreading to other parts of the body.