The invention discloses a motor for removing the electric corrosion of a bearing, and the motor comprises a housing, a motor stator, a motor rotor and a rotating shaft, wherein the motor stator, the motor rotor and the rotating shaft are located in the housing. Two ends of the housing are respectively provided with a first end cover and a second end cover. One end of the rotating shaft adaptivelypasses through the first end cover through a first bearing, and the other end of the rotating shaft is adapted to the second end cover through a second bearing. The exterior of the second end cover isfixedly provided with a cover plate, and the end face of the other end of the rotating shaft is electrically connected with the cover plate through an elastic assembly. The cover plate is also electrically connected with the second end cover, the housing, and the first end cover. The elastic assembly comprises an ejector pin, a spring, and a needle cylinder. The exterior of the second end cover is fixedly provided with a cover plate, and one end of the needle cylinder is fixed with the cover plate. The spring is placed in the needle cylinder, wherein one end of the ejector pin stretches intothe needle cylinder to make contact with the spring, and the other end of the ejector pin makes contact with the end face of the rotating shaft. The motor is high in universality, is simple in installation, is low in cost, is long in service life, is reliable in structure, and is low in maintenance cost.