This paper discuses the method with which the corrosion of the grounding grid can be diagnosed .A grounding grid can handled as a circuit network. With the application of circuit network graph theory and the fault diagnosis theory of analog circuit and optimization, the fault diagnosis equations can be set up. This equations is figured out by Matlab, and the corrosion status of the grounding grid can be deduced from the result.