The invention provides a cooperative optimization method and system for an electrified traffic network and an electric system. The electrified traffic network of an electric car and the electric network are coupled, an initial path of the electric car and initial price parameters of charging stations are obtained, the position information and residual electric quantity information of the electric car are obtained in real time, a minimum-cost path of the electric car is searched for through a dijkstra algorithm according to the position information, the residual electric quantity information and the initial path of the electric car and the initial price parameters of the charging stations, the electric quantity required by each charging station is worked out, and the electric network is optimized through a Lagrangean relaxation algorithm. The electrified traffic network of the electric car and the electric system are coupled, on the one hand, the path optimization is solved through the dijkstra algorithm, and the sum of charging, transportation and time-consuming cost is reduced, and on the other hand, electric network feedback is optimized through the Lagrangean relaxation algorithm according to the electric quantity required by each charging station, and cooperative optimization of the electrified traffic network and the electric system is achieved.