Solid phase polymerization of phenylenediamine with a template toward a self-supported FeNx/C catalyst was introduced. Using ZnO nanoparticles as the hard template could increase the surface area of the catalyst, thus the oxygen reduction activity was radically enhanced, to 21.9 A g(-1) at 0.80 V (vs. RHE) in acid medium.