Brazil is currently focused on its energy matrix transition in favor of increasing of the share of renewable energy carriers for both enhanced energy security and mitigation of greenhouse gas emissions. In this context, the country`s pulp and paper industry whose different wastes teams are not generally exploited, could play a critical role. Accordingly, the main objective of this work is to develop a conceptual ‘systemic’ biorefinery framework integrating the treatment of pulp and paper mill wastewater using upflow anaerobic sludge blanket (UASB) reactor with energy recovery through biogas production and its conversion into heat and power in stationary engines and boilers, respectively. Based on the results obtained through the present case study, it was revealed that the adoption of UASB reactors by the paper mill industry could properly addresses the environmental concerns faced while could contribute to the national agenda favoring an increasing share of renewable energies in the country`s energy matrix. The financial analysis showed that the investment required for the implementation of UASB reactors within a biorefinery platform would be minor vs. the investment in the whole mill and would be returned in 6.4 yr with a high return on investment even when operated at half of operational capacity. Moreover, through the developed UASB reactor-based biorefinery, the Brazilian pulp and paper industry as a whole could avoid 1.06 ×105 CO2eq tons, effectively contributing to the decarbonization of the country`s economy.