With the development of technology, the variety of loads in electrical networks has also increased. These various loads increase the zero component and harmonic currents in the network and cause cable termination faults in high voltage underground cables. In practice, the solid bonding (SB) method, which is included in the IEEE 575-1988 standard, is generally used to prevent cable termination faults. However, this method is not sufficient to prevent cable termination faults caused by zero component and harmonic currents. In this study, a new method, the sectional solid bonding (SSB) method and the SB method were compared. In order to use the SSB method, it is necessary to know the sheath voltage that will occur in the cable. Therefore, sheath voltage estimation is made with the Support Vector Regression (SVR) methods. Later, the SSB method is optimized with touch voltage to prevent cable failures and electrical distortions. Particle Swarm Optimization, Inertia Weighted Particle Swarm Optimization, Gravitational Search Algorithm and Genetic Algorithm were used as optimization methods. At the end of the study, it has been observed that the sheath voltage exceeds the touch voltage in case the grounding of the high voltage cable is performed by the SB method. This causes cable failure due to unbalanced electric field and electric shock due to high voltage. In the optimized SSB methods designed for the same line, the B. AKBAL 772 sheath voltage is not exceeded. Thus, both cable faults and electrical shock will be prevented by the SSB method.