A shaft suppresses a permanent set, or plastic deformation, even when inserted into an extremely winding blood vessel. A guidewire incorporates the above shaft. The shaft is twisted along its longitudinal axis and has a cross section forming a substantially rectangular shape extending in a first direction perpendicular to the longitudinal axis. The cross section has at least one arcuate recess.