The high energy costs in brickmaking can be reduced through the production of biogas by means of the anaerobic digestion of biomass, a renewable energy resource. Biomass is defined, and its widespread availability is noted. The processes used to recover energy from biomass are outlined. The biogas produced has a variable CH4 (50-70%) content, depending on the biodegradable fraction, and is mainly used for electricity generation. The integration of a production process and the use of biogas in the brick industry is optimal in both environmental and economic terms. Tests were carried out on different kinds of biomass at the Ziegelei Gasser brickworks. The energy savings achieved may be recognised through the issuing of "energy efficiency certificates" by the Italian Regulatory Authority for Electricity and Gas, for the direct use of biogas for heating up kilns for firing bricks and roofing tiles.