A prostatectomy is a surgical procedure for the partial or complete removal of the prostate. It may be performed to treat prostate cancer or benign prostatic hyperplasia. A common surgical approach to prostatectomy includes making a surgical incision and removing the prostate gland (or part of it).