In MR images, the median nerve of carpal tunnel syndrome (CTS) patients frequently appears flatter than in healthy subjects. The purpose of this work was to develop a metric to quantify localized median nerve deformation rather than global nerve flattening, the hypothesis being that localized median nerve deformation would be elevated in CTS patients. Twelve patients with CTS and 12 matched normals underwent MRI scanning in eight isometrically loaded hand conditions. 2D cross sections of the proximal and distal tunnel were analyzed for nerve cross sectional area, flattening ratio, and a position shift to the dorsal side of the tunnel. Additionally, new metrics based on the angulation of the nerve perimeter in 0.5-mm lengths around the boundary were calculated. The localized deformation metrics were able to detect differences between CTS patients and healthy subjects that could not be appreciated from the flattening ratio. During most hand activities, normal subjects had a higher average percentage of locally deformed nerve boundary than did CTS patients, despite having a rounder overall shape. Less local nerve deformation in the CTS patient group resulting from its interaction with flexor tendons suggests that the nerve may be less compliant in CTS patients.