The invention discloses a surface treatment method for inhibiting overplating of an electronic ceramic element and the electronic ceramic element. The method comprises the following steps: preparing asurface treatment solution, namely, uniformly mixing mixed materials and water to obtain the surface treatment solution, wherein the mixed materials include a perchloric acid and a catalyst; carryingout surface treatment, namely, soaking the electronic ceramic element in the surface treatment solution in order to generate a plating layer on the surface of the electronic ceramic element; washingand drying, namely, washing surface residues of the treated electronic ceramic element, and drying the electronic ceramic element; preparing a spraying agent, namely, mixing raw materials including propionaldehyde, propane, propylene and ethylene to obtain the spraying agent; and spraying, namely, spraying through a thermal spraying method. According to the method, a high-resistivity protecting film is formed on the product surface, so that the surface resistance of a product is increased, and as a result, the electronic ceramic element product is inhibited from overplating during electroplating; and the flame retardance of the plating layer is improved, and thus the fire is avoided to a certain extent.