The invention discloses a
nitrogen-doped
porous carbon material and a preparation method thereof, and belongs to the technical field of
porous carbon materials, and the preparation method comprises the following steps: adding an amino
monomer and a carboxyl
monomer into an
organic solvent, carrying out a preliminary amidation reaction, further promoting the amidation reaction through heating, then adding an
epoxy group cross-linking agent, and carrying out a reaction to obtain the
nitrogen-doped
porous carbon material. The preparation method comprises the following steps: carrying out amino-
epoxy cross-linking reaction on an amino-
epoxy resin, carrying out
hydrolysis reaction on
amide under an alkaline condition, mixing with a chemical activator to obtain a mixed material, putting the mixed material into a high-temperature furnace, carrying out high-temperature
carbonization, and finally washing,
pickling, filtering and
drying the carbonized material to obtain the product. The
nitrogen-doped porous carbon material with the nitrogen-doped characteristic, high pore volume, high specific surface area and high micropore rate is obtained by adopting a dual pore-forming strategy of internal
nitrogen atom self-
doping and chemical activation assisted
chemical bond pore-forming, and the nitrogen-doped porous carbon material has the advantages of easily available raw materials, low cost, simple operation process,
continuous production and the like, and has practical value and industrial prospect.