Ordered mesoporous carbons (OMCs) were produced by pyrolysis of sucrose adsorbed in two different silica matrices (MCM-48 and SBA-15), followed by dissolution of the matrix in hydrofluoric acid. Subsequently, some of these OMCs were heat-treated at temperatures of up to 1600 degreesC. The ONIC pore structure was studied by low-pressure nitrogen adsorption. Information on the graphitic order of the surface of the mesopore walls was also obtained from the nitrogen adsorption data. These results were correlated to the order of the graphene layers at the outer surface, which was studied by X-ray photoelectron spectroscopy (XPS). The OMCs were predominantly mesoporous, but they also contained micropores. For OMCs produced in an SBA- 15 matrix, the micropore volume decreased upon heating. After heating to 1600 degreesC, nearly all micropores had disappeared. Furthermore, upon heating the width of the mesopores increased from 35 to 50 Angstrom. All these changes can be explained by a shrinking of the OMC framework upon heating. A different behavior was found for OMCs derived from MCM-48. Upon heating these materials at increasingly high temperatures, the width of the mesopores first decreased, and for temperatures above 1100 degreesC it increased again. For all OMCs studied the graphitic order of the mesopores and the order of the graphene layers at the outer surface increased upon heating. For a given temperature, the graphitic surface order of OMCs derived from SBA-15 and MCM-48 was similar. (C) 2003 Elsevier Science Inc. All rights reserved.