A medical instrument such as a guidewire that is designed to have controlled torque transmission along its length. Specially treated areas are placed in selected and equal areas along the entire length of the elongated shaft of the medical instrument, and are separated from one another by untreated areas. This process ensures that any torque is transmitted distally, in a smooth manner, regardless of the guidewire position, thus resulting in a substantial reduction in whipping. In one embodiment, a stainless steel guidewire is utilized, and is subjected to annealing heat treatment in selected areas. This annealing process creates a mandrel that has repeated temper properties along its length. Torque applied at one end of this mandrel is transmitted to the opposite end in an even and controlled manner, even when the mandrel is formed into a loop.