The main objective of this paper is to develop a three phase genetic algorithm to find the shortest path routing in solar poweredWireless Sensor Networks (WSNs), and thereby reducing the energy loss and the time consumed in the communication between various nodes (sensors) of the same. A three phase hybrid genetic algorithm is proposed for solving the shortest Path (SP) routing problem. The performance of the proposed algorithm is compared with Dijkstra, Munemoto, and Ahn algorithms.