A joint socket of a hip endoprosthesis includes a socket shell implantable in the pelvic bone and a socket insert for providing a bearing for the joint head. The socket shell has an accommodating space having a conical inner surface in which the spherical outer surface of the socket insert is inserted. As a result, the socket insert can be clamped in a self-locking manner in any desired position of rotation and tilt in the accommodating space of the socket shell.