Highly uniform core–shell polypyrrole@carbon microspheres (PPy@CM) have been successfully constructed by oxidation polymerization of pyrrole as the shell on the core of carbon microspheres.