The invention relates to an endoprosthesis, particularly for the at least partial replacement of a hollow bone, comprising a plug-in connection for connecting a shaft (2) to a further prosthesis part (1), wherein the plug-in connection (3) comprises an axial projection (33) and a receptacle (34). The invention provides that a radial transverse channel (53) is provided on one part of the plug-in connection (3), said channel engaging behind the plug-in connection and having a center axis (55) that is offset (d) relative to the axis (56) of a transverse bore (52) disposed on the other part of the plug-in connection, and a clamping element (6) for insertion into the transverse channel (53), the point (62) of said clamping element engaging into the transverse bore (52) in the assembled state. In this manner an effective safety may be achieved, even in the event of unfavorable tolerance pairing, without having an adverse effect on the sensitive projection.