The invention relates to an endoprosthesis,particularly for the at least partial replacement of along bone, comprising a plug-in connection forconnecting a shaft (2) to another part (1) of theprosthesis, wherein the plug-in connection (3)comprises an axial projection (33) and a socket (34)According to the invention, provision is made that aradial transverse channel (53) is provided on one partof the plug-in connection (3), said radial transversechannel (53) engaging behind the plug-in connection andhaving a center axis (55) that is offset (d) relativeto the axis (56) of a transverse bore (52) arranged onthe other part of the plug-in connection, and aclamping element (6) which is to be inserted into thetransverse channel (53) and whose point (62), in theinserted state, engages in the transverse bore (52). Inthis way, it is possible to achieve an effectivesecuring action even in the event of an unfavorabletolerance pairing, without adversely affecting thesensitive projection itself.