A series of carbon spheres with various porous texture parameters were prepared from polystyrene-based macroreticular resin spheres by carbonization and activation. The as-prepared carbon spheres had a maximum specific surface area of 996m2 g−1, total pore volume of 1.34cm3 g−1 and average pore size of 5.39nm. Moreover, these carbon spheres showed a mesopore size distributed mainly in about 40nm. A high specific capacitance of 153Fg−1 for carbon sphere by carbonization, 164Fg−1 for carbon sphere by activation for 1h and 182Fg−1 for carbon sphere by activation for 2h can be obtained. Moreover, a specific energy between 2.3 and 5.1Whkg−1 for these carbon spheres can be obtained in 6molL−1 KOH electrolyte.