5Nitrogen-doped carbon nanorods (NCNRs) were prepared from natural based nanocrystalline cellulose through simple freeze drying and subsequent thermal treatment in ammonia atmosphere at different temperatures. The morphology, structure and electrochemical performance of NCNRs were characterized by scanning electron microscopy, transmission electron microscopy, nitrogen adsorption-desorption, Xray photoelectron spectroscopy, cyclic voltammetry and electrochemical impedance spectroscopy, and 10 their electrosorption performance in NaCl solution was studied. The results show that NCNRs treated at 1000 °C exhibit an extremely high electrosorption capacity of 17.62 mg g -1 when the initial NaCl concentration is 500 mg l -1 , which shows great improvement compared with their undoped counterparts. The nitrogen doping is proved to be a very effective method to improve the electrosorption performance, and the NCNRs should be a very promising candidate as electrode material for CDI application.