Cadmium (Cd) is a highly toxic metal, occurring in municipal wastewater and stormwater as well as in wastewater from various industries. Char derived from the pyrolysis of municipal sewage sludge has the potential to be a low-cost sorption media for the removal of Cd. However, the balance between possible local char production and demand has not been assessed previously. In this study, the Cd sorption capacities of chars derived from primary (PSC) and secondary sludge (DSC), as well as the feasibility of char production for Cd sorbent purposes, and the pyrolysis energy balance were evaluated. Results showed that the sorption capacity of PSC (9.1 mg/g; 800 degrees C, 70 min) was superior to that of DSC (6.0 mg/g; 800 degrees C, 70 min), and increased with a higher pyrolysis temperature. Pyrolysis of primary sludge had a more favourable energy balance compared with the pyrolysis of digested sludge, however, when accounting for loss of biogas production the energy balance of primary sludge pyrolysis was negative. Assessment of the regional demand (V & auml;ster & aring;s, Sweden) indicated that PSC or DSC may cover the local Cd sorbent demand. However, it was estimated that large char volumes would be required, thus making the use of DSC/PSC less feasible.