A device for recovering biogas, comprising at least one fermenter (13) and a percolate tank (10) for collecting the percolate removed from the fermenter or fermenters (13). The percolate tank (10) has a percolate inlet (10c) that can be connected to an outlet of the fermenter or fermenters (13) and a percolate outlet (10b). The percolate tank (10) is designed in such a way that the residence time of the percolate as it passes between the inlet (10c) and the outlet (10b) is sufficiently long to sanitize the percolate at the outlet (10b). The Percolate tank may also include one or more heaters to heat the percolate.