Graphene-based materials have been researched to substitute traditional Pt-based electrocatalysts in the hydrogen evolution reaction (HER) due to its strong electrical conductivity, easy functionalization, and cheaper synthesis. Doping graphene with heteroatom is a simple way of obtaining original and active electrocatalysts. Moreover, the nitrogen on it had a positive effect on HER performance. By using a reducing agent with nitrogen while synthesising graphene-based aerogels nitrogen-doped catalysts were obtained. In addition, a better reduction rate, higher crystallography parameters and a more porous material structure were reached. The aerogels were synthesised in an one-pot hydrothermal process, in which the graphene sheets were assembled. This was followed by freeze-drying, which fixed the carbon matrix structure. As a result, the final aerogel had a 3D structure that eased mass transfer and enhanced catalytic activity, reaching an overpotential of -10 mAcm-2 at 101 mV vs RHE (η10 = 101 mV). The amount of quaternary type nitrogen generated during synthesis had a strong influence on electrocatalytic behaviour in HER. Then, quaternary nitrogen and surface area (up to 397 m2/g) were maximized to ensure a higher current density. Moreover, an effective aerogel was prepared with half the solvent per batch, as this was essential for expanding the synthesis to an industrial scale. A final calcination step resulted crucial to improve the metal-free aerogel HER performance.