The endoprosthesis (20) has a section (23) that comprises a partially spherical recess (22), which serves as a replacement for the acetabulum. Another section (24) for the contact elements is provided on the ilium. The latter section that extends from the former section along an edge of the partially spherical recess in a flattened manner is integrally connected to the former section. Another partially spherical recess (25) is provided in the latter section. The endoprosthesis includes highly polished metal, particularly titanium or a titanium alloy.