Carpal tunnel surgery, or carpal tunnel release, is used to treat the condition known as carpal tunnel syndrome. Carpal tunnel syndrome is a pain, numbing, or weakness in the hand caused by pressure on the median nerve in the wrist. This nerve passes through a narrow passage bounded by carpal bones. It can easily become pinched due to swelling that can be caused by a number of factors.