The background of this research is an analysis of equipment disturbances that occur in distributing electrical energy. The disturbance is a blackout. Power outages cause a decrease in the continuity of service to customers and result in a lot of loss of electrical energy that is not distributed to customers. The research objectives are to find out the optimization technique of distribution network maintenance, how to reduce the value of energy not supplied (ENS), find out the losses due to ENS, and find out the total electrical energy distributed after preventive maintenance is carried out. This research uses a preventive maintenance method, which is maintenance that can prevent unexpected damage to distribution system networks and equipment. This research optimized preventive maintenance actions by reducing disturbances after preventive maintenance from 7 disturbances in February to 2 disturbances in March. Before preventive maintenance, the loss due to ENS amounted to Rp. 36,192,017.626, and the total electrical energy not distributed was 25,025.76 kWh. After preventive maintenance, there was a significant decrease in the total loss due to ENS of Rp. 953,516,447, and the amount of electrical energy not distributed was 659.28 kWh. This research can increase maintenance efficiency due to electrical energy losses by 97.36% at the time interval when this research data is managed when data collection is carried out in the field.