Disclosed herein is a process for the treatment of wastewater for biosolids reduction and biogas (i.e. methane) generation where a wastewater is provided to a first reactor which is operated under anaerobic conditions, a hydraulic/solids retention time of from 0.1 to 1 day, a temperature of from 30 to 70 °C and a pH of from 6.5 to 10, with the effluent of the first reactor passing to a second reactor which is operated under anaerobic conditions, a hydraulic/solids retention time of from 3 to 10 days and a temperature of from 30 to 70 °C. The process may further comprise feeding an effluent produced from the second reactor to a third reactor operated under anaerobic conditions, a hydraulic/solids retention time of from 3 to 20 days and a temperature of from 30 to 70 °C.