A synthesis route to ordered mesoporous carbons with controllable nitrogen content has been developed for high-performance EDLC electrodes. Nitrogen-doped ordered mesoporous carbons (denoted as NMC) were prepared by carbonizing a mixture of two different carbon sources within the mesoporous silica designated by KIT-6. Furfuryl alcohol was used as a primary carbon precursor, and melamine as a nitrogen dopant. This synthesis procedure gave cubic Ia3d mesoporous carbons containing nitrogen as much as 13%. The carbon exhibited a narrow pore size distribution centered at 3-4 nm with large pore volume (0.6-1 cm3 g?