A facile approach has been developed to prepare B,N co-doped graphene with tuneable composition simply by thermal annealing graphene oxide in the presence of boric acid and ammonia. The resultant BCN graphene (see picture; Cgray, Hwhite, Bpink, Nblue) has superior electrocatalytic activity over commercial Pt/C electrocatalysts for the oxygen reduction reaction in alkaline media.