A Prüfer-coded genetic algorithm based on the decimal number of nodes is proposed and it is used to solve collaborative optimization planning of access solution of distributed generation(DG)and structure of distribution network.Using graph theory to generate theoretically feasible topology structureand the access nodes and the installed capacity of distributed generation are coded by the Prüfer number.The coding method makes the distribution network operation structure and the access solution of DG combine into the evolution problem of the same chromosomal gene.The length of the chromosome coding of this method is shorter than binary encoding.This solution takes full advantage of the Prüfer-coded to improve computational efficiency and convergence rateand makes some restrictions and improvements in some key parts of the algorithm to solve the problem illegal solution.Finallyfeasibility and superiority of the algorithm is validated by a case study.