In view of the problem of high-impedance grounding faults (HIFs) in flexible grounding systems (FGS), a faulty line selection method based on transient waveform slope is proposed in this paper. The change of zero sequence (ZS) current of faulty line and non-faulty line (before and after the neutral point parallel small resistance are put in) are analyzed. After the parallel small resistance is put into operation, the waveform slope curve of the transient zero sequence current of each line is obtained, and the modified Hausdorff distance (MHD) algorithm is used to obtain the transient slope matrix. The faulty line is identified by comparing the sizes of each row of elements in the matrix. Simulation verifies the effectiveness of the proposed faulty line selection method.