A sealing system for food applications that provides a housing element with two or more bolts and respective holes for clamping. A flanged element is clamped to a frame of a machine, and a rubber seal placed along the base perimeter of the housing element. The seal includes a first portion of the rubber profile placed in the areas distant from the holes and a second portion of the rubber profile adjacent to the holes. The rubber profile of the second portion has a larger cross section than that of the first portion, such that the deformations of the rubber profile are made virtually uniform to prevent the formation of fractures, and therefore of bacteria traps, in the rubber.