A device for separating waste includes a tank having a closed internal chamber, the device being provided with an inlet opening and an outlet opening that can be connected to a suction system. The internal chamber of the tank is provided with a magnetic filter making it possible to attract and retain ferromagnetic waste likely to be entrained by the suction system into the tank, with a grating placed between the filter and the base of the tank, with a fluid discharge system at the level of its base. The device which is intended to be connected to a suction system makes it possible to retain and recover, sorted, the waste sucked in by said system and prevent the latter from polluting the pipelines thereof until they are blocked.