This work reports on the preparation of uniform vesicle-structural carbon spheres doped with heteroatoms of N, P, and S, with the pore sizes strictly controlled by the hard templates of monodisperse submicron SiO2 spheres. The uniformly doped vesicular carbon microspheres are obtained in three steps: Stöber hydrolysis for the SiO2; in situ polymerization for the immobilization; and alkaline etching after carbonization. The size of the vesicles can be easily adjusted by regulating the particle size of the submicron SiO2 spheres, which has a significant effect on its electromagnetic wave (EMW) absorption performance. Compared with microspheres with pore sizes of 180 and 480nm, when the vesicle aperture is 327nm, with only 5.5wt.% filling load and 1.9mm thickness, the material shows the best EMW absorption behavior with the effective absorption bandwidth (EAB) covers the entire Ku band (6.32GHz) and the minimum reflection loss (RLmin) of -36.10dB, suggesting the optimized pore size of the microspheres can significantly improve the overall impedance matching of the material and achieve broadband wave absorption. This work paves the way for the enhancement of EMW absorption properties of porous material by optimizing the pore size of uniform apertures while maintaining their composition.