Three-dimensional porous carbon-based foams have recently attracted increasing interest owing to their exciting potential in various fields. Herein, hierarchical porous monoliths, CN foam loaded with free few-layer graphene nanosheets, have been prepared. In this method, graphene oxide sheets were firstly loaded on the usual melamine foam that was selected as raw material for CN framework. With a following annealing process in N2 atmosphere, melamine foam was transferred into CN foam; at the same time, graphene oxide sheets were transferred into reduced graphene oxide, forming reduced graphene oxide-CN composite. The loading density of graphene on CN framework can be tuned by the dosage of graphene oxide. The obtained composite monoliths exhibit excellent cycling performance and good rate capacity when used as pseudocapacitive electrode materials. At current density of 0.5 and 10 A/g, the optimized electrode exhibits areal specific capacitance of 1067 and 463 mF/cm 2 with excellent cycling stability. The excellent property can be attributed to the unique macropore structures that endow sufficient space available to interact with the electrolytes, and the pseudocapacitive contribution originated from the nitrogen and oxygen composition. This facile synthesis strategy and the good electrochemical properties suggest the synthesized CN-graphene composites are promising materials for supercapacitor application.Since Hulicova et al prepared nitrogen-doped carbon in 2005 by carbonization of melamine with the assistance of mica, 32, 33 melamine-based polymer such as melamine formaldehyde resine were often selected as raw or assistant