Li–O2 batteries have attracted considerable attention due to their high energy density. The critical challenges that limit the practical applications include effective utilization of electrode space for solid products deposition and acceptable cycling performance. In the present work, a nitrogen-doped micron-sized honeycomb-like carbon is developed for use as a cathode material for Li–O2 batteries. This novel material is obtained by using nano-CaCO3 particles as hard template and sucrose as the carbon source, followed by thermal annealing at 800 °C in ammonia. With one-step ammonia activation, surface nitrogenation and further pore structure optimization are realized simultaneously. The material exhibits enhanced activity for oxygen reduction reaction and oxygen transfer ability. Surprisingly, an improved cycling stability is also obtained. As a result, a superior discharge capacity up to 12,600 mAh g−1 is achieved, about 4 times that of commercial Ketjenblack carbon. The results provide a novel route to construct effective non-metal carbon-based cathodes for high performance of Li–O2 batteries.