We develop a simple and economical thermal annealing method for the synthesis of phosphorus-doped graphene, which exhibits remarkable electrocatalytic activity towards the oxygen reduction reaction and enhances the electrochemical performance as an anode material for lithium ion batteries. The experimental results suggest the significant role of phosphorus atoms in graphene.