The present disclosure relates to a plastic tank, particularly a plastic fuel tank, with a pot-like installation body arranged on the inside of the tank, as well as a method for producing the same. According to the present disclosure, a ring body is provided which is arranged on an end portion of the installation body, wherein the ring body is engaged in an undercut section in the tank wall, and the installation body is engaged in the ring body.