A method for producing nitrogen-doped carbon nanotubes was tested. Polyaniline, chemically synthesized on the surface of nanotubes with subsequent carbonization, was used as a source of nitrogen. The electrochemical characteristics of the electrodes based on the obtained carbon material for the hybrid supercapacitors with the acidic electrolyte were studied. It was shown that nitrogen doping of carbon nanotubes increases the capacitive characteristics of the electrodes.