Distributed generation (DG) is a small-scale power plant that is generally located close to the load. The installation of DG can be an alternative to reduce power losses in the distribution system. In this study, the placement and capacity optimization of DG to Ciledug feeder is carried out. Optimization is carried out using the genetic algorithm (GA) method which aims to reduce power losses in the system. The simulation is divided into 2 stages. In the first simulation before the installation of DG, the power loss obtained was 755,807 kW, and the voltage profile experienced under voltage from bus 31 to bus 104. The second simulation will be carried out by adding DG to the network, the DG used amounted to 2, 3, and 4 DG units. The location and capacity of DG are searched using the genetic algorithm optimization technique. The optimization results using 2 DGs, showed that the DGs were connected at bus 95 and bus 97 with a capacity of 0.969 MW and 0.480 MW, respectively. The addition of 2 DGs to the network reduces the power loss to 398,899 kW. Next, the optimization results using 3 DGs, showed that DGs were connected at bus 96, bus 78, and bus 67 with a capacity of 0.977 MW, 0.977 MW, and 0.013 MW, respectively. The addition of 3 DGs to the network reduces the power loss to 236,920 kW. Finally, the optimization results using 4 DGs show that DGs are connected at bus 67, bus 80, bus 46, and bus 26 with a capacity of 0.951 MW, 0.799 MW, 0.616 MW, and 0.257 MW, respectively. The addition of 4 DGs to the network reduces the power loss to 141,465 kW.