Global energy demand continues to rise quickly. Currently, 86 to 88% of the energy supplied in the world is from fossil fuels, such as coal, oil or natural gas (Shah, 2014; Weiland, 2010). The reliance on fossil fuels to fulfil energy requirements, in a near future, is impractible: reserves of this type of fuels are limited and depleting at a fast rate; and, CO 2 emissions derived from the utilization of fossil fuels are one of the major contributors for the greenhouse effect (Shah, 2014; Weiland, 2010; Scragg, 2009). It is time to shift towards more sustainable and renewable sources of energy. Biogas is a good alternative renewable energy source, as it can be used to produce power and heat, or used as transport fuel (Weiland, 2010). Biogas is produced anaerobically from organic waste and wastewater, or energy crops and it consists of methane (50-75%), CO 2 (25-50%), and small quantities of other components, such as water, H 2 S, and O 2 (Gomez, 2013). Wastewaters store a high energy potential; it is estimated that municipal wastewater stores 3 to 10 times more energy than what is nowadays required for its treatment (Liu and Cheng, 2014; Gude, 2016). Recovering that energy is crucial to make the wastewater treatment process more sustainable and it will have a great impact on fulfilling the world's energy requirements. Anaerobic digestion (AD) has been applied for several decades for this, with installations spread all over the world. In recent years, Bioelectrochemical Systems (BESs) have gained interest as a promising technology to recover energy and resources from wastewaters as well. They can be applied alone or in combination with other processes, such as AD, algae treatment, or electrodialysis (Liu and Cheng, 2014). Both the conventional AD systems and the more avant-garde BES have some advantages and disadvantages that are summarised in Table 1.