A facile and rapid pyrolysis method is developed for the synthesis of 3D hierarchical porous carbon, which exhibits a high specific capacitance, good rate capability and good cycling performance.