Abstract. This paper shows how to compute the optimal distribution of the main elements of a photovoltaic (PV) plant with trackers connected to the network, to reduce some of the losses that occur in these facilities. In particular, the objective function of the proposed optimization process is the minimization of Joule losses that occur in electric conductors. To solve this problem, genetic algorithms (GAs), implemented in Matlab, have been used. Specifically the steady-state GA and the generational GA, which from random initial solutions, possibly far from optimal, will evolve into solutions that are increasingly closer to the desired optimum. Results have been very satisfactory, since all proposed examples have reduced by more than 50% electrical losses originated by not optimally designing the PV plant.