The embodiment of the invention discloses a method for preparing hollow polyaniline microspheres, comprising the following steps: mixing aniline and an oxidant at the molar ratio of 1:(1.5-15) in a solvent for reaction, wherein the aniline can be potassium ferricyanide, sodium ferricyanide, iron phosphate or copper sulfate; and drying the products of reaction to obtain the hollow polyaniline microspheres. In the process of preparing the hollow polyaniline microspheres, spherical micelles are formed by the aniline in the solvent, and the cores of the spherical micelles are filled with aniline droplets. Because the oxidant adopted by the method has low oxidation-reduction potential, the oxidant can not generate acidic materials in the aniline polymerization process, the spherical micelle structure can be prevented from being changed to be in linear or sheet shape, and the hollow polyaniline microspheres can be finally obtained. The method does not require a dopant, is simple, ensures lower cost and can be used for preparing the hollow polyaniline microspheres.