The invention relates to the technical field of electronic control, and provides a method for estimating endurance mileage of a new energy vehicle. The method comprises the following steps that S1, energy consumption is recorded once every N kilometers the vehicle drives, and only the latest K groups of energy consumption values are saved; S2, energy consumption per kilometer at each moment in a current driving cycle is piecewise calculated; and S3, the current endurance mileage is estimated based on the energy consumption per kilometer. The energy consumption per kilometer is the average energy consumption for current travel of S kilometers, the abrupt change of the energy consumption value per kilometer caused by the abrupt change of working conditions is reduced, thus the fluctuation range of the endurance mileage can be reduced, and the user experience is improved. In addition, the energy consumption per kilometer is calculated in a gradually approaching mode. With the increase ofdriving mileage, the energy consumption value per kilometer is close to the real value. While the abrupt change of working conditions is neutralized, the accuracy of the energy consumption value per kilometer is further improved.