Aiming at the charging demand of electric vehicles, an improved genetic algorithm is proposed to optimize the energy storage charging piles optimization scheme. Firstly, the characteristics of electric load are analyzed, the model of energy storage charging piles is established, the charging volume, power and charging/discharging timing constraints in the charging process are considered, and the optimization is carried out by the improved genetic algorithm, and the profit of charging piles and user charging electricity charges are calculated, so as to obtain the possible optimal parameters, as well as the impact of the energy storage system on the stability of the power grid. Secondly, the analysis of the results shows that the energy storage charging piles can not only improve the profit to reduce the user’s electricity cost, but also reduce the impact of electric vehicle charging on the power grid load.