At present, the power supply system of 5G base stations is a micro smart grid, it generally uses 240 V DC power supply with multiple branches, and leakage accidents will threaten personal and property safety, so it is vital to identify the fault line accurately and remove the faults rapidly. In this paper, the leakage phenomenon of transmission lines in the HVDC power supply system of a 5G communication base station is studied. To address the issue of multi-branch line leakage diagnosis and line selection in the 240 V DC system, a new distributed DC insulation monitoring and fault line selection technology and system are proposed. The distributed DC insulation monitoring line selection technology is used to collect the leakage current of each branch by setting a unique single-core DC leakage transformer and process the signal primarily. In addition, a high-resistance bridge switchgear is added to the bus bar. According to different leakage currents caused by the imbalance of the bridge before and after the switch, the insulation resistance of electrodes to the ground is calculated accurately, which solves the problem that the current technology cannot judge the fault of the positive and negative electrodes to the ground at the same time. Through both simulation and prototype experiments, the feasibility of this technology and system device in line insulation monitoring and line selection of the HVDC communication base station power supply system is verified.