There are several types of surgery that treat pilonidal cysts. Some surgeries remove the entire cyst and a small amount of healthy tissue around it. This is called excision surgery.