The invention discloses an electrochemical method of oil removal by polymer flooding oil recovery wastewater, which comprises the following steps of: 1, electrolysis; 2, sedimentation. In the process of the electrolysis, tiny oil droplets in the wastewater lose electrons due to discharge on the surface of an anode, charges on the surface of the oil droplets are reduced, and electric potential of interface xi is decreased; and residual polymer pieces in the wastewater after the electrolysis are oxidized and degraded, viscosity of the wastewater is decreased, and water film intensity on the interface of oil/water is reduced. Therefore, the tiny oil droplets after the electrolysis are liable to be converged into large oil droplets and are rapidly separated from the wastewater under the action of cathode hydrogen. As treated by the method, crude oil in wastewater produced in oil extraction by polymer flooding displacement is quite easy for removal with no need for large use of sedimentation tanks, thus saving construction fund for oilfield; the invention has simple process, requires no drug, saves resource and cost and conforms to green chemistry process, quality of the wastewater after the oil removal is obviously crystal-clear; in addition, the device is convenient and safe in operation, easy to control and realize automation, extensively adapted to the amount of water, and convenient for popularization and application.