A vaginectomy is a surgical procedure that involves the partial or complete removal of the vagina. This operation is typically performed to treat certain types of cancer, such as vaginal cancer, or as part of gender affirmation surgery. The extent of the surgery depends on the stage and spread of the cancer.