The invention relates to a method and an arrangement for biogas production. The idea is to use the upper section of recovered percolation fluid for moistening the biomass and return the percolation fluid deliberated from the biomass to the bottom section of the fluid reactor.