Sewage sludges produced from wastewater treatment plants continue to set environmental problems in terms of volume and way of reuse. Thermal treatment of sewage sludge is considered as an attractive method in reducing sludge volume, and at the same time, it produces reusable byproducts. This paper deals with porous carbonaceous materials production from sewage sludge by pyrolysis (or carbonization) process with a goal of different industrial applications. Carbonization experiments were carried out on two kinds of sludge, namely viscous liquid sludge and limed sludge by varying carbonization temperature between 400 degrees C to 1000 degrees C. The porous structure and surface chemistry of the materials obtained were characterized using nitrogen adsorption, scanning electron microscopy, elemental analysis, Boehm titration, and pH of zero point of charge determination. The results show that basic character of the carbonized residues increases with increasing carbonization temperature. Then, carbonization allows specific surface area and pore volumes to be developed. Carbonized viscous liquid sludge and carbonized limed sludge are mainly mesoporous in nature, with specific surface areas reaching about 100 m2 g(-1) and 60 m2 g(-1), respectively. Finally, adsorption experiments, in aqueous solution, were carried out and show that carbonized viscous liquid sludges and limed sludge remove effectively the metallic ion Cu2+, acid and basic dyes, and phenol. Pyrolyzed sludges properties seem to be encouraging for the preparation of activated carbon by physical activation process.