Intramedullary nail for distraction of a long bone with an at least partially hollow shank extending in an axial direction of the intramedullary nail, locking element for locking the shank in a first bone fragment of the long bone, a first inner section which is arranged in axially movable manner within the shank and has a through hole orientated in the radial direction for accommodating a segment bolt for fixing a bone segment of the long bone, wherein the shank has an elongated hole in the area of the inner section for passing through of the segment bolt, an actuator for axially moving the first inner section, wherein a second inner section is arranged within the shank so as to be axially movable.