We propose a new chemical route for forming ultramicropores in carbon nanofibers by using a pore former, camphor, in electrospun polyacrilnitrile nanofibers. The resulting carbon nanofibers form mostly ultramicropores. Total specific surface area was 886 m(2) g(-1), which is similar to the activated carbon nanofibers in CO(2) and steam activation.