The invention provides a device for eliminating cavitation in the excess fuel return orifice(s) in the compression chamber of a fuel injection pump of an internal combustion engine after the end of the injection stage, said injection pump being connected firstly to a feed duct including a first check valve having low headloss enabling fuel to reach the compression chamber, and secondly to an excess fuel return duct, wherein the return duct comprises in parallel and close to the return orifice of the injection pump, a second check valve that is rated to cause the pressure in said return orifice of the injection pump to rise, and a two-port valve that is normally open and that is caused to close by the appearance of pressure in the return orifice greater than the pressure which obtains in the feed duct upstream from said first check valve.