Aiming at the problem that the optimization time of centralized control mode is too long for orderly control of large-scale electric vehicles, which affects the real-time performance of control, a hierarchical optimal scheduling strategy for electric vehicles considering dynamic battery loss is proposed. Firstly, considering the dynamic discharge loss of batteries, the V2G optimization model is established to minimize the electricity cost of users, and an acceptable plan set is obtained by solving the model. Next, the local scheduling agency establishes the optimization model aiming at the best suppression effect of electric vehicle access on load fluctuation and the minimum additional cost of load fluctuation regulation to determine the actual plan and submit it. Finally, the control center manages and controls the charging and discharging plan to guide the unreasonable charging and discharging behavior in view of the security constraints of the distribution network. In the case of IEEE 33-bus system with 3 local scheduling agencies, the feasibility and effectiveness of the proposed hierarchical scheduling strategy is verified by using MATLAB.