There are two main types of carpal tunnel release surgery: open and endoscopic. In both cases, your doctor cuts the ligament around the carpal tunnel to take pressure off the median nerve and relieve your symptoms. After the surgery, the ligament comes back together, but with more room for the median nerve to pass through.