The median nerve, which is compressed in carpal tunnel syndrome, passes through your wrist to your palm, thumb, and each of your fingers except the pinky. The wrist’s carpal tunnel contains several tendons and vascular structures along with the median nerve.