The main purpose of this article is to study the optimum design of grounding system of high voltage substations by using artificial neural network. The proposed study will implement the following important contributions: 1-Performance of grounding system under uniform and non-uniform soil resistivity. 2-Grounding by using equal and non-equal spacing grids studying the performance of non equal spacing grid incase of uniform and non-uniform soil. 3-Grounding by grids and rods in non- uniform soil and unequally spaced grids. 4-Safety analysis of grounding grid with different structures. 5-Designing of ANN as a tool to select the optimum grounding system. 6-Performance of grounding system under transient conditions.