Nitrogen-doped carbon hollow spheres (NCHSs) have been fabricated by carbonization of poly(o-phenylenediamine) hollow spheres. The NCHSs exhibited superior performances to glassy carbon and carbon nanotubes for the simultaneous determination of uric acid and dopamine in the presence of high concentration ascorbic acid.