The invention discloses a chemical synthesis method for polyaniline using ball milling, belonging to the technical field of macromolecular materials, which comprises the following steps: firstly, milling aniline monomers, dopants, and oxidants in a ball mill, initiating polymerization reaction, wherein, the molar ratio of the dopants and the aniline monomers is 0.2 to 2; secondly, washing, separating, and drying the products of the ball milling reaction, obtaining doped state polyaniline after removing oligomeric products and residual reactants; and thirdly, using alkali to detract doping to the doped state polyaniline, obtaining doping-polyaniline. The chemical synthesis method for polyaniline using ball milling has the advantages of easily available materials, wide adaptability, high efficiency, environment-friendly, and easy for mass production.