A temporary neck for a hip joint prosthesis comprising a mechanism that will allow the length of the temporary neck to be varied while in place, during implant surgery and after the stem and base of a permanent prosthesis have been positioned. In one best mode the variation in length is driven by rotating a pinion gear that engages a rack gear connected to the interior of the side walls of a moveable unit, and the ball is connected by a stud to the front wall of the moveable unit; thus the ball moves the same distance as the moveable unit, and that distance is a direct function of gear tooth spacing and number of rotations of the gear. In an alternative mechanism, a threaded drive axle (worm gear) moves in response rotation an adjustment base (wheel gear) in which the base comprises a drive disk with a female, threaded bore. The axle is secured to the pressure disk at one end and free at the other. The position of the drive disk (hence bore) is static; thus as the drive disk rotates and the threads are engaged, the pressure disk moves and the ball moves with it. Both devices include visual references to determine precisely the distance that has been traveled (generally in mm).