For replacing a human hip or knee joint and the adjoining bone sections, an implantable prosthesis is provided, comprising a joint replacement part (10), a shaft replacement part (12) and a rod-shaped shaft anchoring part (16) being insertable into an axial cavity (14) in the shaft replacement part (12).