Abstract: The invention comprising a cap and rim assembly for sewer or inspection wells, which is characterized by a hermetic closing system due to the configuration of complementary angled flanges provided between the periphery of the cap and the inner seat flange of said rim and a novel safety locking system which prevents the cap from being opened accidentally or intentionally unless a specially designed opening element is used.